Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.5 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.5 KB

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 -