counter-analytics-vue
v1.0.0
Published
Counter Analytics integration for Vue v3
Downloads
396
Maintainers
Readme
Counter Analytics Vue 3 integration
Unofficial Counter Analytics integration for Vue.js.
Integration
Install
Run the following command to install in your project:
npm install counter-analytics-vue
Or with yarn:
yarn add counter-analytics-vue
Or with pnpm:
pnpm add counter-analytics-vue
Basic usage
You can now import, and use the Counter Analytics hook on your project:
// ./src/main.ts
import { createApp } from 'vue'
import CounterAnalytics from 'counter-analytics-vue'
const app = createApp({})
app.use(CounterAnalytics, {
id: 'COUNTER_ANALYTICS_ID',
utcOffset: 0,
})
Advanced options
You can use useCounterAnalytics
hook, it accepts an option object as the parameter.
You can always create an issue in case of any questions! 😀
Contribution
Feel free to contribute to the source code by opening a pull requests.
For any questions, you can open an issue, refer to the official Counter project or reach them at [email protected]
.
Donate
You can support this project by donating me at:
License
This source code is available under the MIT LICENSE.