{"_id":"@aqzhyi/google-analytics","_rev":"6-f801371535bd9368305bc26fe0d4c827","name":"@aqzhyi/google-analytics","dist-tags":{"latest":"0.3.5"},"versions":{"0.2.0":{"name":"@aqzhyi/google-analytics","version":"0.2.0","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.2.0","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"dist":{"shasum":"91c7f3645caa2874cea73f6577d065af18797434","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.2.0.tgz","fileCount":23,"integrity":"sha512-LLlN04nZ9IsOjLAdbwb01yu114bGdJJWgu4om7iATrvU4bQR4XvCrfBoerLIEfiNWIbrVkj4MA3J8rfufPQegA==","signatures":[{"sig":"MEUCIBplXYwtt+PglDX/e1N1P7Br7c2UZBF38KWMUvpiVUipAiEAg32mpaNxpGh4bsm742aWgxZ6DHRl8oA9sHSdcsK8Q/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273309},"type":"module","_from":"file:aqzhyi-google-analytics-0.2.0.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"turbo watch web css lint tsc","tsc":"tsc --noEmit --preserveWatchOutput","web":"astro dev","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/29f9704934832b475c1dfd1033dfc4c2/aqzhyi-google-analytics-0.2.0.tgz","_integrity":"sha512-LLlN04nZ9IsOjLAdbwb01yu114bGdJJWgu4om7iATrvU4bQR4XvCrfBoerLIEfiNWIbrVkj4MA3J8rfufPQegA==","repository":{"url":"https://github.com/Aqzhyi/mono/@aqzhyi/google-analytics","type":"git"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.2.0_1727751360257_0.9018628351194078","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@aqzhyi/google-analytics","version":"0.3.0","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.3.0","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"dist":{"shasum":"7bb73df6b82fb890bcfe7cfe57ad557a9cba1973","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.0.tgz","fileCount":21,"integrity":"sha512-JEi2tVEUgSyk9wiMCKn8ctPQoJosr60itIkw2wzKnNbufEAX2dR8PpeQSyFAJ2pYCBKC1A6K6qhcaOlr/FrOzw==","signatures":[{"sig":"MEUCIQDsXwvxbKhqk1hcQ3kMmMdMHbzCst1EWm09ymWdnoXuiAIgJemMORqq6IBFvFb0vqNx5pZWfc+yiQ4qFGIn6zdoZE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272677},"type":"module","_from":"file:aqzhyi-google-analytics-0.3.0.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"turbo watch web css lint tsc","tsc":"tsc --noEmit --preserveWatchOutput","web":"astro dev","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/a6d05382b52331bbde7c80fe88b26894/aqzhyi-google-analytics-0.3.0.tgz","_integrity":"sha512-JEi2tVEUgSyk9wiMCKn8ctPQoJosr60itIkw2wzKnNbufEAX2dR8PpeQSyFAJ2pYCBKC1A6K6qhcaOlr/FrOzw==","repository":{"url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","type":"git","directory":"@aqzhyi/google-analytics"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.3.0_1727753483467_0.015061591719894407","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@aqzhyi/google-analytics","version":"0.3.1","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.3.1","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"dist":{"shasum":"0292300486c77c22eef9eabf420199485bcc82d6","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.1.tgz","fileCount":9,"integrity":"sha512-uLCMbHccIgw8014c+uqorolxuu1wksVEOnnF6C11o6ZNcOatkaU/CylPfd3PSiTEOjk0bCjjiFs6838vDL7btQ==","signatures":[{"sig":"MEUCIQD3gCXmozQi0abRpva9Reu5PQWf+ogLoqXBmPyREBlWGwIgFIIdbNvQp2PlqUKst2iWc2e5XuQNGWQjbVHVaf4tWhY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5428},"type":"module","_from":"file:aqzhyi-google-analytics-0.3.1.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"turbo watch web css lint tsc","tsc":"tsc --noEmit --preserveWatchOutput","web":"astro dev","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/6195ce2be0196fbc883b089c4a0af38d/aqzhyi-google-analytics-0.3.1.tgz","_integrity":"sha512-uLCMbHccIgw8014c+uqorolxuu1wksVEOnnF6C11o6ZNcOatkaU/CylPfd3PSiTEOjk0bCjjiFs6838vDL7btQ==","repository":{"url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","type":"git","directory":"@aqzhyi/google-analytics"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.3.1_1727754274648_0.2552055525279511","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@aqzhyi/google-analytics","version":"0.3.2","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.3.2","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"homepage":"https://github.com/Aqzhyi/oh-my-monorepo/tree/main#readme","bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"dist":{"shasum":"8fcbd9efaefc32f523809c39823221634fb6173a","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.2.tgz","fileCount":9,"integrity":"sha512-t53oe7oDdZxVKq/Vy6DR4W50PxDYLmvcH5JhgRoDSw7dussU+Y8e6JzidPa1WDBtO7LQdpoh3s5HF7L2fBMIiQ==","signatures":[{"sig":"MEQCIET8hfWxoA5No3NBqxyKmQ9LJm8nRv9ewacP/WCGirOyAiAPUMLN4JmBRYq5Ifsmjk+PFrMlgA/SKl0Kd2l27GG/Ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5466},"type":"module","_from":"file:aqzhyi-google-analytics-0.3.2.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"turbo watch web css lint tsc","tsc":"tsc --noEmit --preserveWatchOutput","web":"astro dev","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/5eba85fed157327661527e5ac7311b38/aqzhyi-google-analytics-0.3.2.tgz","_integrity":"sha512-t53oe7oDdZxVKq/Vy6DR4W50PxDYLmvcH5JhgRoDSw7dussU+Y8e6JzidPa1WDBtO7LQdpoh3s5HF7L2fBMIiQ==","repository":{"url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git#main","type":"git"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.3.2_1727779573977_0.6540309854301591","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"@aqzhyi/google-analytics","version":"0.3.3","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.3.3","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"dist":{"shasum":"b26756a3b1056e40ded3cbe22915db76d4eecbcb","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.3.tgz","fileCount":9,"integrity":"sha512-i+/z2MmSJwyGAbrWaCpeEFgF2vPUSW1vVXCtd0P8ezF9/NL5SdfeVOvdWDToygOnaeqG2FYsH3YrUYExh6fLBg==","signatures":[{"sig":"MEUCIQDFBWFfy4nvKO4n9ME9hCaTkFwo2c36/pu0zk3HVjgm1QIgVnJ/0ReeaL4UpEnzumY4hvikwMdJVDc+LGiGwfqCXI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5498},"type":"module","_from":"file:aqzhyi-google-analytics-0.3.3.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"turbo watch web css lint tsc -F={*/google-analytics}","tsc":"tsc --noEmit --preserveWatchOutput","web":"astro dev","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/a28cfb510d607d2e567f457f9ab19467/aqzhyi-google-analytics-0.3.3.tgz","_integrity":"sha512-i+/z2MmSJwyGAbrWaCpeEFgF2vPUSW1vVXCtd0P8ezF9/NL5SdfeVOvdWDToygOnaeqG2FYsH3YrUYExh6fLBg==","repository":{"url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","type":"git","directory":"@aqzhyi/google-analytics"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.3.3_1727874329981_0.06989244120135552","host":"s3://npm-registry-packages"}},"0.3.4":{"name":"@aqzhyi/google-analytics","version":"0.3.4","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"license":"MIT","_id":"@aqzhyi/google-analytics@0.3.4","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"dist":{"shasum":"f2f4c8ac24a814ec3e9423b94b788705b093ba80","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.4.tgz","fileCount":9,"integrity":"sha512-y2XYVO7nmkjp/bmRXA1ERNbFSuR+Jy4hZUP/o752d4N7fMrP/Cok5+FfZqBI58q8NVmj7kewCjWGNNOVUzLcXg==","signatures":[{"sig":"MEQCIHquRPIQv/9sNapMPJSqhs6DUWSmidV172Z/rrmloiKEAiA8a28+DDWxYzupTY+gdvn++lKTk/PSQ1xTJSrnkJRCIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5408},"type":"module","_from":"file:aqzhyi-google-analytics-0.3.4.tgz","exports":{".":["./src/components/index.astro","./src/index.ts"]},"private":false,"scripts":{"dev":"astro dev","tsc":"astro check","lint":"biome lint ./src","build":"astro check --minimumSeverity error && astro build"},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/201052ee56168a7a8f5baf33c0ae5492/aqzhyi-google-analytics-0.3.4.tgz","_integrity":"sha512-y2XYVO7nmkjp/bmRXA1ERNbFSuR+Jy4hZUP/o752d4N7fMrP/Cok5+FfZqBI58q8NVmj7kewCjWGNNOVUzLcXg==","repository":{"url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","type":"git","directory":"@aqzhyi/google-analytics"},"_npmVersion":"10.1.0","description":"Google Analytics (GA4) library","directories":{},"_nodeVersion":"20.8.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.15.9","typescript":"^5.6.2","@astrojs/check":"^0.9.3","modern-normalize":"^3.0.1","@astrojs/ts-plugin":"^1.10.2"},"_npmOperationalInternal":{"tmp":"tmp/google-analytics_0.3.4_1729069627830_0.6516858307440025","host":"s3://npm-registry-packages"}},"0.3.5":{"license":"MIT","version":"0.3.5","name":"@aqzhyi/google-analytics","description":"Google Analytics (GA4) library for Astro.build","type":"module","exports":{".":"./src/index.ts"},"peerDependencies":{"astro":"^4.15.9"},"devDependencies":{"@astrojs/check":"^0.9.4","astro":"^4.16.5","modern-normalize":"^3.0.1","typescript":"^5.6.3"},"private":false,"repository":{"type":"git","url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","directory":"@aqzhyi/google-analytics"},"keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"scripts":{"dev":"astro dev","lint":"biome lint ./src","tsc":"astro check","build":"astro check --minimumSeverity error && astro build"},"bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","_id":"@aqzhyi/google-analytics@0.3.5","_integrity":"sha512-pajK+/s5bL8CnSmTVn4hXuUmao7z0adJmThYYSTWPQIqAGSp4HbbtY9bDx4ee4Ms4VHO4APhb0LEt5078j5kxQ==","_resolved":"/private/var/folders/dq/y_hzh5vx4v7126077cddwfdc0000gn/T/02a13001acd218e882737c60439bc508/aqzhyi-google-analytics-0.3.5.tgz","_from":"file:aqzhyi-google-analytics-0.3.5.tgz","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-pajK+/s5bL8CnSmTVn4hXuUmao7z0adJmThYYSTWPQIqAGSp4HbbtY9bDx4ee4Ms4VHO4APhb0LEt5078j5kxQ==","shasum":"3563aa1aced6bb6299c70a870e4f393994e0acc6","tarball":"https://registry.npmjs.org/@aqzhyi/google-analytics/-/google-analytics-0.3.5.tgz","fileCount":6,"unpackedSize":4677,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeQD8kilGzSXWSCZhcuDAxRFo1S3DXkPVHnrwJ6sIlwwIgfwVb/MDz5MsBjdKJJdRVWxyOVhrxJq5uodK+FVI1az8="}]},"_npmUser":{"name":"pleasurazy","email":"pleasurazy@gmail.com"},"directories":{},"maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-analytics_0.3.5_1729076596718_0.43116262787859627"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-01T02:56:00.164Z","modified":"2024-10-16T11:03:17.154Z","0.2.0":"2024-10-01T02:56:00.495Z","0.3.0":"2024-10-01T03:31:23.728Z","0.3.1":"2024-10-01T03:44:34.852Z","0.3.2":"2024-10-01T10:46:14.134Z","0.3.3":"2024-10-02T13:05:30.376Z","0.3.4":"2024-10-16T09:07:08.038Z","0.3.5":"2024-10-16T11:03:16.947Z"},"bugs":{"url":"https://github.com/Aqzhyi/oh-my-monorepo/issues"},"license":"MIT","homepage":"https://github.com/Aqzhyi/oh-my-monorepo#readme","keywords":["analytics event","analytics-event","analytics","astro-component","astro","event track","event-track","ga4","google analytics","google tag manager","google tag","google-analytics","google-tag-manager","google-tag","gtag","gtm","pageview","withastro"],"repository":{"type":"git","url":"git+https://github.com/Aqzhyi/oh-my-monorepo.git","directory":"@aqzhyi/google-analytics"},"description":"Google Analytics (GA4) library for Astro.build","maintainers":[{"name":"pleasurazy","email":"pleasurazy@gmail.com"}],"readme":"# @aqzhyi/google-analytics\n\n> Google Analytics (GA4) library\n\n## Install\n\n```\npnpm i @aqzhyi/google-analytics\n```\n\n## Usage (Astro)\n\n### `<GoogleAnalytics />`\n\n> Insert the Google Tag Manager (GTM) script into the HTML using the Google Analytics ID you have configured (e.g., `'G-G90JYXXXXX'`).\n\n1. `pages/_layout/BasicLayout.astro`\n\n   ```astro\n   ---\n   import { GoogleAnalytics } from '@aqzhyi/google-analytics'\n   ---\n\n   <!doctype html>\n   <html>\n     <head>\n       <GoogleAnalytics id='G-G90JYXXXXX' />\n     </head>\n     <body>\n       <slot />\n     </body>\n   </html>\n   ```\n\n1. `pages/index.astro`\n\n   ```\n   ---\n   import BasicLayout from \"./_layout/BasicLayout.astro\"\n   ---\n\n   <BasicLayout>\n     Page 1\n   </BasicLayout>\n   ```\n\n> Preview\n\n![](https://raw.githubusercontent.com/Aqzhyi/mono/refs/heads/main/%40aqzhyi/google-analytics/public/works.png)\n\n### `<GoogleAnalytics debug />`\n\n```astro\n<GoogleAnalytics\n  id=''\n  debug={true}\n/>\n```\n\n> Preview\n\n![](https://raw.githubusercontent.com/Aqzhyi/mono/refs/heads/main/%40aqzhyi/google-analytics/public/debug-if-no-input.png)\n","readmeFilename":"README.md"}