update yandex metrica
This commit is contained in:
parent
c529da5bb4
commit
cb8fa88037
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ declare global {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const counterId = Number(process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID);
|
const counterId =
|
||||||
|
Number(process.env.NEXT_PUBLIC_YANDEX_METRIKA_ID) || 111930174;
|
||||||
|
|
||||||
const YandexMetrika = () => {
|
const YandexMetrika = () => {
|
||||||
const pathname = usePathname();
|
const pathname = usePathname();
|
||||||
|
|
@ -73,6 +74,7 @@ const YandexMetrika = () => {
|
||||||
accurateTrackBounce: true,
|
accurateTrackBounce: true,
|
||||||
clickmap: true,
|
clickmap: true,
|
||||||
defer: true,
|
defer: true,
|
||||||
|
ecommerce: "dataLayer",
|
||||||
trackLinks: true,
|
trackLinks: true,
|
||||||
webvisor: true
|
webvisor: true
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue