Prevent Consent Manager Events from going to PP Analytics (in some cases)

We have troubles with the Consent Manager Events (no matter if Cookie Information or PP).

We want to fire them manually or a bit later, they often come before the first Pageview Event of the data layer. Also if we think that a user is a Bot, we may not want to fire the Consent Impression Events.

Afai understand, there is no way however to prevent these Events from firing PP Analytics. This is a hard-coded hidden Tag within PP TM and I see no place to change or edit it. Would it respond to changes made via the API?

Would also be nice to add in Custom Dimensions to these Events, atm they are completely “isolated” from the rest.

I can brutally hack this by overwriting the tag’s code like this in a prioritized Custom HTML Tag, but that does not seem like a good idea:

sevenTag.tags["a7d16374-4f6b-4ef2-95d7-25d2e37201aa"]["code"] = "\x3Cscript>console.log('halloooo');\x3C/script>";

Hi Lukas,

We touched on this topic a little here: Does CookieInformation give me a better way to control when the Consent Impression fires? . The only way to customize these events is by using a custom consent banner where you will have complete control over the events and when they fire.