modules icon indicating copy to clipboard operation
modules copied to clipboard

[Module Listing Request]: `@hexdigital/nuxt-segment`

Open Jamiewarb opened this issue 2 years ago • 0 comments

Description

Description

@hexdigital/nuxt-segment

This module provides an integration with Segment. It allows for quick integration with the analytics platform, including an integration with vue-router.

There is an existing module, but it only supports Nuxt v2, and it is seemingly unfortunately no longer maintained: https://github.com/dansmaculotte/nuxt-segment.

This new module allows for a fast integration with the full feature set of Segment, and is comparable to existing modules for other analytics platforms, such as zadigetvoltaire/nuxt-gtm and nuxt-modules/plausible.

I'd like to propose adding this new module, while keeping the previous one just for the v2 listing.

Features

📯 Track events and page views manually with composables 🗺️ Optionally track page views automatically with the router integration 📂 .env file support 🧺 Sensible default options 🦾 SSR-ready

Links

Release Notes 📦 NPM

Nuxt Compatibility

Nuxt 3

Repository

https://github.com/hex-digital/nuxt-segment/

npm

https://www.npmjs.com/package/@hexdigital/nuxt-segment

Nuxt Compatibility

Nuxt 3

Jamiewarb avatar Jul 14 '23 20:07 Jamiewarb