Tag Manager Trigger Chat Completed


#1

Hi
i need help.

How can i create a trigger from chat completed in Google Tag Manager or Javascript?
It’s posible?
Need create a trigger.
Collect generate a automatic Event Analytics, but not generate a dataLayer (for Tag Manager)…

Thanks


#2

You will need a bit technical knowledge for doing this. Here are the steps

  1. Create a custom variable using our cookie ‘collect_chat_completed’ like the below screen.

51 PM

https://help.collect.chat/article/show/81158-cookies-and-variables
https://www.simoahava.com/analytics/variable-guide-google-tag-manager/#3-first-party-cookie

Above guides might help you to create a variable using the cookie we set during chat completion.

  1. Now using this variable, create a trigger with trigger type ‘Custom events’ > ‘Some custom event’

52 PM

Hope I explained the steps correctly.

Let me know if this worked for you. If you face any difficulty, feel free to reply :slight_smile: