You might need to add JavaScript to your website, only it should only be trigger when a certain type of consent has been given. There are 3 options:
- Add the JavaScript snippet to our Script Center. Either in the first snippet box or, if you have an asynchronous snippet, you can use the second snippet box.
- Use Google Tag Manager for this purpose. You can use the Complianz event triggers for this purpose.
- Add JavaScript however you like, but change the actual snippet to adjust for Complianz.
We will discuss option number 3 in this article.
Changing the snippet so Complianz won’t block before consent.
If you want to tell Complianz it should not block your javascript add the following property:
Changing the snippet so Complianz will activate on Statistics.
If you want to tell Complianz it should block your javascript until consent for statistics is set use:
Changing the snippet so Complianz will activate on Marketing.
If you want to tell Complianz it should block your javascript until consent for marketing is set use: