Dear all,
I am new on wix and new with coding. I try to make my website GDPR compliant with a cookie bar. The cookiebar you can download in the wix sore is unfortunately not GDPR compliant so, I was looking for another option. I would like to give my visitors the option to control their cookies.
A good option I found on the internet is: cookiebot.com. You have to fill in your site details and the Cookiebot creates a code for you. I paste this code on my wix site in a html frame but it is not working. Has someone at this form experience with connection WIX and Cookiebot or does someone know another option to be GDPR compliant instead of cookiebot?
I look forward to your reactions.
2 Likes
Take the scripts and add them through Site Manager and Track & Analytics Custom Code. Then it will work.
Hi Andreas, Niels,
I’ve done what Andreas suggests and it works… but I haven’t been able to put the second cookiebot script that lists the cookies and the content of the cookie policy in a another page. This is kind of problematic because this is where the user would get access to change his consent. Any ideas how to do this?
Have you added it to all pages?
I added the “consent banner” script as a HEAD custom script on all pages. This works fine and as it should. The problem is with the “cookie declaration” script. I want to show this in a separate Privacy Policy page. I’ve done this already in another two sites that run on Concrete5 with no problem. But since you can’t access the HTML code on Wix I haven’t been able to do it. I’ve tried adding the script as a custom BODY script, and it only shows when I put it in the BODY-END section. But it doesn’t show the whole thing and it doesn’t respect the format of the page since it’s not inserted in the right location. Using an HTML frame as Niels did doesn’t do anything.
Hi Andreas, thank you very much for your helpful feedback. I implemented the code and it is working right now!
Hi all, I am having the same problem as Roberto - have managed to get the pop up working fine using the tracking and analytics tip mentioned above, but adding the cookies information section to the body (either via the html frame on the page or the tracking and analytics tool) doesn’t do anything. Any tips?
Hi Lucy, I “kind of” made it work. If you put the script in an html frame you need to add some html code, otherwise it doesn’t recognize it. but it works if you put for example:
However, this does not allow the user to change the consent. it only displays the cookies used. I’ve concluded that both scripts work in tandem, and since the html frame is effectively “another page” it doesn’t link the scripts and therefore cannot disable the cookies. As I’ve read, it could in theory be possible to pass the necessary variables between the container and the frame, but you’d have to de-construct the cookiebot scripts to know what to do, something I’m not inclined to do (and quite frankly shouldn’t be necessary, having access to the html code of the page would make it a piece of cake).
In short, if all you want to do is show the cookies but not manage consent, this will work for you. If you want to be fully compliant with GDPR and manage consent, this is still not enough.
Thanks Roberto - I think I may need to ask around my web design friends to see if they can figure this out, as it is getting way beyond my very limited knowledge!! Ah, GDPR, making small businesses everywhere pull their hair out!
I can not get it to work. See below how I did it. Am I doing something wrong?
@Lucy, @daanschwalbe, it seems we’re not the only ones with this problem, Cookiebot has recently added this problem to their support page: https://support.cookiebot.com/hc/en-us/articles/360004009853-Wix-installation
I haven’t tried doing it this way myself, but I’ll post something if I get to work right. Also, @daanschwalbe, what you did looks correct, I don’t know why it isn’t working, but maybe you cant try doing what Cookiebot suggests.
Small update. The Cookiebot article I posted seems to be based on an older version of the iframe/html embed app. It doesn’t really work and our current solution using the custom script is better. I also tried the putting the Google Analytics tool as a script instead of using the Wix pre-defined tool. This allowed me to modify the script and allow the prior-consent issue that is mentioned in the Article, at least this works for the “Statistics” cookies.
I also left a request in the Cookiebot support site, even if they can’t/won’t help at least they’ll fix the article. So, at least from my side, the only thing missing is to be able to change consent in the declaration script.
@Roberto.camp. Thank you for replying. Can you make a screenshot of how you did it? That would be very helpful. Thank you in advance.
It’s exactly the same as yours, but here it goes:
As I recall it doesn’t matter if you put Load once, or on each new page. If it still doesn’t work try deleting your cookies and reload the page (or try another browser), it might be that cookies are already set as accepted and that’s why it doesn’t show for you. Also, make sure the script is enabled.
I still can’t get it to work. Is it possible that I need to go through some steps at cookiebot. I just subsribe and then copy the scripts. Am I missing some steps?
Hi again, yes you are. You’re supposed to add your domain into Cookiebot. Just click the “Plus” sign and add your domain name (e.g. www.google.com). Just add the one for the website you’re trying to configure on Wix. Keep in mind that if you’re not paying Cookiebot you can only put 1 domain name.
Hi all, how can I make the cookiebot plugin work using the free version of a Wix Site?
Is there any possibility?
Thank you for your help.
Hi All. I have the cookiebot working on my site but WIX seem reluctant to share what their cookies do (except for their basic cookies). Has anyone with a webstore updated cookiebot with cookie type and description etc? If so where did you get the information from?
@Ambra, I guess the URL that you get from Wix counts as a valid domain, you could try adding that to cookiebot and see if it works.
@richard_danson, I haven’t gotten that far since I haven’t been able to get the “change consent” link on the cookie listing script to work. Did you manage to do this? and if so, do you think you could share how you did it?
@robert.camp I may be misunderstanding you but my solution (and one large business websites seem to use is) list all cookies and what they do in a page (where they cannot control individual cookies - though I am providing information on how they can do that separately). Then have the cookie pop up allowing users to turn off all analytics cookies in one go for example (or marketing etc). I think you had both of these working though and wanted more functionality.
At the moment the majority of cookies are misc. as I need to inform cookiebot how to categorise them though.
Website: https://www.richarddansonart.co.uk/