caymland-tracking

1.1.1 • Public • Published
Caymland

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.


Readme

Keywords

Package Sidebar

Install

npm i caymland-tracking

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

15.3 kB

Total Files

3

Last publish

Collaborators

  • nsaloski