The plugin still seem to be dropping cookies, and there is no way to opt-out of this if you’re not logged in?
Hi,
I’ve managed to make this work by adding this code into the functions.php file. I’ve got the CookieBotAddons cloned on github to try and update it on there too.
function my_embed_oembed_html($html, $url, $attr, $post_id) {
return ‘<div class=”cookieconsent-optin-preferences”>’ . $html . ‘</div>
</br>
<div class=”cookieconsent-optout-marketing”>Please accept marketing-cookies to view this content.</div>’;
}
add_filter(’embed_oembed_html’, ‘my_embed_oembed_html’, 99, 4);
Thread Starter
rinch
(@rinch)
Thanks, so to clarify: If we use GTM to fire things like Crossdomain link tracking, I have to set the whole thing in up GTM. I can’t combine the two?
Thanks,
Becky