@skoup/analytics-vue
@skoup/analytics-vue
Skoup Analytics for Vue 3.
import { createSkoupPlugin } from '@skoup/analytics-vue'
app.use(createSkoupPlugin({ site: 'site_…', router, consent: 'wait' }))
<script setup>
import { useSkoup } from '@skoup/analytics-vue'
const skoup = useSkoup()
</script>
<button @click="skoup.event('signup', { plan: 'growth' })">Sign up</button>
With router, a page view follows each navigation. consent: 'wait' measures without a cookie until skoup.consent('granted'); 'denied' deletes it and measures without one, 'off' sends nothing; skoup.attribution() for Stripe metadata. Nuxt: @skoup/analytics-nuxt.
Related Packages
@skoup/analytics-nuxt
Skoup Analytics for Nuxt 3 — a module: page views on navigation, useSkoup() ever...
630
1
@alexpodify/browser-sdk
BotCiu browser tracker — public, privacy-first interaction events (page/listing...
469
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.1 | >=3.3 | MIT | |
| 1.1.0 | >=3.3 | MIT | |
| 1.0.0 | >=3.3 | MIT | |
| 0.4.0 | >=3.3 | MIT | |
| 0.3.0 | >=3.3 | MIT | |
| 0.2.0 | >=3.3 | MIT | |
| 0.1.0 | >=3.3 | MIT |