Skip to content

Commit

Permalink
fixed google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
danreale committed Sep 15, 2024
1 parent 4a94bc2 commit 5b936ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export default function App() {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M5HMFJY1V2');
gtag('config', 'G-M5HMFJY1V2', {
page_path: window.location.pathname,
});
`,
}}
/>
Expand Down

0 comments on commit 5b936ee

Please sign in to comment.