Skip to content

Commit

Permalink
add gtag function
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Sep 17, 2024
1 parent 58bda5d commit 5eb9fdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/projects/businessgate/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
'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);}
function gtag(){
console.log('GTAG', arguments);
dataLayer.push(arguments);
}
</script>
<!-- End Google Tag Manager -->

Expand Down

0 comments on commit 5eb9fdb

Please sign in to comment.