Skip to content

Commit

Permalink
💡 fix: Update Google Tag Manager ID
Browse files Browse the repository at this point in the history
Update the Google Tag Manager script source and config ID.
Ensures correct tracking code is used for analytics purposes.
  • Loading branch information
Sorok-Dva committed Aug 15, 2024
1 parent 8cee6f4 commit e41bce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GoogleTagManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { Helmet } from 'react-helmet'

const GoogleTagManager : React.FC = () => (
<Helmet>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BS9JTT28QP"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XF268T88NJ"></script>
<script>
{ `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BS9JTT28QP');
gtag('config', 'G-XF268T88NJ');
` }
</script>
</Helmet>
Expand Down

0 comments on commit e41bce1

Please sign in to comment.