{"_id":"@artginzburg/next-ym","_rev":"13-a404837bcaca0ac00c9a46001f9778fe","name":"@artginzburg/next-ym","dist-tags":{"latest":"1.3.7"},"versions":{"1.2.0":{"name":"@artginzburg/next-ym","version":"1.2.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.2.0","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"86d553b103ef4796577f47cde692d79be7dfa3db","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.2.0.tgz","fileCount":42,"integrity":"sha512-O6UcbsNItEE19UMx/4rfB6i8q31HDaRcyB89O1SblBMDjl8vChFBglTqWoR7xPrJXbthEq2SFIpRxNjolGlRNw==","signatures":[{"sig":"MEYCIQDazryl+7RCkH2r3tSTxskP7/4drM8SdKn52e/B4Pna+QIhAIfsBoRhxCl8N1s21LV1OxLtaQvhMf2L6Kuy2U9nwjYv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46467},"main":"dist/index.js","_from":"file:artginzburg-next-ym-1.2.0.tgz","types":"dist/index.d.ts","funding":"https://github.com/artginzburg/next-ym?sponsor=1","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"_resolved":"/private/var/folders/6s/hvpnt2555zq47lhc7sb2704w0000gn/T/eda69002d313ea9dbe064e1bbcdb0eea/artginzburg-next-ym-1.2.0.tgz","_integrity":"sha512-O6UcbsNItEE19UMx/4rfB6i8q31HDaRcyB89O1SblBMDjl8vChFBglTqWoR7xPrJXbthEq2SFIpRxNjolGlRNw==","repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.8.1","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"20.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.2.0_1727635623187_0.6444373214191983","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@artginzburg/next-ym","version":"1.2.1","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.2.1","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"b3ff1324e609c7f6153257dafe146a3ed513fa4f","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.2.1.tgz","fileCount":42,"integrity":"sha512-ySFfQ7X5upYocW2bWhnV9UcK+d67ddu43uk7FqTlO9VR85e9YB2RbN616MqKcxmXM2BL6KwLHcbf7vsabYhVvQ==","signatures":[{"sig":"MEUCIQDmgAPmM9aDmgWaRZZnzoRgL6ZYkb2baE7rRATTqtsb9wIgThl3sXIiKddgPFDfaCNjS2pQeoNVMtqpEoWe1COw00c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47658},"main":"dist/index.js","_from":"file:artginzburg-next-ym-1.2.1.tgz","types":"dist/index.d.ts","funding":"https://github.com/artginzburg/next-ym?sponsor=1","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"_resolved":"/private/var/folders/6s/hvpnt2555zq47lhc7sb2704w0000gn/T/d891bdb2f8e57b4b4f4d16da89390606/artginzburg-next-ym-1.2.1.tgz","_integrity":"sha512-ySFfQ7X5upYocW2bWhnV9UcK+d67ddu43uk7FqTlO9VR85e9YB2RbN616MqKcxmXM2BL6KwLHcbf7vsabYhVvQ==","repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.8.1","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"20.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.2.1_1727637022073_0.5397744398439555","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@artginzburg/next-ym","version":"1.2.2","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.2.2","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"db88a1bd90f7cf11afd333341f8fad057fb6a82c","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.2.2.tgz","fileCount":42,"integrity":"sha512-4FEdptbWe2iZgALfmH1ReWEsm04tnW2ocgi6ysuP61/CYEM94B3r5Bcoda5LoV+T8EI758GNE3L0O3dJK6UkMQ==","signatures":[{"sig":"MEUCIBONYKCOGgnMuw67nOHxLzZ/R/ztKdzm6Wt4i4BybKT7AiEAv6RPxCd320Z6GSLU8VVS4+60ZbPMRU7bkfE9tTPjm0Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44937},"main":"dist/index.js","_from":"file:artginzburg-next-ym-1.2.2.tgz","types":"dist/index.d.ts","funding":"https://github.com/artginzburg/next-ym?sponsor=1","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"_resolved":"/private/var/folders/6s/hvpnt2555zq47lhc7sb2704w0000gn/T/17d3363e5a707992fe5db1ea7dd0b5f3/artginzburg-next-ym-1.2.2.tgz","_integrity":"sha512-4FEdptbWe2iZgALfmH1ReWEsm04tnW2ocgi6ysuP61/CYEM94B3r5Bcoda5LoV+T8EI758GNE3L0O3dJK6UkMQ==","repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.9.2","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"23.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.2.2_1748297127275_0.7919533627060276","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@artginzburg/next-ym","version":"1.3.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.3.0","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"52f06f98f627cdd61c3a00443f060455396e2c83","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.0.tgz","fileCount":42,"integrity":"sha512-x8jQnAS3ABl8gl7xM/XdgwRz7Js7FraBSyEqDub0MNtL6tdfZbREpbX6PkJzWFO5191DzmFeFdcBJbg5GOFdyQ==","signatures":[{"sig":"MEQCIFlxf8N6iglYh1NHzxKiSNEzoMEVrLOj2n4UNmx8dz7ZAiAEAvtgOfmhyNvqYKBLjSmP9059f7ibQUlAbeDd13y7HA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48377},"main":"dist/index.js","_from":"file:artginzburg-next-ym-1.3.0.tgz","types":"dist/index.d.ts","funding":"https://github.com/artginzburg/next-ym?sponsor=1","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"_resolved":"/private/var/folders/6s/hvpnt2555zq47lhc7sb2704w0000gn/T/21bc18d503f6ec0283cbe09dbda7929b/artginzburg-next-ym-1.3.0.tgz","_integrity":"sha512-x8jQnAS3ABl8gl7xM/XdgwRz7Js7FraBSyEqDub0MNtL6tdfZbREpbX6PkJzWFO5191DzmFeFdcBJbg5GOFdyQ==","repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.9.2","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"23.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.3.0_1748346165524_0.21872607434955138","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@artginzburg/next-ym","version":"1.3.2","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.3.2","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"a95e0c2651bbff1ab1b85a96b751f7e89449193f","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.2.tgz","fileCount":42,"integrity":"sha512-WHUqVhmxZi5pvyYHHvDAzMXWjtiNAz+Tqp3XSz7el1faM5q7iqxoPrRvvLUGUN42x5SCCHMVghnl6wLE1LDM1A==","signatures":[{"sig":"MEYCIQCz8nhid/7RZu93WHX2ORsSOySD8oB57FdUxxnbqgnzWQIhAPiAqPxgnREkw9vRshMoN7g+GjFH0fQmf++2wT83Ao48","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49430},"main":"dist/index.js","types":"dist/index.d.ts","funding":"https://github.com/artginzburg/next-ym?sponsor=1","gitHead":"7082431d590159627a7b484520276c5dc376604c","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check .","prepublishOnly":"pnpm build"},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.8.2","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.3.2_1774457469079_0.06078802032308772","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@artginzburg/next-ym","version":"1.3.4","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.3.4","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"179f93387b370855001816745dab2f7321277992","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.4.tgz","fileCount":48,"integrity":"sha512-Zrh/VF3FrlsDOTGuOzJ0YqxQt2nznvnwIpU7G9obBP+2jyXaEWD5/W+CxhHK8bnZbTfu/4MSxS02djtJChYH0g==","signatures":[{"sig":"MEQCIFao3nhm29U/2LSSzj7OS4oFAx8iSyCBXmDz2KlTeNntAiAQH9HEhOnUC0gUTYNjGfjD7OYnsK0JWC/gOsEdqPlT7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54778},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./config":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"funding":"https://github.com/artginzburg/next-ym?sponsor=1","gitHead":"0cf37f0e40b4ed09a4a233432627efeed7df4532","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check .","prepublishOnly":"pnpm build"},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.8.2","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.3.4_1775075738648_0.32077484097573716","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@artginzburg/next-ym","version":"1.3.5","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.3.5","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"5e9ff0c1ef4952cfe31842716bb355739c2b7138","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.5.tgz","fileCount":48,"integrity":"sha512-O2v/sFN4XZHfTDsHREI/VK8mhJWEGjVeoLxaXWlPmdvyYACH8LNJiaeUFsP9yofyievnx6XdT1r9xlpSMnJ0wg==","signatures":[{"sig":"MEQCIBCYDONSY36kzap0KMfI5ojmAUFDSCslkVazovbqAGanAiBGxG3JyPXot3ItGEBCt1P6l58tW6FS+uPJlAyjkdtsoQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54712},"main":"dist/index.js","_from":"file:artginzburg-next-ym-1.3.5.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./config":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"funding":"https://github.com/artginzburg/next-ym?sponsor=1","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"_resolved":"/private/var/folders/6s/hvpnt2555zq47lhc7sb2704w0000gn/T/0cdb11b8fea5b41878d107149d892ebe/artginzburg-next-ym-1.3.5.tgz","_integrity":"sha512-O2v/sFN4XZHfTDsHREI/VK8mhJWEGjVeoLxaXWlPmdvyYACH8LNJiaeUFsP9yofyievnx6XdT1r9xlpSMnJ0wg==","repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.9.2","description":"Yandex Metrica integration for Next.js v14","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.3.5_1775366831245_0.8405889252504604","host":"s3://npm-registry-packages-npm-production"}},"1.3.6":{"name":"@artginzburg/next-ym","version":"1.3.6","keywords":["next","next.js","nextjs","react","yandex","metrica","metrika","analytics","ecommerce","webvisor","app-router","tracking","spa"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"@artginzburg/next-ym@1.3.6","maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"contributors":[{"url":"https://ginzburg.art","name":"Art Ginzburg","email":"me+npm@ginzburg.art"}],"homepage":"https://github.com/artginzburg/next-ym#readme","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"dist":{"shasum":"a95bedb3eae275ff98e6f5ecbdcdd1cb6d8cd4dd","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.6.tgz","fileCount":48,"integrity":"sha512-k74Rfo5qtDgqwbic8zlR26AKHggbWh1d5QNf2wjdiqnZ8O/WK9Lnpmy/Xn0Inu4kZySlsEfo0EHy6nddkLM2cA==","signatures":[{"sig":"MEYCIQDhrziv9acjnpOaCanqxk0ZE+4hL3ROM/n+OrQx/xBn8gIhAOOyzMbmMcNPagFxMobnTfdcN5fiZKs6ZWgW+LbqqBSx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60851},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./config":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"funding":"https://github.com/artginzburg/next-ym?sponsor=1","gitHead":"1fc8c633dbb25cbc02de720de9e384dc83ad51c5","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","preversion":"pnpm lint:ts && pnpm test","postversion":"git push --follow-tags && npm publish && gh release create v$npm_package_version --generate-notes","format:check":"prettier --check .","generate:llms":"node scripts/generate-llms.mjs","prepublishOnly":"pnpm build && pnpm generate:llms"},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"repository":{"url":"git+https://github.com/artginzburg/next-ym.git","type":"git"},"_npmVersion":"10.9.2","description":"Yandex Metrica for Next.js — App Router, ecommerce, Safari ITP proxy, auto SPA tracking","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@types/google.analytics":"^0.0.46","@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-ym_1.3.6_1775375344164_0.8726495702531694","host":"s3://npm-registry-packages-npm-production"}},"1.3.7":{"name":"@artginzburg/next-ym","version":"1.3.7","description":"Yandex Metrica for Next.js — App Router, ecommerce, Safari ITP proxy, auto SPA tracking","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./config":{"types":"./dist/config.d.ts","default":"./dist/config.js"}},"repository":{"type":"git","url":"git+https://github.com/artginzburg/next-ym.git"},"funding":"https://github.com/artginzburg/next-ym?sponsor=1","author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"contributors":[{"name":"Art Ginzburg","email":"me+npm@ginzburg.art","url":"https://ginzburg.art"}],"license":"MIT","keywords":["next","next.js","nextjs","react","yandex","metrica","metrika","analytics","ecommerce","webvisor","app-router","tracking","spa"],"scripts":{"build":"del-cli dist && tsc","generate:llms":"node scripts/generate-llms.mjs","prepublishOnly":"pnpm build && pnpm generate:llms","preversion":"pnpm lint:ts && pnpm test","postversion":"git push --follow-tags && gh release create v$npm_package_version --generate-notes","lint":"eslint src --fix --max-warnings 0","lint:ts":"tsc --noEmit","test":"jest","test:ci":"jest --ci --coverage","format":"prettier --write --log-level silent .","format:check":"prettier --check ."},"devDependencies":{"@artginzburg/experimental":"^0.1.6","@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^14.1.2","@types/google.analytics":"^0.0.46","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","@typescript-eslint/eslint-plugin":"^6.13.2","@typescript-eslint/parser":"^6.13.2","del-cli":"^5.1.0","eslint":"^8.55.0","eslint-config-prettier":"^9.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-simple-import-sort":"^10.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","next":"^14.0.4","prettier":"^3.1.1","react":"^18.2.0","react-dom":"^18.2.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","typescript":"^5.3.3"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"publishConfig":{"access":"public"},"_id":"@artginzburg/next-ym@1.3.7","gitHead":"7034f72e6bcad02f389cb676b4705e992c999534","bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"homepage":"https://github.com/artginzburg/next-ym#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-opPeS4Sk2dTuEy1v2N4xcJ/ubBrliOr2JLp8f0YR8xRoDC+Bfk1A0wpLxB/Qao4Sy+epVx3qw/opFfslvqH4ew==","shasum":"a8337ae7638f72c5ebd68e376484171036367e1d","tarball":"https://registry.npmjs.org/@artginzburg/next-ym/-/next-ym-1.3.7.tgz","fileCount":48,"unpackedSize":60836,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@artginzburg%2fnext-ym@1.3.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHdl9ZPUwYhHUHyCGS2nzgvVHC11S4l987fIzeCm0XyNAiEAkiIuy3KA1M9GRlbVKp9DOaId73O6JJK6bW/ULdYkzog="}]},"_npmUser":{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"},"directories":{},"maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/next-ym_1.3.7_1775376857229_0.3864628941669963"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-29T18:45:33.985Z","modified":"2026-04-05T08:14:17.648Z","1.1.2":"2024-09-29T18:45:34.373Z","1.2.0":"2024-09-29T18:47:03.363Z","1.2.1":"2024-09-29T19:10:22.384Z","1.2.2":"2025-05-26T22:05:27.484Z","1.3.0":"2025-05-27T11:42:45.689Z","1.3.2":"2026-03-25T16:51:09.216Z","1.3.3":"2026-04-01T20:15:04.684Z","1.3.4":"2026-04-01T20:35:38.832Z","1.3.5":"2026-04-05T05:27:11.406Z","1.3.6":"2026-04-05T07:49:04.313Z","1.3.7":"2026-04-05T08:14:17.380Z"},"bugs":{"url":"https://github.com/artginzburg/next-ym/issues"},"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","homepage":"https://github.com/artginzburg/next-ym#readme","keywords":["next","next.js","nextjs","react","yandex","metrica","metrika","analytics","ecommerce","webvisor","app-router","tracking","spa"],"repository":{"type":"git","url":"git+https://github.com/artginzburg/next-ym.git"},"description":"Yandex Metrica for Next.js — App Router, ecommerce, Safari ITP proxy, auto SPA tracking","contributors":[{"name":"Art Ginzburg","email":"me+npm@ginzburg.art","url":"https://ginzburg.art"}],"maintainers":[{"name":"artginzburg","email":"ginzburg.arthur@gmail.com"}],"readme":"# @artginzburg/next-ym\n\n[![npm version](https://img.shields.io/npm/v/@artginzburg/next-ym)](https://www.npmjs.com/package/@artginzburg/next-ym)\n[![npm downloads](https://img.shields.io/npm/dw/@artginzburg/next-ym)](https://www.npmjs.com/package/@artginzburg/next-ym)\n[![codecov](https://codecov.io/gh/artginzburg/next-ym/graph/badge.svg?token=2UUW3VBAWF)](https://codecov.io/gh/artginzburg/next-ym)\n\nThe most complete **Yandex Metrica** integration for **Next.js** — App Router, Pages Router, ecommerce, Safari ITP proxy, and automatic SPA tracking out of the box.\n\n## Why this package?\n\nThere are several Yandex Metrica packages for Next.js. Here's how they compare:\n\n| Feature               | @artginzburg/next-ym | next-yandex-metrica | react-yandex-metrika | @koiztech/next-yandex-metrika |\n| --------------------- | :------------------: | :-----------------: | :------------------: | :---------------------------: |\n| **App Router**        |          ✅          |         ✅          |          ❌          |              ✅               |\n| **Pages Router**      |          ✅          |         ✅          |          ✅          |              ❌               |\n| **Auto SPA tracking** |          ✅          |      ❌ manual      |          ❌          |              ❌               |\n| **Ecommerce hooks**   |       ✅ typed       |         ❌          |          ❌          |              ❌               |\n| **Safari ITP proxy**  |     ✅ built-in      |         ❌          |          ❌          |              ❌               |\n| **TypeScript**        |       ✅ full        |         ✅          |          ❌          |            partial            |\n| **noscript fallback** |          ✅          |         ❌          |          ✅          |              ❌               |\n| **Env-based tag ID**  |          ✅          |         ❌          |          ❌          |              ❌               |\n| **Test coverage**     |     ✅ **100%**      |       ✅ yes        |          ❌          |              ❌               |\n| **Last updated**      |       Apr 2026       |      Sep 2025       |       Nov 2019       |           Dec 2025            |\n| **Weekly downloads**  |         292          |         846         |        9,161         |              19               |\n\n> `react-yandex-metrika` leads in downloads purely by age (2017) — it hasn't been updated since 2019 and has no Next.js App Router support.\n\n## Installation\n\n```bash\npnpm add @artginzburg/next-ym\n```\n\nor\n\n```bash\nnpm install @artginzburg/next-ym\n```\n\nSet your counter ID via environment variable (recommended):\n\n```env\nNEXT_PUBLIC_YANDEX_METRICA_ID=12345678\n```\n\n## Quick start\n\n### App Router\n\n```tsx\n// app/layout.tsx\nimport { YandexMetricaProvider, standardYMInitParameters } from '@artginzburg/next-ym';\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    <html lang=\"en\">\n      <body>\n        <YandexMetricaProvider initParameters={standardYMInitParameters}>\n          {children}\n        </YandexMetricaProvider>\n      </body>\n    </html>\n  );\n}\n```\n\n### Pages Router\n\n```tsx\n// pages/_app.tsx\nimport { YandexMetricaProvider, standardYMInitParameters } from '@artginzburg/next-ym';\n\nexport default function MyApp({ Component, pageProps }) {\n  return (\n    <YandexMetricaProvider initParameters={standardYMInitParameters}>\n      <Component {...pageProps} />\n    </YandexMetricaProvider>\n  );\n}\n```\n\n> `YandexMetricaProvider` is a client component (`\"use client\"`). Make it the top-most wrapper in your layout's `{children}`.\n\nThat's it — pageviews are tracked automatically on every route change. No extra setup needed for SPA navigation.\n\n## Tracking events\n\n```tsx\nimport { useMetrica } from '@artginzburg/next-ym';\n\nexport function BuyButton() {\n  const { reachGoal } = useMetrica();\n\n  return <button onClick={() => reachGoal('purchase-click')}>Buy now</button>;\n}\n```\n\n`useMetrica` exposes typed methods: `reachGoal`, `notBounce`, `setUserID`, `userParams`, and `ymEvent` for any other [Yandex.Metrica method](https://yandex.com/support/metrica/objects/method-reference.html).\n\nYou can also use the `ym` function directly:\n\n```tsx\nimport { ym } from '@artginzburg/next-ym';\n\nym(12345678, 'reachGoal', 'cta-click');\n```\n\n## Ecommerce\n\nFull typed ecommerce support via the `useEcommerce` hook. Requires `ecommerce: 'dataLayer'` in init parameters (included in `standardYMInitParameters`).\n\n```tsx\nimport { useEcommerce } from '@artginzburg/next-ym';\n\n// currencyCode is set once and applied to all calls\nconst { trackClickProduct, trackAddItemToBasket, trackPurchase } = useEcommerce({\n  currencyCode: 'RUB',\n});\n```\n\n### Product tracking\n\nEach product accepts: `id`, `name` (at least one required), and optional `brand`, `category`, `price`, `quantity`, `variant`, `coupon`, `discount`, `list`, `position`.\n\n```tsx\n// Track product list impressions (accepts an array of products)\ntrackImpressionsProduct({\n  products: [\n    { id: '123', name: 'T-Shirt', price: 1500, list: 'Homepage' },\n    { id: '456', name: 'Hoodie', price: 3500, list: 'Homepage' },\n  ],\n});\n\n// Track product click / detail view / add to cart / remove from cart\n// (all accept a single product)\ntrackClickProduct({ product: { id: '123', name: 'T-Shirt' } });\ntrackViewProduct({ product: { id: '123', name: 'T-Shirt', price: 1500 } });\ntrackAddItemToBasket({ product: { id: '123', name: 'T-Shirt', price: 1500, quantity: 1 } });\ntrackRemoveItemFromBasket({ product: { id: '123', name: 'T-Shirt' } });\n```\n\n### Purchase\n\n```tsx\ntrackPurchase({\n  actionField: {\n    id: 'ORDER-789', // required — order ID\n    revenue: 5000, // optional — overrides sum of product prices\n    coupon: 'SALE10', // optional\n    goal_id: 12345678, // optional — Metrica goal number\n  },\n  products: [\n    { id: '123', name: 'T-Shirt', price: 1500, quantity: 2 },\n    { id: '456', name: 'Hoodie', price: 2000, quantity: 1 },\n  ],\n});\n```\n\n### Promo campaigns\n\n```tsx\ntrackPromoView({\n  promotions: [{ id: 'SUMMER_SALE', name: 'Summer Sale', creative: 'banner_1', position: 'top' }],\n});\n\ntrackPromoClick({\n  promotion: { id: 'SUMMER_SALE', name: 'Summer Sale' },\n});\n```\n\n### All methods\n\n| Method                      | Argument                          | Description                      |\n| --------------------------- | --------------------------------- | -------------------------------- |\n| `trackImpressionsProduct`   | `{ products: Product[] }`         | Product list was shown           |\n| `trackClickProduct`         | `{ product: Product }`            | Product was clicked              |\n| `trackViewProduct`          | `{ product: Product }`            | Product detail page viewed       |\n| `trackAddItemToBasket`      | `{ product: Product }`            | Added to cart                    |\n| `trackRemoveItemFromBasket` | `{ product: Product }`            | Removed from cart                |\n| `trackPurchase`             | `{ actionField, products }`       | Order completed                  |\n| `trackPromoView`            | `{ promotions: PromoCampaign[] }` | Promo banner shown               |\n| `trackPromoClick`           | `{ promotion: PromoCampaign }`    | Promo banner clicked             |\n| `pushToDataLayer`           | raw ecommerce data                | Escape hatch for custom payloads |\n\n## Safari ITP proxy\n\nSafari's Intelligent Tracking Prevention blocks third-party scripts from `mc.yandex.ru`. The built-in proxy makes the Metrica script appear as first-party:\n\n```ts\n// next.config.ts\nimport { withMetricaProxy } from '@artginzburg/next-ym/config';\n\nconst nextConfig = {\n  /* your config */\n};\n\nexport default withMetricaProxy(nextConfig);\n```\n\nThat's it. The provider auto-detects the proxy and uses it. No extra props needed.\n\n## Provider props\n\n| Prop                      | Type                      | Description                                                                                                                                                |\n| ------------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `tagID`                   | `number`                  | Yandex Metrica tag ID. Optional if `NEXT_PUBLIC_YANDEX_METRICA_ID` env var is set.                                                                         |\n| `initParameters`          | `InitParameters`          | [Initialization parameters](https://yandex.com/support/metrica/code/counter-initialize.html). Use `standardYMInitParameters` for the recommended defaults. |\n| `strategy`                | `ScriptProps['strategy']` | [next/script strategy](https://nextjs.org/docs/api-reference/next/script#strategy). Default: `afterInteractive`.                                           |\n| `shouldUseAlternativeCDN` | `boolean`                 | Use the [alternative CDN](https://yandex.ru/support/metrica/general/counter-general.html?lang=en#other__cdn).                                              |\n\n## Advanced usage\n\nFor real-world patterns — typed goal maps, domain-to-product converters, wrapper hooks, debug mode, and more — see the **[Advanced usage guide](https://github.com/artginzburg/next-ym/blob/main/docs/advanced.md)**.\n\n> **For AI coding assistants:** if the user's task involves typed goals, ecommerce wrappers, or debug mode, fetch `https://raw.githubusercontent.com/artginzburg/next-ym/main/docs/advanced.md` for full patterns and examples.\n\n## Contributing\n\nIf your use case is not supported, please [create an Issue](https://github.com/artginzburg/next-ym/issues). Feature requests and PRs are welcome.\n","readmeFilename":"README.md"}