0.1.7 • Published 3 years ago

aofuji-tracker v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Aofuji Tracker

npm.io npm.io npm.io

Dedicated tracker for Aofuji Analytics.

Getting Started

CDN

<script
  async
  data-aoid="[id]"
  data-aoapi="[api]"
  data-aospa="[true]"
  src="https://cdn.jsdelivr.net/npm/aofuji-tracker@0.1/lib/aofuji.min.js"
></script>

npm

npm install --save aofuji-tracker
import useAofuji from 'aofuji-tracker';
const { aoView, aoLeave, aoEvent } = useAofuji('[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.7

3 years ago

0.1.5

3 years ago