1.0.1 • Published 5 years ago

caymland-tracking v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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)

ValueTypeRequiredNotes
mtcPathStringYesThe path to your mtc.js file.

caymland.pageView(options)

ValueTypeRequiredNotes
optionsObjectNoObject with custom values that you wish to pass to your caymland software on each page view.

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago