You can integrate and control your third-party tags with UniConsent CMP. Then load your third party javascript tags conditionally based on the user's consent.
There are multiple ways to do the integration: Integrate with Google Tag Manager or other tag managers, or integrate by updating your JavaScript tags on page
.
You can also use UniConsent Tags Loader
to manage your third party tags.
If you have Google Tag Manager on your website:
Step 1. Add a third party vendor at CMP and get the vendor ID.
Step 2. Setup custom event trigger 'unic_data' is firing when a user's consent is available on the page.
Step 2.1. Setup data layer variable UNIC_IS_LOAD:
unic_data
with UNIC_IS_LOAD = 1:unic_data
:customVendors.1
= true to load the 1st third party tag.You can also load customVendor tags based on the other data layer variables.
If you have tags installed directly on web pages:
Please check the docs at /docs/tutorials/unicscript.