Integrate existing Metrika counter with private behavioral goals
Build and deploy / deploy (push) Successful in 38s

This commit is contained in:
huncode committed 2026-10-27 03:59:37 +03:00
1 parent 8c58a54f5b
commit 0458a99d3a
19 files changed
+355 -3

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
"use client";
import {useEffect} from 'react';
import {usePathname} from 'next/navigation';
import {observePage} from '../lib/metrika.mjs';
export default function Metrika() {
const pathname = usePathname();
useEffect(observePage, [pathname]);
return null;
}