Skip to content

Commit

Permalink
umami
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichmax committed Aug 23, 2024
1 parent 087d70e commit 950ca9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 188 deletions.
5 changes: 2 additions & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "@/public/fonts/SF-UI/style.css"
import "@/styles/prism.css"
import type { AppProps } from "next/app"
import { config } from "@/src/data/internal/SiteConfig"
import init from "@/src/utils/matomo"
import Script from 'next/script'

declare global {
Expand All @@ -17,15 +16,15 @@ declare global {
}

export default function App({ Component, pageProps }: AppProps): ReactElement {
useEffect(() => {
/*useEffect(() => {
if (window.location.href.includes(config.domain)) {
init({
url: process.env.NEXT_PUBLIC_MATOMO_URL,
siteId: process.env.NEXT_PUBLIC_MATOMO_SITE_ID,
})
window._paq.push(["enableHeartBeatTimer"])
}
}, [])
}, [])*/

return (
<>
Expand Down
185 changes: 0 additions & 185 deletions src/utils/matomo.ts

This file was deleted.

0 comments on commit 950ca9e

Please sign in to comment.