{"_id":"@amboras-dev/ga4","_rev":"10-0f3734c5f2aeeb91f65810a5fae6e4ee","name":"@amboras-dev/ga4","dist-tags":{"latest":"0.3.9"},"versions":{"0.3.0":{"name":"@amboras-dev/ga4","version":"0.3.0","_id":"@amboras-dev/ga4@0.3.0","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"849fe4a6587ae3c950a6da0a6f8c7b9c4e424f79","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.0.tgz","fileCount":15,"integrity":"sha512-j307/jpxE17mJmQE68JwT106ssFtF0pJs7XfpK3ckHl0U4Sm+6BK9e0d7YyxNgVvQsS0GSLncjUuy1uLXmua2Q==","signatures":[{"sig":"MEUCIGf6AX2/7jbiBpyyvzW5KRQ7fkS6rYOyLspY0fwyga/uAiEA2BbYn/dKPoNiNkTwRAOTwWYwZcJ5NISorH9Zqx4xeF8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":239138},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/e7aa3ef632c13f45a866d5866a752816/amboras-dev-ga4-0.3.0.tgz","_integrity":"sha512-j307/jpxE17mJmQE68JwT106ssFtF0pJs7XfpK3ckHl0U4Sm+6BK9e0d7YyxNgVvQsS0GSLncjUuy1uLXmua2Q==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.0_1781782757533_0.4654797089952616","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@amboras-dev/ga4","version":"0.3.1","_id":"@amboras-dev/ga4@0.3.1","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"e17be73cea4783766eb696870d23f992072daf46","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.1.tgz","fileCount":15,"integrity":"sha512-+IRk6gNFGf3blbzrrVRsAojwGxyEKhuUrURngjPHwmoSW5iby0GzrplIg+QpA6pyzokd3FBnfrpOjhtaHMjH3Q==","signatures":[{"sig":"MEQCIFaONVlSVQUJOqCpzkKUiBrV7vlxQM9iGlHEq0mtRJ4VAiA8QjRp/G+m/k26W8IGdEn66lcZF/qpTBIelpcSJE+ETA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":256597},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/7f601e7caa6390cc526bddfa865a951f/amboras-dev-ga4-0.3.1.tgz","_integrity":"sha512-+IRk6gNFGf3blbzrrVRsAojwGxyEKhuUrURngjPHwmoSW5iby0GzrplIg+QpA6pyzokd3FBnfrpOjhtaHMjH3Q==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.1_1781793334632_0.1701330344844345","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@amboras-dev/ga4","version":"0.3.2","_id":"@amboras-dev/ga4@0.3.2","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"00395e5157e3ed86c80ce2cda3df87510b434f16","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.2.tgz","fileCount":15,"integrity":"sha512-sA7Yt8YncNI9J+3nmHXmFlUTH2h4iQLtovAmla3iWtw429JHl+WyBnYY6Q1P8HiDaC903zZaLVXMh8EhpmH9Rg==","signatures":[{"sig":"MEQCIEpfLJfsI29T9gmC3E2i1exuE7JVCNAQgdLEN2shAvzdAiAsDdtj2XSjgtfATGQOE7B1KnkybMtcNi2VSlutUCerDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280500},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/8b4fac20f0c05468c70e9e3946275dfb/amboras-dev-ga4-0.3.2.tgz","_integrity":"sha512-sA7Yt8YncNI9J+3nmHXmFlUTH2h4iQLtovAmla3iWtw429JHl+WyBnYY6Q1P8HiDaC903zZaLVXMh8EhpmH9Rg==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.2_1785332181688_0.7348281186719767","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@amboras-dev/ga4","version":"0.3.3","_id":"@amboras-dev/ga4@0.3.3","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"e8a6147baf339a3f964a1cb2a84bb773bd9193cc","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.3.tgz","fileCount":15,"integrity":"sha512-U2oveKs1YssKKCCRKBwabFDP+td8vtvNnwjlkUIdbmC0uvkBsnRLsk6qqPlvongXcRm+sGOKDFuGH89UUfMz2A==","signatures":[{"sig":"MEUCIGMCbJExpb/EyEUnnn4bUVxZTEqUCtjhFe6zNXBFP0PzAiEA+S6dHQx+9qP2IzOUtwewGFceWONSgVs6KwJ2S6GDeSA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":304845},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.3.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/2fb4647ae3783956946ab44f7d90b3d1/amboras-dev-ga4-0.3.3.tgz","_integrity":"sha512-U2oveKs1YssKKCCRKBwabFDP+td8vtvNnwjlkUIdbmC0uvkBsnRLsk6qqPlvongXcRm+sGOKDFuGH89UUfMz2A==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.3_1786112363435_0.9044834682161391","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@amboras-dev/ga4","version":"0.3.4","_id":"@amboras-dev/ga4@0.3.4","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"9fa2c11fcc7ccf21ac7c6e840ffbd8d5a824c0ed","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.4.tgz","fileCount":15,"integrity":"sha512-I3tgxRf7VrIJZD0MVbNJu5sObcrCnLWeN+N3NKo29Gmg9t6esJkLwyoFo4u0sTcf5IBhjbp/yYBNNzj1C4wokg==","signatures":[{"sig":"MEYCIQCaPsgV56q1KTCYjmuT+RK2CPWJvpwr8kodYTXZ1sayMAIhAMQfzwKDQw4KfHJNaTZY8uczA3lDYMMl7jqUgFtwGWti","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307313},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/4030f84e1bccb51992446e2abedb7f2c/amboras-dev-ga4-0.3.4.tgz","_integrity":"sha512-I3tgxRf7VrIJZD0MVbNJu5sObcrCnLWeN+N3NKo29Gmg9t6esJkLwyoFo4u0sTcf5IBhjbp/yYBNNzj1C4wokg==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.4_1786113402129_0.9365689562756381","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@amboras-dev/ga4","version":"0.3.5","_id":"@amboras-dev/ga4@0.3.5","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"59173fa8b27695ab046e7f178b7fbc3cad8d49fa","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.5.tgz","fileCount":15,"integrity":"sha512-sax95tI8lA4LRYETgDNBoCIp4TdCp5j7UHO9Ub/VV9Y+azT/37mSzG4H4Akrz2ikaKRsVH7spEoA+6VvRJZs2w==","signatures":[{"sig":"MEUCIQDlsW+qXAMg+AiV5t9ZIYvhMhCmrdcAZfZeIdRLC/FEKgIgZseGFZvN/phw0m/EPnNpHHXtlkF/L5epToAkpo4olC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":299611},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.5.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/2fd45f53afaff481bb6bff8614568fc7/amboras-dev-ga4-0.3.5.tgz","_integrity":"sha512-sax95tI8lA4LRYETgDNBoCIp4TdCp5j7UHO9Ub/VV9Y+azT/37mSzG4H4Akrz2ikaKRsVH7spEoA+6VvRJZs2w==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.5_1786183921539_0.7768411631980896","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@amboras-dev/ga4","version":"0.3.6","_id":"@amboras-dev/ga4@0.3.6","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"e9172017aa1478a251249d3d3d230933f3377f09","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.6.tgz","fileCount":15,"integrity":"sha512-xUvFtJTCg+et+xdT40gkyJDPvwr9tqUOU+l3K7o33qiLFStqeMKGCsxcS4fIM0CxpuTRpjfBD5oyuSdym4VPAA==","signatures":[{"sig":"MEYCIQDuKfwIoAdB1s5trXyM5e6pngAJ39w1AmEAeaz71TdJrgIhAK29vx8/8oOHLNNMQGQv/TezG3yylz78lTFl47Zoh6lQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":308563},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.6.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/1f0329f14511b460c8af04335e88e511/amboras-dev-ga4-0.3.6.tgz","_integrity":"sha512-xUvFtJTCg+et+xdT40gkyJDPvwr9tqUOU+l3K7o33qiLFStqeMKGCsxcS4fIM0CxpuTRpjfBD5oyuSdym4VPAA==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.6_1786188023601_0.4730636105450774","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"@amboras-dev/ga4","version":"0.3.7","_id":"@amboras-dev/ga4@0.3.7","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"1d19e9e50001e6e6843d71b593ec8305648dce8e","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.7.tgz","fileCount":15,"integrity":"sha512-3gKypdazV2uFlygiFQ24Ufd6YkMh0ae5ePrWCkv0zOdQ1nr2LZzu4n/fFeKlGAKowFZq20X42v7osaoMfvkpYg==","signatures":[{"sig":"MEUCIQC4b2QhiW37rS9AR9raLG5K8YTsV2zw0yvVeDhLmsnD6gIgXua1M4S3J3PSdbHP7yWfygE0/s7LivqCXgxo7vdMRq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":311848},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.7.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/8f31d4ef0a969e8604913704da581835/amboras-dev-ga4-0.3.7.tgz","_integrity":"sha512-3gKypdazV2uFlygiFQ24Ufd6YkMh0ae5ePrWCkv0zOdQ1nr2LZzu4n/fFeKlGAKowFZq20X42v7osaoMfvkpYg==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.7_1786611401620_0.9170373224345532","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"@amboras-dev/ga4","version":"0.3.8","_id":"@amboras-dev/ga4@0.3.8","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"dist":{"shasum":"7c51704bb08a895106c167275de4446f52340dda","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.8.tgz","fileCount":15,"integrity":"sha512-wKTdZyUX1DUE4cU/P7I64WO/f9jvgS5OwpDzIy6ab41ylYhPto2/RcyrZbdTArd/9um3iEZ3KO1IZFpVExmLxA==","signatures":[{"sig":"MEUCIQDqJdSGnFlmJYKCu/lYG/V+kaDcRfyNUieVsKRSRDL1iAIgOSmfZ4gGb36Zy11SoYae01jiVzPZ0xodbwrvn5HzaCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":317782},"main":"dist/index.js","_from":"file:amboras-dev-ga4-0.3.8.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json","./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"_resolved":"/tmp/7849e17c9eba400b19e9db98557ffb6e/amboras-dev-ga4-0.3.8.tgz","_integrity":"sha512-wKTdZyUX1DUE4cU/P7I64WO/f9jvgS5OwpDzIy6ab41ylYhPto2/RcyrZbdTArd/9um3iEZ3KO1IZFpVExmLxA==","_npmVersion":"10.8.2","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^2.1.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/ga4_0.3.8_1786773368758_0.8493730216587145","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"@amboras-dev/ga4","version":"0.3.9","description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./slot-components":{"types":"./dist/slot-components/index.d.ts","import":"./dist/slot-components/index.mjs","require":"./dist/slot-components/index.js"},"./package.json":"./package.json"},"peerDependencies":{"react":">=18"},"devDependencies":{"@types/node":"^20.0.0","@types/react":"^18.0.0","tsup":"^8.0.0","typescript":"^5.0.0","vitest":"^2.1.0"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run"},"_id":"@amboras-dev/ga4@0.3.9","_integrity":"sha512-7mExEPLthfmfFmho9Irvk4JcNbmy1jBFwdSsI+omBLQre0YRE6D1v4ybY+kU6seUz5sx8LHrhbHctEHrwuKMgA==","_resolved":"/tmp/f50aa07425086d6195d163a4bb5a2cbe/amboras-dev-ga4-0.3.9.tgz","_from":"file:amboras-dev-ga4-0.3.9.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-7mExEPLthfmfFmho9Irvk4JcNbmy1jBFwdSsI+omBLQre0YRE6D1v4ybY+kU6seUz5sx8LHrhbHctEHrwuKMgA==","shasum":"eec1b8f042ffc860f2340cd08e4b935a2ad2d487","tarball":"https://registry.npmjs.org/@amboras-dev/ga4/-/ga4-0.3.9.tgz","fileCount":15,"unpackedSize":335470,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDT84KbN1Xu72VHLHV1TAbPUlne+7UCLJc2BrwtOdP+LwIganmdZe1orDap/OtuEdBj7X5NHzNSbVk48VhW0i3qqcg="}]},"_npmUser":{"name":"syazah","email":"thesyazah@gmail.com"},"directories":{},"maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ga4_0.3.9_1786819070189_0.17566710527130258"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-18T11:39:17.389Z","modified":"2026-08-15T18:37:50.504Z","0.3.0":"2026-06-18T11:39:17.675Z","0.3.1":"2026-06-18T14:35:34.762Z","0.3.2":"2026-07-29T13:36:21.831Z","0.3.3":"2026-08-07T14:19:23.602Z","0.3.4":"2026-08-07T14:36:42.285Z","0.3.5":"2026-08-08T10:12:01.701Z","0.3.6":"2026-08-08T11:20:23.743Z","0.3.7":"2026-08-13T08:56:41.743Z","0.3.8":"2026-08-15T05:56:08.904Z","0.3.9":"2026-08-15T18:37:50.342Z"},"description":"Google Analytics 4 (gtag.js + Measurement Protocol) hooks for Amboras storefronts","maintainers":[{"name":"amboras-vaibhav","email":"vaibhav@amboras.com"},{"name":"azaanatamboras","email":"azaan@amboras.com"},{"name":"syazah","email":"thesyazah@gmail.com"}],"readme":"# @amboras-dev/ga4\n\nGoogle Analytics 4 for Amboras storefronts. Hybrid transport: gtag.js fires\nfrom the browser AND the same events relay through your store server via\nMeasurement Protocol, so ad-blocker traffic still lands.\n\n## Install\n\n```bash\npnpm add @amboras-dev/ga4\n```\n\nThen in the storefront's `app/_generated/plugin-registry.ts` (the orchestrator\nregenerates this on every install — manual edits will be overwritten):\n\n```ts\nimport {\n  GA4Provider,\n  GA4ViewItem,\n  GA4ViewItemList,\n  GA4CartDelta,\n  GA4ViewCart,\n  GA4BeginCheckout,\n  GA4AddPaymentInfo,\n  GA4Purchase,\n  GA4Identify,\n  GA4Search,\n} from '@amboras-dev/ga4/slot-components'\n\nexport const PLUGIN_REGISTRY = {\n  rootProviders: [\n    { id: 'ga4', Component: GA4Provider, propsFromConfig: { measurementId: 'measurement_id', debugMode: 'debug_mode' } },\n  ],\n  pdpAnalytics: [{ id: 'ga4-view-item', Component: GA4ViewItem, propsFromContext: ['product', 'currency'] }],\n  collectionAboveGrid: [{ id: 'ga4-view-item-list', Component: GA4ViewItemList, propsFromContext: ['items', 'listName', 'currency'] }],\n  cartUpdate: [{ id: 'ga4-cart-delta', Component: GA4CartDelta, propsFromContext: ['previous', 'current', 'currency'] }],\n  checkoutOrderSummary: [{ id: 'ga4-view-cart', Component: GA4ViewCart, propsFromContext: ['items', 'currency', 'value'] }],\n  checkoutStart: [\n    { id: 'ga4-begin-checkout', Component: GA4BeginCheckout, propsFromContext: ['items', 'currency', 'value'] },\n    { id: 'ga4-add-payment-info', Component: GA4AddPaymentInfo, propsFromContext: ['items', 'currency', 'value', 'paymentType'] },\n  ],\n  // checkoutComplete: pass `items` (real PurchaseLineItem[]) — not just itemCount —\n  // so merchandising reports get real item_id / item_name / price / quantity.\n  checkoutComplete: [{ id: 'ga4-purchase', Component: GA4Purchase, propsFromContext: ['orderId', 'total', 'currency', 'items', 'tax', 'shipping', 'coupon'] }],\n  searchAboveResults: [{ id: 'ga4-search', Component: GA4Search, propsFromContext: ['searchTerm', 'resultsCount'] }],\n  accountOverview: [{ id: 'ga4-identify', Component: GA4Identify, propsFromContext: ['userId', 'email'] }],\n  // ...other slots empty\n}\n```\n\n## What's tracked\n\n| Stage | Event |\n|---|---|\n| Browsing | `page_view` |\n| Discovery | `view_item_list`, `view_item`, `search` |\n| Intent | `add_to_cart`, `remove_from_cart`, `view_cart` |\n| Checkout | `begin_checkout`, `add_payment_info` |\n| Conversion | `purchase` (real items[] + transaction_id, dedupped via event_id) |\n| Identity | `login` |\n\nUTM attribution (`utm_source`, `utm_medium`, `utm_campaign`, `gclid`, `fbclid`)\nis captured on first visit and attached to every event so revenue attribution\nsurvives multi-page sessions.\n\n## Server-side relay\n\nThe `/store/ga4/collect` Medusa route proxies events to Google's Measurement\nProtocol with the merchant's API secret (stored in `store.metadata.plugins.ga4`,\nnever exposed to the browser). This is what makes ad-blocker traffic land —\nwhen uBlock strips `googletagmanager.com`, MP still delivers.\n\nThe `sendMpEvent()` helper reads `NEXT_PUBLIC_MEDUSA_BACKEND_URL` +\n`NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY` + `NEXT_PUBLIC_STORE_ID` from the\nenvironment by default. For multi-store templates that resolve config at\nruntime, call `configureGa4Transport({ baseUrl, publishableKey, storeId })`\nonce during app boot.\n\n## Consent\n\nThe provider gates gtag init on the `amboras_consent` cookie's `analytics`\nfield (defaults to consent-granted when no cookie is set). Re-checks on the\n`amboras-consent-changed` event so it initializes the moment a merchant\naccepts, without a page reload.\n\n## Programmatic API\n\nFor ad-hoc events outside the slot system:\n\n```ts\nimport { trackPurchase, trackViewItem, trackSearch, sendMpEvent } from '@amboras-dev/ga4'\n\ntrackPurchase('order_123', { value: 49.99, currency: 'USD', items: [...] })\n```\n\n`sendMpEvent` is the lower-level escape hatch — pass any GA4 event shape.\n<!-- release-trigger: re-fire Release workflow that failed with startup_failure on #61 merge -->\n","readmeFilename":"README.md"}