GTM trigger without using trigger groups
-
Hi.
I am having an issue with firing a trigger multiple times on a page using trigger groups. In this instance, it has to do with video interactions, but it could also be 25/50/75/90% scroll events that occur on the same page.
I am using trigger groups in order to have two requirements for the trigger
1) Someone interacts with a video element
2) The “cmplz_event_marketing” event has been firedThese trigger groups usually work with other trigger types, but an issue with trigger groups is that:
“When a Trigger Group fires because all the triggers listed within have fired, the Trigger Group won’t fire again even if the triggers listed within fire again.”
Source: https://www.simoahava.com/analytics/trigger-groups-google-tag-manager/In other words, there has to be another way to combine the cmplz_event_marketing-check with a trigger-type, that potentially fires multiple times on a page.
I am guessing the solution might be to use javascript to provide a true/false statement depending on if the event has fired or not. I know this is what Cookieinformation does with the following code, although I am uncertain how this would be tailored to Complianz.
function() {
return window.CookieInformation.getConsentGivenFor(‘cookie_cat_marketing’);
}
Source: https://support.cookieinformation.com/en/articles/5451615-google-tag-manager-implementationI am guessing this has to be something others have found a solution for, although I am unable to find it with my own searches.
The page I need help with: [log in to see the link]
- The topic ‘GTM trigger without using trigger groups’ is closed to new replies.