yuki-gta

0.3.1 • Public • Published

yuki-gta

⛩ yuki-gta

Travis GitHub license Standard - JavaScript Style Guide

Install

$ npm i --save yuki-gta
# or 
$ yarn add yuki-gta

Usage

import Gta from 'yuki-gta'
 
const gta = new Gta({
  google: 'UA-********-**',
  baidu: '*********'
})
 
gta.event({
  category: 'page',
  action: 'action',
  label: 'label',
  value: 1
})
 
gta.pageview('page')

API Documentations

Development

# install dependencies 
$ npm i
# or 
$ yarn
 
# dev 
$ npm run dev
 
# test 
$ npm run test
 
# lint 
$ npm run lint

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request 🍻

Author

yuki-gta © Limichange, Released under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i yuki-gta

Weekly Downloads

2

Version

0.3.1

License

MIT

Last publish

Collaborators

  • limichange