From 7082ce055fdb8820263d8b6c9fbf6f46cbdd1ba8 Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Tue, 17 Sep 2024 15:55:03 +0300 Subject: [PATCH] add gtag function --- ui/projects/businessgate/src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/projects/businessgate/src/index.html b/ui/projects/businessgate/src/index.html index be15324..5706bf6 100644 --- a/ui/projects/businessgate/src/index.html +++ b/ui/projects/businessgate/src/index.html @@ -40,7 +40,7 @@ window.dataLayer = window.dataLayer || []; function gtag(){ console.log('GTAG', arguments); - dataLayer.push(arguments); + window.dataLayer.push(arguments); }