Skip to content

JavaScript SDK for put.io Analytics System.

License

Notifications You must be signed in to change notification settings

putdotio/pas-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pas-js

JavaScript SDK for put.io Analytics System.

Build Status Coverage Status npm (scoped) npm bundle size (scoped) GitHub

Installation

yarn add @putdotio/pas-js

npm install @putdotio/pas-js

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 -