1.1.0 • Published 5 years ago

webtrekk-smart-pixel v1.1.0

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

Webtrekk Smart Pixel

Site | Docs | Support | Changelog |

Download

Installation

In a browser:

<!-- load via loader -->
<script type="text/javascript" async src="lib/loader.min.js"></script>

<!-- load the minified build -->
<script type="text/javascript" async src="lib/smart-pixel.min.js"></script>

<!-- load the debug build -->
<script type="text/javascript" async src="lib/smart-pixel.debug.js"></script>

Using npm:

$ npm i webtrekk-smart-pixel

In Node.js:

// load the minified build
var webtrekkSmartPixel = require('webtrekk-smart-pixel');

// load the debug build
var webtrekkSmartPixel = require('webtrekk-smart-pixel/debug');

// initializise webtrekk-smart-pixel with window and document
var wtSmart = webtrekkSmartPixel.use(window, window.document);