Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
add GA4 tag manager
  • Loading branch information
cosmicespresso authored May 6, 2023
1 parent 2a1f6c9 commit 1711bb1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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-NHXRGDG');</script>
<!-- End Google Tag Manager -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9E64FB2JLN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-9E64FB2JLN');
</script>

<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon2.ico" />
Expand Down

0 comments on commit 1711bb1

Please sign in to comment.