ichnos
v0.0.4
Published
JavaScript library for Tracking client-side events for Superior via Google Tag Manager (GTM).
Downloads
3
Readme
Ichnos
JavaScript library for Tracking client-side events for Superior via Google Tag Manager (GTM).
Usage
import Ichnos from 'ichnos';
// init library
const tracking = new Ichnos({experimentId: 'foo', cookieId: 'bar', userId: 'baz' });
...
...
...
// send events
tracking.send({event: 'PageView'});
tracking.send({event: 'VariantView', variantId: 'variant-a'})
Options
// TBD
Development
Install
npm install
run
npm start
Test
npm test
Publish
// TBD