webtrekk-smart-pixel
v1.1.0
Published
Webtrekk provides a high-end analytical tool to analyze the traffic on your website, identify success factors and optimize it on the basis of actual key indicators.
Downloads
18
Readme
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);