{"_id":"@codepie/gtag-pie","_rev":"4-9c43840579899e77e1b07fdc8e4e1506","name":"@codepie/gtag-pie","dist-tags":{"latest":"1.0.1","beta":"2.0.0-beta.3"},"versions":{"1.0.0":{"name":"@codepie/gtag-pie","version":"1.0.0","description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"private":false,"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"homepage":"https://gtag.codepie.io","license":"MIT","type":"module","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"main":"./dist/module.cjs","types":"./dist/types.d.ts","scripts":{"prepack":"nuxt-module-build","dev":"nuxi dev playground","dev:build":"nuxi build playground","dev:prepare":"nuxt-module-build --stub && nuxi prepare playground","release":"npm run lint && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags","lint":"eslint ."},"dependencies":{"@nuxt/kit":"^3.5.2","defu":"^6.1.2"},"devDependencies":{"@nuxt/eslint-config":"^0.1.1","@nuxt/module-builder":"^0.4.0","@nuxt/schema":"^3.5.2","@types/node":"^18","changelogen":"^0.5.3","eslint":"^8.42.0","nuxt":"^3.5.1"},"gitHead":"c71b0c1a931c1f482acc7867c2ed67dcdf8bc0f7","_id":"@codepie/gtag-pie@1.0.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-k7y+/KHoZCh7ci2fJw+5zUNOkHI7TuW88z1wY4rrv7QFQO4xfm4u9gObuDv2p4O+I63yqhdR066OrR6S9OQjYQ==","shasum":"96399d714d9d7d628e2951a5479a2c1d0df582bf","tarball":"https://registry.npmjs.org/@codepie/gtag-pie/-/gtag-pie-1.0.0.tgz","fileCount":20,"unpackedSize":10840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICt5/4Jn+oKdPMBvjrOOCbC53FIjflCIKuGTFi8dOZxIAiEA7AkF5L6vMYaFURvHgWTeV7sWWsWQOe7oZWYwYq2le4E="}]},"_npmUser":{"name":"prakashpie","email":"prakash.codepie@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gtag-pie_1.0.0_1687188593483_0.13637668075217935"},"_hasShrinkwrap":false},"1.0.1":{"name":"@codepie/gtag-pie","version":"1.0.1","description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"homepage":"https://github.com/codepie-io/gtag-pie/readme","license":"MIT","type":"module","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"main":"./dist/module.cjs","types":"./dist/types.d.ts","scripts":{"prepack":"nuxt-module-build","dev":"nuxi dev playground","dev:build":"nuxi build playground","dev:prepare":"nuxt-module-build --stub && nuxi prepare playground","publish":"npm run lint && npm run prepack && npm publish --access public","release":"npm run lint && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags","lint":"eslint ."},"dependencies":{"@nuxt/kit":"^3.5.2","defu":"^6.1.2"},"devDependencies":{"@nuxt/eslint-config":"^0.1.1","@nuxt/module-builder":"^0.4.0","@nuxt/schema":"^3.5.2","@types/node":"^18","changelogen":"^0.5.3","eslint":"^8.42.0","nuxt":"^3.5.1"},"gitHead":"e0374844b39c59703acbb47f18f694f274a01642","_id":"@codepie/gtag-pie@1.0.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-LiorbdaCD/CGw387y9MZYRKIWqJxf9Jq1OaILyjHUczU64zNR9eZn+YgwYBgvyXzmNJcKYSutOtErYFREV2PGw==","shasum":"d1a84e87329096aec0c8982bb32814dd19dbc494","tarball":"https://registry.npmjs.org/@codepie/gtag-pie/-/gtag-pie-1.0.1.tgz","fileCount":20,"unpackedSize":10811,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLEBztrPAyZX3J7se4cYrvM5fO4SUY0eJOFnsNludQzwIgJkdDxyh/eBdopp72CORDlLuGrNxXqdIb7C5qr0HLTWs="}]},"_npmUser":{"name":"prakashpie","email":"prakash.codepie@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gtag-pie_1.0.1_1687196117653_0.8888504158603392"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"@codepie/gtag-pie","version":"2.0.0-beta.1","description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"homepage":"https://github.com/codepie-io/gtag-pie#readme","license":"MIT","type":"module","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"main":"./dist/module.cjs","types":"./dist/types.d.ts","scripts":{"prepack":"nuxt-module-build","dev":"nuxi dev playground","dev:build":"nuxi build playground","dev:prepare":"nuxt-module-build --stub && nuxi prepare playground","publish":"npm run lint && npm run prepack && npm publish --access public","publish-beta":"npm run lint && npm run prepack && npm publish --tag beta --access public","release":"npm run lint && npm run prepack && changelogen --release && npm publish --tag beta --access public && git push --follow-tags","lint":"eslint ."},"dependencies":{"@nuxt/kit":"^3.5.2","defu":"^6.1.2"},"devDependencies":{"@nuxt/eslint-config":"^0.1.1","@nuxt/module-builder":"^0.4.0","@nuxt/schema":"^3.5.2","@types/node":"^18","changelogen":"^0.5.3","eslint":"^8.42.0","nuxt":"^3.5.1"},"readme":"# @codepie/gtag-pie\n\n[![npm version](https://img.shields.io/npm/v/@codepie/gtag-pie)](https://www.npmjs.com/package/@codepie/gtag-pie)\n[![License](https://img.shields.io/npm/l/@codepie/gtag-pie)](https://github.com/codepie-io/gtag-pie/blob/main/LICENSE)\n\nA powerful and lightweight module for integrating Google Analytics (gtag) functionality into Nuxt 3 applications. Easily track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.\n\n## Features\n\n- 🌻  **No dependencies:** @codepie/gtag-pie leverages the power of Google's gtag.js library without any additional dependencies, keeping your project lightweight.\n- 🤝 **Manual consent management for GDPR compliance:** Ensure GDPR compliance by managing user consent manually, giving you full control over when and how tracking is enabled.\n- 📯 **Track events manually with composables:** Utilize composables to track custom events and interactions within your Nuxt 3 application, allowing for granular tracking tailored to your needs.\n- 🦾 **SSR-ready:** Seamlessly handle server-side rendering (SSR) scenarios without any extra configuration or setup.\n- 📂 **.env file support:** Conveniently store your Google Analytics tracking ID and configuration options in a .env file, making it easy to manage and switch between environments.\n\n## Installation\n\nInstall the package using your preferred package manager.\n\n```shell\n# Using pnpm\npnpm add -D @codepie/gtag-pie\n```\n\n## Basic Usage\n\n1. Configure the module in your Nuxt 3 project's **`nuxt.config.ts`** file:\n\n```ts\n// nuxt.config.ts\n\nexport default {\n  modules: [\n    '@codepie/gtag-pie',\n  ],\n  gtag: {\n    id: 'YOUR_GTAG_ID',\n    config: {\n      // Additional gtag.js options\n    }\n  },\n}\n```\nReplace **`YOUR_GTAG_ID`** with your actual Google Analytics Tracking ID. You can find this ID in your Google Analytics dashboard.\n\n> **Note: Ensure Enhanced Measurement is Enabled**\n>\n> To enable automatic page view tracking in your Single Page Application with GA4, make sure to enable the **Enhanced Measurement** feature. Follow these steps:\n>\n> 1. Go to your Google Analytics 4 account and navigate to \"Admin\" > \"Data Streams\" > \"Web\" > \"Enhanced measurement settings.\"\n> 2. In the \"Enhanced measurement settings\" section, ensure that the toggle for \"Page views\" is enabled.\n>\n> Enabling the \"Page views\" toggle allows GA4 to track page changes based on browser history events in your Single Page Application, providing you with accurate and comprehensive data.\n>\n> Please ensure you have this feature enabled to make the most out of GA4 page tracking in your application.\n","readmeFilename":"README.md","gitHead":"e0374844b39c59703acbb47f18f694f274a01642","_id":"@codepie/gtag-pie@2.0.0-beta.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-+79FnpA1MkSoTDO26RynHdm/HJ95FFKYwudoOUhjdTiTIek39JC32VrDUlHsvDWAkAqnQGLRg97rbK/Nsj9/SQ==","shasum":"b59c9720e586091afda8d5e9fcdbff227b578a09","tarball":"https://registry.npmjs.org/@codepie/gtag-pie/-/gtag-pie-2.0.0-beta.1.tgz","fileCount":20,"unpackedSize":10940,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfhhFSHCmjDFcjB7is2GjJ2mBbtN27FoQWVZwCsDEO4AiB/RNuQg4B58YzJomSGdeopHQndA52zXd4O6U53aOuYUA=="}]},"_npmUser":{"name":"prakashpie","email":"prakash.codepie@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gtag-pie_2.0.0-beta.1_1687196520409_0.8831492447897915"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"@codepie/gtag-pie","version":"2.0.0-beta.2","description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"homepage":"https://github.com/codepie-io/gtag-pie#readme","license":"MIT","type":"module","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"main":"./dist/module.cjs","types":"./dist/types.d.ts","scripts":{"prepack":"nuxt-module-build","dev":"nuxi dev playground","dev:build":"nuxi build playground","dev:prepare":"nuxt-module-build --stub && nuxi prepare playground","publish":"npm run lint && npm run prepack && npm publish --access public","publish-beta":"npm run lint && npm run prepack && npm publish --tag beta --access public","release":"npm run lint && npm run prepack && changelogen --release && npm publish --tag beta --access public && git push --follow-tags","lint":"eslint ."},"dependencies":{"@nuxt/kit":"^3.5.2","defu":"^6.1.2"},"devDependencies":{"@nuxt/eslint-config":"^0.1.1","@nuxt/module-builder":"^0.4.0","@nuxt/schema":"^3.5.2","@types/node":"^18","changelogen":"^0.5.3","eslint":"^8.42.0","nuxt":"^3.5.1"},"readme":"# @codepie/gtag-pie\n\n[![npm version](https://img.shields.io/npm/v/@codepie/gtag-pie)](https://www.npmjs.com/package/@codepie/gtag-pie)\n[![License](https://img.shields.io/npm/l/@codepie/gtag-pie)](https://github.com/codepie-io/gtag-pie/blob/main/LICENSE)\n\nA powerful and lightweight module for integrating Google Analytics (gtag) functionality into Nuxt 3 applications. Easily track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.\n\n## Features\n\n- 🌻  **No dependencies:** @codepie/gtag-pie leverages the power of Google's gtag.js library without any additional dependencies, keeping your project lightweight.\n- 🤝 **Manual consent management for GDPR compliance:** Ensure GDPR compliance by managing user consent manually, giving you full control over when and how tracking is enabled.\n- 📯 **Track events manually with composables:** Utilize composables to track custom events and interactions within your Nuxt 3 application, allowing for granular tracking tailored to your needs.\n- 🦾 **SSR-ready:** Seamlessly handle server-side rendering (SSR) scenarios without any extra configuration or setup.\n- 📂 **.env file support:** Conveniently store your Google Analytics tracking ID and configuration options in a .env file, making it easy to manage and switch between environments.\n\n## Installation\n\nInstall the package using your preferred package manager.\n\n```shell\n# Using pnpm\npnpm add -D @codepie/gtag-pie\n```\n\n## Basic Usage\n\n1. Configure the module in your Nuxt 3 project's **`nuxt.config.ts`** file:\n\n```ts\n// nuxt.config.ts\n\nexport default {\n  modules: [\n    '@codepie/gtag-pie',\n  ],\n  gtag: {\n    id: 'YOUR_GTAG_ID',\n    config: {\n      // Additional gtag.js options\n    }\n  },\n}\n```\nReplace **`YOUR_GTAG_ID`** with your actual Google Analytics Tracking ID. You can find this ID in your Google Analytics dashboard.\n\n> **Note: Ensure Enhanced Measurement is Enabled**\n>\n> To enable automatic page view tracking in your Single Page Application with GA4, make sure to enable the **Enhanced Measurement** feature. Follow these steps:\n>\n> 1. Go to your Google Analytics 4 account and navigate to \"Admin\" > \"Data Streams\" > \"Web\" > \"Enhanced measurement settings.\"\n> 2. In the \"Enhanced measurement settings\" section, ensure that the toggle for \"Page views\" is enabled.\n>\n> Enabling the \"Page views\" toggle allows GA4 to track page changes based on browser history events in your Single Page Application, providing you with accurate and comprehensive data.\n>\n> Please ensure you have this feature enabled to make the most out of GA4 page tracking in your application.\n","readmeFilename":"README.md","gitHead":"e0374844b39c59703acbb47f18f694f274a01642","_id":"@codepie/gtag-pie@2.0.0-beta.2","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Bz2x1dHfRyK9QOs3ebZxHxuZ4m8DTCd2k/6f2Y+mYOeXvy6U3YGFrcBs0v45wIjTXagB6YdyeN6Ud2DDc5kUrw==","shasum":"dc304f9b6692352ee9fe2bdac579d64b20799c52","tarball":"https://registry.npmjs.org/@codepie/gtag-pie/-/gtag-pie-2.0.0-beta.2.tgz","fileCount":20,"unpackedSize":11065,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFyLrUaz+BzeC0twoRer9iZ8o7+NsPZZdcxO0fl0p+0AiEAp1JIBcVH1Hx57HBSMtSvrVFiYW5kqH943ycrrL6at9w="}]},"_npmUser":{"name":"prakashpie","email":"prakash.codepie@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gtag-pie_2.0.0-beta.2_1688037670876_0.393809984705888"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"@codepie/gtag-pie","version":"2.0.0-beta.3","description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"homepage":"https://github.com/codepie-io/gtag-pie#readme","license":"MIT","type":"module","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"main":"./dist/module.cjs","types":"./dist/types.d.ts","scripts":{"prepack":"nuxt-module-build","dev":"nuxi dev playground","dev:build":"nuxi build playground","dev:prepare":"nuxt-module-build --stub && nuxi prepare playground","publish":"npm run lint && npm run prepack && npm publish --access public","publish-beta":"npm run lint && npm run prepack && npm publish --tag beta --access public","release":"npm run lint && npm run prepack && changelogen --release && npm publish --tag beta --access public && git push --follow-tags","lint":"eslint ."},"dependencies":{"@nuxt/kit":"^3.5.2","defu":"^6.1.2"},"devDependencies":{"@nuxt/eslint-config":"^0.1.1","@nuxt/module-builder":"^0.4.0","@nuxt/schema":"^3.5.2","@types/node":"^18","changelogen":"^0.5.3","eslint":"^8.42.0","nuxt":"^3.5.1"},"readme":"# @codepie/gtag-pie\n\n[![npm version](https://img.shields.io/npm/v/@codepie/gtag-pie)](https://www.npmjs.com/package/@codepie/gtag-pie)\n[![License](https://img.shields.io/npm/l/@codepie/gtag-pie)](https://github.com/codepie-io/gtag-pie/blob/main/LICENSE)\n\nA powerful and lightweight module for integrating Google Analytics (gtag) functionality into Nuxt 3 applications. Easily track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.\n\n## Features\n\n- 🌻  **No dependencies:** @codepie/gtag-pie leverages the power of Google's gtag.js library without any additional dependencies, keeping your project lightweight.\n- 🤝 **Manual consent management for GDPR compliance:** Ensure GDPR compliance by managing user consent manually, giving you full control over when and how tracking is enabled.\n- 📯 **Track events manually with composables:** Utilize composables to track custom events and interactions within your Nuxt 3 application, allowing for granular tracking tailored to your needs.\n- 🦾 **SSR-ready:** Seamlessly handle server-side rendering (SSR) scenarios without any extra configuration or setup.\n- 📂 **.env file support:** Conveniently store your Google Analytics tracking ID and configuration options in a .env file, making it easy to manage and switch between environments.\n\n## Installation\n\nInstall the package using your preferred package manager.\n\n```shell\n# Using pnpm\npnpm add -D @codepie/gtag-pie\n```\n\n## Basic Usage\n\n1. Configure the module in your Nuxt 3 project's **`nuxt.config.ts`** file:\n\n```ts\n// nuxt.config.ts\n\nexport default {\n  modules: [\n    '@codepie/gtag-pie',\n  ],\n  gtag: {\n    id: 'YOUR_GTAG_ID',\n    config: {\n      // Additional gtag.js options\n    }\n  },\n}\n```\nReplace **`YOUR_GTAG_ID`** with your actual Google Analytics Tracking ID. You can find this ID in your Google Analytics dashboard.\n\n> **Note: Ensure Enhanced Measurement is Enabled**\n>\n> To enable automatic page view tracking in your Single Page Application with GA4, make sure to enable the **Enhanced Measurement** feature. Follow these steps:\n>\n> 1. Go to your Google Analytics 4 account and navigate to \"Admin\" > \"Data Streams\" > \"Web\" > \"Enhanced measurement settings.\"\n> 2. In the \"Enhanced measurement settings\" section, ensure that the toggle for \"Page views\" is enabled.\n>\n> Enabling the \"Page views\" toggle allows GA4 to track page changes based on browser history events in your Single Page Application, providing you with accurate and comprehensive data.\n>\n> Please ensure you have this feature enabled to make the most out of GA4 page tracking in your application.\n","readmeFilename":"README.md","gitHead":"e0374844b39c59703acbb47f18f694f274a01642","_id":"@codepie/gtag-pie@2.0.0-beta.3","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-MQ1wAEkANzNkkM441BQ9RGaXLiUjP8xigiLbqdhDD8xaSfcz+plEWWegjcLNGdAqZNtWrB1hytnEtumEBJEmfQ==","shasum":"36b7e2c7507bf43e65da6d33e8089ce8b6203776","tarball":"https://registry.npmjs.org/@codepie/gtag-pie/-/gtag-pie-2.0.0-beta.3.tgz","fileCount":20,"unpackedSize":11036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfD8c4c5vXwAMi0aSuf7aZu46355b/NOxmeQMhVrge7AiEAuJ2Ob0FePTil45vu8/yOlFrSpya5YOjeqjCyJj8JD2A="}]},"_npmUser":{"name":"prakashpie","email":"prakash.codepie@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gtag-pie_2.0.0-beta.3_1688038394398_0.19514095638091833"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-19T15:29:53.418Z","1.0.0":"2023-06-19T15:29:53.662Z","modified":"2023-06-29T11:33:14.804Z","1.0.1":"2023-06-19T17:35:17.783Z","2.0.0-beta.1":"2023-06-19T17:42:00.635Z","2.0.0-beta.2":"2023-06-29T11:21:11.073Z","2.0.0-beta.3":"2023-06-29T11:33:14.621Z"},"maintainers":[{"name":"prakashpie","email":"prakash.codepie@gmail.com"}],"description":"A powerful and easy-to-use module for integrating Google Analytics functionality into Nuxt 3 applications. Track page views, events, and gain valuable insights into user behavior with simplicity and flexibility.","homepage":"https://github.com/codepie-io/gtag-pie/readme","repository":{"type":"git","url":"git+https://github.com/codepie-io/gtag-pie.git"},"author":{"name":"Prakash Bharti","email":"prakash.codepie@gmail.com"},"bugs":{"url":"https://github.com/codepie-io/gtag-pie/issues"},"license":"MIT","readme":"","readmeFilename":""}