counter-analytics-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Counter Analytics

Counter Analytics Vue 3 integration

npm version Build Status Sourcegraph Netlify Status

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 hey@counter.dev.

Donate

You can support this project by donating me at:

License

This source code is available under the MIT LICENSE.

Package Sidebar

Install

npm i counter-analytics-vue

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.08 kB

Total Files

6

Last publish

Collaborators

  • ansidev