Is there any way to configure a Tag to fire only outside of the GDPR and GDPR UK?

I would like to load an alternative privacy notice outside of the GDPR and UK. I would prefer not to use a geo-targeting api on my site and am wondering if there is any way to do this via a content Tag, perhaps a condition that checks if the ppms_privacy_* cookie has been set?

Thanks,
Martin

Hi @Martin_O,

I think it might be a bit difficult to recognize visitors outside of the mentioned regions without having some sort of GeoIP matching first. Perhaps if you have your website split up into different countries (e.g. example.com/uk/ or example.com/de/) then it would be possible.

When it comes to the Piwik PRO setting that you might have seen before:

When it’s enabled and the visitor enters from one of the regions not included in GDPR/UK GDPR we will add some additional headers to the request and dynamically disable the Consent Manager in the Piwik PRO container. This means that there is no Consent Managment API and no ppms_privacy cookie.

If you decide to use this setting, I think you should be able to insert the custom consent form based on the Consents built-in Tag Manager variable. It should return undefined in case the consent manager gets disabled.

Thank-you for the explanation. I have managed to get it working by checking for the setting of the privacy cookie after a 3 second delay. The delay is not ideal, but if I make it shorter it sometimes loads the other script before the cookie. I will also try the other method you suggest and load it when the Consents JS variable returns undefined.