topiq-event-tracker
v1.1.6
Published
it tracks your event to enhance personalised experience
Downloads
302
Readme
Installation
$ npm i topiq-event-tracker
import package
First you need to integrate topiq-event-tracker into your project by using import statement.
import initializeTopiqDataLayer from "topiq-event-tracker";
Then initialize topiq event tracker in your project's window, by calling initializeTopiqDataLayer function with config details.
initializeTopiqDataLayer({url:'', app_id:'', access_token:''})
Now use topiqDataLayer from your window object and send event details.
window.topiqDataLayer({})