0.1.4 • Published 3 years ago

vector-tracker v0.1.4

Weekly downloads
322,034
License
MIT
Repository
github
Last release
3 years ago

Vector Tracker

npm.io npm.io npm.io

Dedicated tracker for Vector Analytics.

Getting Started

CDN

<script
  async
  data-vaid="[id]"
  data-vaapi="[api]"
  data-vaspa="[true]"
  src="https://cdn.jsdelivr.net/npm/vector-tracker@0.1/lib/vector.min.js"
></script>

npm

npm install --save vector-tracker
import useVector from 'vector-tracker';
const { vecView, vecLeave, vecEvent } = useVector('[id]', '[api]', true);

Contribute

This project uses husky and lint-staged to format source code, so the git commands may be slow due to the Prettier formatting workflow.

After clone the repo, you can simply:

npm install
npm run init
npm run build

License

This project is released under MIT License, for more information read the LICENSE.

Copyright © 2020-present DSRKafuU (https://dsrkafuu.su)

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago