Skip to content

Commit 9fa3115

Browse files
ChengaDevclaude
andcommitted
Add Google Analytics 4 (G-PB7M6KHZ9Z)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 75fdd4c commit 9fa3115

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

public/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
<meta property="twitter:image" content="%PUBLIC_URL%/og-image.png" />
2929
<meta property="twitter:image:alt" content="ShotClock Pro — free online basketball shot clock" />
3030

31+
<!-- Google tag (gtag.js) -->
32+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PB7M6KHZ9Z"></script>
33+
<script>
34+
window.dataLayer = window.dataLayer || [];
35+
function gtag(){dataLayer.push(arguments);}
36+
gtag('js', new Date());
37+
gtag('config', 'G-PB7M6KHZ9Z');
38+
</script>
39+
3140
<script
3241
data-ad-client="ca-pub-1951283706310480"
3342
async

0 commit comments

Comments
 (0)