Here's how our solution works:
- The user provides their consent for a cookie: Axeptio allows the third-party script to place the cookie in question.
- The user does not give their consent for a cookie: Axeptio does not allow the third-party script to place the cookie in question.
For this to work, Axeptio must have control over the script's triggering, which occurs either through GTM (Google Tag Manager) or directly in JS (JavaScript).
When using a WordPress plugin, Axeption does not have control over the script being triggered. The plugin is loaded when the site opens, regardless of the user's consent.
Therefore, if you want your third-party plugin to be subject to consent, you should plan for it to be loaded through either GTM or JS and then configure the script to load based on the user's consent.
✅ This is set up using the Axeptio events provided on your admin page.