From 58bda5d5a28c687059d2afe0289ab81501bd6442 Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Tue, 17 Sep 2024 14:35:08 +0300 Subject: [PATCH] add gtag function --- ui/projects/businessgate/src/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/projects/businessgate/src/index.html b/ui/projects/businessgate/src/index.html index 382566e..04d3bd2 100644 --- a/ui/projects/businessgate/src/index.html +++ b/ui/projects/businessgate/src/index.html @@ -37,6 +37,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-P448WZ2N'); + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);}