@putdotio/pas-js
Browser client for Put.io Analytics System
Installation
$ npm install @putdotio/pas-js -S
Module
import Pas from '@putdotio/pas-js'
CommonJS
const Pas = require('@putdotio/pas-js').default
API
Method Name | Parameters |
---|---|
alias | ({ id: string/number, hash: string }) |
identify | ({ id: string/number, hash: string, properties?: object }) |
track | (name: string, properties?: object) |
pageView | - |