{"_id":"@ahdcreative/gtm-vue","_rev":"2-bffd9831f58dfa7adde54c1f05646b9f","name":"@ahdcreative/gtm-vue","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@ahdcreative/gtm-vue","version":"1.0.0","author":{"url":"https://ahd-creative.agency","name":"AHDCreative"},"license":"MIT","_id":"@ahdcreative/gtm-vue@1.0.0","maintainers":[{"name":"ahdluca","email":"luca@ahd-creative.agency"}],"homepage":"https://github.com/ahdcreative/gtm-vue#readme","bugs":{"url":"https://github.com/ahdcreative/gtm-vue/issues"},"dist":{"shasum":"98db87125dcbc6cf0f069a5d84828ef8aef9b699","tarball":"https://registry.npmjs.org/@ahdcreative/gtm-vue/-/gtm-vue-1.0.0.tgz","fileCount":6,"integrity":"sha512-jWTCiAWs1eWUGq5iMlRdv+XPYpGmVPvm99gj+/ONoioxDBI5T1ZZRXw0rBntTEJsI5a7bgKqwZyD/sQbFlue7w==","signatures":[{"sig":"MEUCIQDIFr8JM0vUgYJ5JDG7vvESeQlWhcT5FKYl02lm9n0PdQIgWloH5qCAkVYIUESvHzwUQWJGf40iFsq4SaGwjBYgLws=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7898},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8cd1d6594d2dfcd51a4b9aae871e35bf0fd4a2db","scripts":{"dev":"tsup --watch","fix":"biome check --write .","test":"vitest","build":"tsup","check":"biome check .","prepare":"npm run build"},"_npmUser":{"name":"ahdluca","email":"luca@ahd-creative.agency"},"repository":{"url":"git+https://github.com/ahdcreative/gtm-vue.git","type":"git"},"_npmVersion":"10.9.4","description":"Vue 3 plugin for Google Tag Manager","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@ahdcreative/gtm-core":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","tsup":"^8.5.1","jsdom":"^24.0.0","vitest":"^2.1.8","typescript":"^5.7.3","vue-router":"^4.5.0","@biomejs/biome":"^2.4.2"},"peerDependencies":{"vue":"^3.0.0","vue-router":"^4.0.0"},"peerDependenciesMeta":{"vue-router":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/gtm-vue_1.0.0_1771339507149_0.06629137253444717","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ahdcreative/gtm-vue","version":"1.0.2","description":"Vue 3 plugin for Google Tag Manager","author":{"name":"AHDCreative","url":"https://ahd-creative.agency"},"repository":{"type":"git","url":"git+https://github.com/ahdcreative/gtm-vue.git"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","build":"tsup","test":"vitest","check":"biome check .","fix":"biome check --write .","prepare":"npm run build","release":"npm run prepare && release-it"},"peerDependencies":{"vue":"latest","vue-router":"latest"},"peerDependenciesMeta":{"vue-router":{"optional":true}},"dependencies":{"@ahdcreative/gtm-core":"^1.0.0"},"devDependencies":{"@ahdcreative/biome-config":"^1.0.0","@biomejs/biome":"^2.4.2","jsdom":"^24.0.0","release-it":"^19.2.4","tsup":"^8.5.1","typescript":"^5.7.3","vitest":"^2.1.8","vue":"^3.5.13","vue-router":"^4.5.0"},"license":"MIT","_id":"@ahdcreative/gtm-vue@1.0.2","gitHead":"c91590d9cd65de9b944863a3d46c22711727fe3f","bugs":{"url":"https://github.com/ahdcreative/gtm-vue/issues"},"homepage":"https://github.com/ahdcreative/gtm-vue#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-wsDCsHsLk7ZWXvIZ1L8TsmjWVxYUip7i2gayseNDpZKynYRL2ajTxU/EMwy+tAzikAvvnjAvmY9AH4EQ091x8A==","shasum":"06f8acf1c469e755ecc2716f1ca78350a3bb022b","tarball":"https://registry.npmjs.org/@ahdcreative/gtm-vue/-/gtm-vue-1.0.2.tgz","fileCount":6,"unpackedSize":8018,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCmYwAGXvQ9lVTR23c5lEI3G99fzFT9BuqLj44T/t09NwIhAIOmLp8L+A6EIsCPfLvTUAl2HOrjAH8NMjBTiz2YyYrE"}]},"_npmUser":{"name":"ahdluca","email":"luca@ahd-creative.agency"},"directories":{},"maintainers":[{"name":"ahdluca","email":"luca@ahd-creative.agency"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gtm-vue_1.0.2_1776222638757_0.6715258112140727"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T14:45:07.076Z","modified":"2026-04-15T03:10:39.065Z","1.0.0":"2026-02-17T14:45:07.276Z","1.0.2":"2026-04-15T03:10:38.908Z"},"bugs":{"url":"https://github.com/ahdcreative/gtm-vue/issues"},"author":{"name":"AHDCreative","url":"https://ahd-creative.agency"},"license":"MIT","homepage":"https://github.com/ahdcreative/gtm-vue#readme","repository":{"type":"git","url":"git+https://github.com/ahdcreative/gtm-vue.git"},"description":"Vue 3 plugin for Google Tag Manager","maintainers":[{"name":"ahdluca","email":"luca@ahd-creative.agency"}],"readme":"# AHDCreative GMTVue\n\nVue 3 plugin for Google Tag Manager integration, powered by `@ahdcreative/gtm-core`.\n\n## Features\n\n*   🚀 **Easy Integration**: Simple `app.use()` installation.\n*   🚦 **Router Support**: Automatic page view tracking.\n*   📦 **Type-Safe**: Full TypeScript support.\n*   🪝 **Composition API**: `useGtm()` hook for easy access.\n\n## Installation\n\n```bash\nnpm install @ahdcreative/gtm-vue\n```\n\n## Usage\n\n### Setup (main.ts)\n\n```typescript\nimport { createApp } from 'vue'\nimport { createRouter, createWebHistory } from 'vue-router'\nimport { createGtm } from '@ahdcreative/gtm-vue'\nimport App from './App.vue'\n\nconst router = createRouter({ /* ... */ })\nconst app = createApp(App)\n\napp.use(router)\n\napp.use(createGtm({\n  id: 'GTM-XXXXXX',\n  vueRouter: router, // Optional: for auto-tracking\n  enabled: true,\n  debug: false\n}))\n\napp.mount('#app')\n```\n\n### Composition API\n\n```typescript\n<script setup lang=\"ts\">\nimport { useGtm } from '@ahdcreative/gtm-vue'\n\nconst gtm = useGtm()\n\nfunction trackEvent() {\n  gtm.push({\n    event: 'button_click',\n    category: 'interaction',\n    label: 'signup'\n  })\n}\n</script>\n```\n","readmeFilename":"README.md"}