Integrate existing Metrika counter with private behavioral goals
Build and deploy / deploy (push) Successful in 38s
Build and deploy / deploy (push) Successful in 38s
This commit is contained in:
1 parent
8c58a54f5b
commit
0458a99d3a
19 files changed
+355
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user