1. Summary
An often asked question is can we flag CANDDi Capture answers as conversions within Google Analytics. This document discusses how to make this happen.
NOTE This uses CANDDi Tracker Subscriptions see https://support.canddi.com/hc/en-gb/articles/212588067 for generic subscriptions
2. How to:
Register a Google Call back within the CANDDi track.questions.answer subscription
<script>
var _canEvents = _canEvents || [];
_canEvents.push(
"track.questions.answer",
function(){
ga(
'send',
'event',
{
eventCategory: 'Pop Up Contact Form',
eventAction: 'Pop Up Contact Form',
eventLabel: 'Pop Up Contact Form'}
);
}
);</script>
Where does this snippet of JavaScript need to be placed to activate it?