1. Summary

CANDDi Tracker event subscriptions are a mechanism for onsite JavaScript to monitor the internal happenings within the CANDDi Tracker.  This is useful for enabling third party JavaScript to react based on the data / activities being tracked.  For example firing a Google Analytics conversion if the CANDDi Capture has been completed

NOTE: This requires tracker version 11.1.0 or above (released October 2015)

2. How to

Register a call-back function (and the type of event to listen to, see §3 for a list of types).  Note the Type is case-sensitive so track.download is not same as Track.Download.

`
<script>
canEvents = canEvents || [];
_canEvents.push(`"track.download",function(){alert("Download Tracker")});

</script>

Each time a download occurs then the call-back function will be executed (and in this instance an alert will be raised on screen)

3. List of types to bind to

Have more questions? Submit a request
Was this article helpful?
Cancel
Thank you!