{"library":"vue-segment-analytics","type":"library","category":null,"description":"This package is a Vue plugin for integrating Segment's `analytics.js` into Vue 2 applications. It provides a `Vue.use()` interface to initialize Segment with a write key (`id`) and can integrate with Vue Router for automatic page tracking. The current stable version is 0.5.4, with the last update in June 2022, indicating an infrequent release cadence focused on maintenance rather than active feature development. Its primary differentiator is its direct plugin integration for Vue 2, making Segment methods available globally via `this.$segment`. However, for modern Vue 3 applications, the official Segment recommendation is `@segment/analytics-vue`, making this package a legacy solution for existing Vue 2 projects.","language":"javascript","status":"deprecated","version":"0.5.4","tags":["javascript","segment","analytics"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-segment-analytics","imports":["import Vue from 'vue'","import VueSegmentAnalytics from 'vue-segment-analytics'","this.$segment.track('Event Name', { property: 'value' })"]},{"cmd":"yarn add vue-segment-analytics","imports":[]},{"cmd":"pnpm add vue-segment-analytics","imports":[]}],"homepage":null,"github":"https://github.com/Kapiche/vue-segment-analytics","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-segment-analytics","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-segment-analytics/compatibility"}}