0.1.7 • Published 3 years ago
aofuji-tracker v0.1.7
Aofuji Tracker
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)