GTM multiple triggers


1 comment

  • Hi Jesper,

    From the screenshot above I can see that you are using both 'cookie_consent_statistics' and 'All Pages' triggers. But the cookie_consent_statistics event replaces the "All Pages" event. Therefore in this case using both means that the tag will always fire.
    You could also pair an event like click with a custom variable that checks the consent level using trigger groups. For example:

    function() { 
    return Cookie.consent.statistics.toString();

    Please note that then all conditions must be true. So you would need to be sure to use AND not OR.


    Comment actions Permalink

Please sign in to leave a comment.