mautic-tracking

0.9.3 • Public • Published

mautic-tracking

Tracking tool for Mautic marketing sofware.

This is a JavaScript module for implementing Mautic tracking into a website. Can be used client side on React.

Installation

npm install --save mautic-tracking

Usage

Initializing Mautic module:

import mautic from 'mautic-tracking';
 
mautic.initialize('https://my.mautic-installation.com/mtc.js');

Send page views:

mautic.pageView({ custom: 'options' });

API

mautic.initialize(mtcPath)

Value Type Required Notes
mtcPath String Yes The path to your mtc.js file.

mautic.pageView(options)

Value Type Required Notes
options Object No Object with custom values that you wish to pass to your mautic software on each page view.

License

Released under the MIT license

Copyright (c) 2019 Moises Baez

/mautic-tracking/

    Package Sidebar

    Install

    npm i mautic-tracking

    Weekly Downloads

    33

    Version

    0.9.3

    License

    MIT

    Unpacked Size

    4.08 kB

    Total Files

    3

    Last publish

    Collaborators

    • moisesbaez