I am strugling with this for some time now. I followed the guide integrating the GA pageview tag and using the consent trigger (cookieconsent_statistics) to make sure that pagviews are only tracked if a user has given his consent, which works fine.
There is aso a guide on how to use tags with several triggers. I also track clicks on e-mail adresses and phone numbers, which would be firing the tag even if the user has not given his consent for Google Analytics. The guide shows how to add a second condition for a custom event using "event equals cookieconsent_statistics". I tried to do that for click triggers and time triggers but it does not work. I added "event equals cookieconsent_statistics" as a second condition, which causes the tag not to fire at all, regardless if the consent has been given or not.
I am now wondering if this only works with custom events and not the predfined triggers for clicks, time, etc.. If it should work like, it would be great to get some feedback on how to make it work.
Please sign in to leave a comment.