Canddi Live Chat | WordPress.org

[ad_1]

Hi @wordpressforumhelp,

You can modify its’ <script></script> tags to wait for consent in the Complianz banner. Examples below:

// Statistics
<script type="text/plain" data-category="statistics"></script>
// Marketing
<script type="text/plain" data-category="marketing"></script>

Kind regards,
Jarno

Hi @jarnovos

Thanks for the quick reply…

Sorry for sounding dumb…
Do I remove it from the headers and footers script and then move it to Script Centre…?

I tried this and I just get the
“missing “;” before statement
error message… in Add a third party script.

Thanks

Hi @wordpressforumhelp,

When applying my suggestion to the code you shared, you’ll get the below result which can then be added to Header Footer Code Manager, just like your current implementation.

<script async type="text/plain" data-category="statistics" src="//cdns.canddi.com/p/xxxxxxxxxxxxxxxxxxxx.js"></script>

Kind regards,
Jarno

Hi @jarnovos

Great that worked a treat… have a great day ahead.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer