We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979df20 commit 8d4eca9Copy full SHA for 8d4eca9
src/components/Matomo.tsx
@@ -2,14 +2,10 @@
2
3
import { useEffect, useState } from "react"
4
import { usePathname } from "next/navigation"
5
-import { init /* , push */ } from "@socialgouv/matomo-next"
+import { init, push } from "@socialgouv/matomo-next"
6
7
import { IS_PREVIEW_DEPLOY } from "@/lib/utils/env"
8
9
-const push = (args: unknown[]) => {
10
- console.log(`[Matomo] push called with args:`, args)
11
-}
12
-
13
export default function Matomo() {
14
const pathname = usePathname()
15
0 commit comments