Continually Chatbot Google Analytics Tracking
<!-- GA Tracking events with Continually JS API -->
<script>
continually.on('ready', function(api) {
api.on('startConversation', function(event) {
ga('send', 'event', {
eventCategory: 'Continually Conversations',
eventAction: 'Started Conversation',
eventLabel: event.conversationId,
});
});
api.on('emailCapture', function(event) {
ga('send', 'event', {
eventCategory: 'Continually Conversations',
eventAction: 'Email captured',
eventLabel: event.conversationId,
});
gtag_report_conversion('http://example.com/your-link');
});
});
</script>
<!-- End GA Tracking events -->