Measure only collected emails for Google Tag Manager / Analytics / Google Ads

Heya, so I set up Google Analytics thanks to an earlier answer (here).

But I’m wondering if it’s possible to only track it when an email address is collected. What’s the trigger that fires?

I’m now using “CollectChatComplete” but this is also tracking people who simply go to a webpage.

Hi,

This is not possible out of the box in Collect.chat. However, if you are comfortable with coding javascript it is possible.

We have a developer function ‘collect.chat.on(‘message’)’ which is triggered each time customer answers a question. You can detect a specific question and send a google analytics event for tracking if the user answered that question. Have a look at https://developers.collect.chat/#/callbacks?id=collectchatonevent-function for more information about this callback function.

To implement this, I would suggest you consult a developer if you are not one. It is pretty straightforward. Let me know if you need further information about this.

Cheers,
Shyjal