We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dde8ff + 32b8ddd commit e586878Copy full SHA for e586878
1 file changed
src/main.tsx
@@ -1,8 +1,9 @@
1
import { createRoot } from 'react-dom/client';
2
import './main.css';
3
import App from './App.tsx';
4
-import { initGA } from './lib/ga.ts';
+import { initGA, sendPageView } from './lib/ga.ts';
5
6
initGA();
7
+sendPageView(window.location.pathname);
8
9
createRoot(document.getElementById('root')!).render(<App />);
0 commit comments