CANDDi Tracker event subscriptions


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 is not same as Track.Download.

_canEvents = _canEvents || [];
"",function(){alert("Download Tracker")});


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

Type Description A download event has been tracked
track.event A dynamic Javascript event has been tracked
track.form A form submission has been tracked
track.heartbeat A heartbeat (15 seconds of page view duration) has been tracked
track.offsite An offsite link has been tracked (leading the user to a page on a third party site) A page view has been tracked
track.questions.answer CANDDi Capture Question has been tracked
track.xmlhttp An AJAX request has been tracked
question.hide The CANDDi Capture window has been hidden The CANDDi Capture window has been displayed (opened)
Have more questions? Submit a request


  • Avatar
    Mike Carter

    How do you trigger a Google Adwords conversion event using the track.questions.answer event type?

    Google Adwords uses a snippet of script on the completion page usually, such as:

    var google_conversion_id = xxxxxxxx;
    var google_conversion_language = "en_GB";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "aaaaaaabbbbbbbccccccc";