diff --git a/.env.production b/.env.production index f5403d7..f786082 100644 --- a/.env.production +++ b/.env.production @@ -4,3 +4,7 @@ NODE_ENV=production # API Configuration NEXT_PUBLIC_API_URL=https://api.filamenteka.rs/api +# Matomo Analytics Configuration +NEXT_PUBLIC_MATOMO_URL=https://analytics.demirix.dev +NEXT_PUBLIC_MATOMO_SITE_ID=7 + diff --git a/app/layout.tsx b/app/layout.tsx index daa3437..65d1d53 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from 'next' import '../src/styles/index.css' import { BackToTop } from '../src/components/BackToTop' +import { MatomoAnalytics } from '../src/components/MatomoAnalytics' export const metadata: Metadata = { title: 'Filamenteka', @@ -46,6 +47,12 @@ export default function RootLayout({
{children}