cookiebot
Forum Replies Created
-
Alright @erreeme. Found the issue. The event listener had the wrong name.
CookiebotCallback_OnDialogInitshould beCookiebotOnDialogInitTry using (with custom logic):
window.addEventListener('CookiebotOnDialogInit', function (e) { CookiebotDialog.multiAcceptText = "My own OK"; }, false);Of course you can choose to set Spanish as the default language.
Let us know how if it works 🙂
@erreeme We would like to have a look again. Could you revert your changes back to what you had in this post:
https://wordpress.org/support/topic/configuration-details-toggle-in-custom-popup/#post-10722363
?
Thanks
Hi @erreeme
We had a look at your site.
Could you try:
CookiebotDialog.dialog.multiAcceptText = "ONARTU"Instead of
CookiebotDialog.multiAcceptText = "ONARTU"(add the .dialog property)
And
var currentUserPageCulture = "eu"; //default to BasqueInstead of
var currentUserPageCulture = "en"; //default to English- This reply was modified 7 years, 7 months ago by cookiebot.
Can you send your domain name to: wpsupport@cybot.com, so that we can have a look at your website?
Thanks in advance
Hi @fabiobra
Thanks for reaching out!
I just checked your website in Chrome, and the banner shows for me.
The banner will only be displayed 1 time for new users, if they click OK or scroll down on your page. Next time the banner will be visible for that user is after 12 months.
If you want to test, you can delete the cookie called CookieConsent from your browser, refresh your page, and the banner will be visible again.
See this image on how to delete cookies from your browser (push F12 in Chrome to access the developer tools):
Hope this helps!
Hi @erreeme
This should work:
window.addEventListener('CookiebotCallback_OnDialogInit', function (e) { CookiebotDialog.multiAcceptText = "My own OK"; }, false);If you can figure out what language the user is on through JavaScript, you can then use that logic to set different text:
var currentUserPagePathname = location.pathname.toLowerCase(); var currentUserPageCulture = "en"; //default to English if (currentUserPagePathname.indexOf("/fr")==0) { currentUserPageCulture = "fr"; } else if (currentUserPagePathname.indexOf("/es")==0) { currentUserPageCulture = "es"; } window.addEventListener('CookiebotCallback_OnDialogInit', function (e) { if(currentUserPageCulture = "en") { CookiebotDialog.multiAcceptText = "My own OK"; } }, false);Thanks for the review. We appreciate your feedback.
Stopping cookies before accepting is called: “Prior consent”.
There are two ways you can enable this with Cookiebot. Please read the following answer:
https://wordpress.org/support/topic/cookiebot-where-are-the-script-tags/#post-10716870
Thanks for reaching out!
Did you watch the video on implementing prior consent?
When you open Cookiebot in WordPress, there is a menu item called “Prior consent”. If you access the “Prior consent” page, you can enable automatic prior consent on YouTube videos.
Have a look at below screenshot
Moreover, our help page describes how you can implement prior consent manually:
https://www.cookiebot.com/en/help/
Also, our community has answers to many common questions:
You’re welcome @sinaasappel
Don’t hesitate to review if you like the product 🙂
We have created an issue to add IAB to our WordPress plugin.
https://github.com/CybotAS/CookiebotWP/issues/10
It should be ready in a week or two. If you can’t wait, then you’ll have to deactivate the banner (from the settings in the plugin), and add the banner script (uc.js) manually to header.php, with the data-framework=”IAB” attribute, as described in the linked article from the previous answer.
- This reply was modified 7 years, 8 months ago by cookiebot.
Hi @sinaasappel
Thanks for reaching out!
The banner that is popping up is not from Cookiebot. It set’s a cookie called “euconsent”, whereas Cookiebot sets a cookie called CookieConsent. Can you provide us a list of all plugins you have installed, so that we can better help you solve this issue?
Also, I can see that the script for your new popup is hosted at mediavine – did you try out a cookie consent solution they provide, or? One of the scripts on your site, which is hosted at mediavine, is looking for the the “euconsent” cookie:
https://scripts.mediavine.com/cmp-f9b2c27dd253a4f49eb877e5c2fd3c307ca5cf50.js
If you are looking to integrate Cookiebot with the IAB framework, then have a look at this article:
https://support.cookiebot.com/hc/en-us/articles/360007652694-Cookiebot-and-the-IAB-Consent-Framework
We have verified and the banner is popping up as it should.
The only thing you would want to investigate, is if you have configured prior consent on Google Analytics (GA) correctly. It seems that some GA cookies are being set before consent is given.
Our GTM guide has a detailed explanation on how to do so:
https://support.cookiebot.com/hc/en-us/articles/360003793854-Google-Tag-Manager-deployment
If you need further assistance, we are here, and do not hesitate to review the plugin 🙂
- This reply was modified 7 years, 8 months ago by cookiebot.
Cookiebot stores a cookie called CookieConsent, which remembers your consent state. This cookie is in your browser for up to 12 months. You can do either of the following, to see the banner again:
1. Delete the CookieConsent cookie from your browser
2. Open your website in Incognito mode
Let us know if it works 🙂
- This reply was modified 7 years, 8 months ago by cookiebot.
It is dynamically added to the <body>, so it’s only visible if you inspect with Chrome Developer tools.
See this image:
In the Network tab we can see that it’s coming from GTM:
If you want to use Cookiebot with GTM, you can disable the banner (uc.js) from being displayed by the plugin (there is a checkbox for it). This way you will still be able to use the declaration shortcode and prior consent addons.
It seems that Cookiebot is rendered twice on your website.
Inspecting your source code, we see the following tags:
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="4f9ef948-6bfb-4d2f-9cc3-d0ffead424a8" data-culture="NL" type="text/javascript" async=""></script>and
<script type="text/javascript" id="Cookiebot" src="https://consent.cookiebot.com/uc.js?cbid=4f9ef948-6bfb-4d2f-9cc3-d0ffead424a8"></script>The Cookiebot WP plugin is inserting the first one in the
<head>section. Do you know where the second one is coming from? Did you perhaps insert it manually in your template?- This reply was modified 7 years, 8 months ago by cookiebot.