Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
26 lines (17 loc) · 757 Bytes

README.md

File metadata and controls

executable file
·
26 lines (17 loc) · 757 Bytes

#decisionHelper

decisionHelper -- a web analytics helper tool

SYNOPSIS

This tool helps you load the web analytics tracking tool and provides basic functionality for custom tracking events.

IMPORTANT

In order to use this tool, you need to place a script tag in your web page containing the etracker secure code:

<script type="text/javascript" data-etracker-code="my-tracking-code"></script>

Super Easy Usage

Just include the module in your webpage and create an instance of it:

var tracklet = new tracklet();
tracklet.bootstrap();
document.getElementById('myButton').addEventListener('click', tracklet.sendClickEvent('My Button', 'was clicked'));