1.0.2 • Published 4 years ago

uiq-js v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

What is this?

installation

npm i uiq-js --save

Then ...

Add to main js file

import { uiqInitTrackingCode } from "uiq-js"


// initialize with site id integer

uiqInitTrackingCode(123456)

Finally ....

Send your user data

import { uiqSendUser } from "uiq-js"


  const currentUser = {
    id: "1234",
    name: "Ryan",
    accountId: "1234",
    accountName: "Acme",
    signupDate: "1966-06-06",
  }

  uiqSendUser( currentUser.id, currentUser )