feat: add Google Analytics (gtag.js) tracking to public website
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m17s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m17s
Added Google Analytics tracking code (ID: G-25KRKY45D7) to homepage layout. This enables: - User behavior tracking - Traffic analysis - Conversion tracking - Audience insights Placed in <head> section to ensure tracking for all pages. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,16 @@
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-25KRKY45D7"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-25KRKY45D7');
|
||||
</script>
|
||||
</head>
|
||||
<body class="with-mobile-cta">
|
||||
<partial name="_Header" />
|
||||
|
||||
Reference in New Issue
Block a user