Tracking tool for Caymland marketing software.
This is a JavaScript module for implementing Caymland tracking into a website. Can be used client side.
Installation
npm install --save caymland-tracking
Usage
Initializing Caymland module:
import caymland from 'caymland-tracking';
caymland.initialize('https://instance.caymland.app/mtc.js');
Send page views:
caymland.pageView({custom: 'options'});
API
caymland.initialize(mtcPath)
Value | Type | Required | Notes |
---|---|---|---|
mtcPath | String |
Yes | The path to your mtc.js file. |
caymland.pageView(options)
Value | Type | Required | Notes |
---|---|---|---|
options | Object |
No | Object with custom values that you wish to pass to your caymland software on each page view. |
Built by
Ultrasoft Systems