Prevent triggers from firing in GTM
How to prevent triggers from firing, if consent has not been given on certain or all cookie categories.
Creating a variable
function() { return legal.getCookieConsentState().analytics; }
Using the variable with a trigger

Last updated