Geotargeting is a feature that helps in displaying consent banners as per the user’s location. This customization can be useful for delivering region-specific content, complying with local regulations, or tailoring the user experience based on location preferences. This article explains the steps needed to create a geo-targeted cookie message bar using WebToffee’s GDPR Cookie Consent Plugin.
Steps to geotarget cookie banner
- From the WordPress dashboard, go to GDPR cookie consent > Cookie banner.
- Then, enable the geo IP feature from the General tab. This can be done by choosing the options available through the Geo-target banner feature. The options tend to vary on the law that is currently under customization.
- If GDPR is the law, selecting the Worldwide option displays the GDPR cookie consent banner worldwide. Selecting the option EU Countries & UK displays the GDPR cookie consent banner only for the EU and UK countries.
- When CCPA is the law, selecting the option Worldwide displays the cookie consent banner worldwide. Selecting the option United States displays the cookie consent banner for countries in the United States alone.
Following the steps will ensure that the cookie banner is geotargeted based on the user’s location and the law under which they comply.
lisa isailovic
December 8, 2021
The “Show only for EU Countries ( GeoIP )” setting is set to “On” but the cookie bar is still showing for ALL countries when I view the site in incognito mode while using a VPN and connecting through Brazil and Japan for example. The cookie bar is also showing while viewing the site in incognito mode while I’m here in the USA. Only GDPR is selected by the way. What can you suggest?
lisa isailovic
December 9, 2021
Note that the issue has been resolved.
Leanne
November 26, 2021
Hi, I just upgraded to the premium version. I wanted to have the cookies banner show for all countries at this stage but ticking “No” for “EU only” doesn’t work – I can’t see the banner. Any suggestions, is this a bug?
Mark
November 29, 2021
Hi Leanne,
Greetings from Webtoffee!
Your configuration seems to be right. It could be some other issue in the site that is causing the trouble. Refer to the instructions here and make sure that everything is in order.
If issue persists, please reach out via support.
Justin
August 18, 2021
Is there a way to have one cookie bar message display in the EU, and a different (shorter) cookie bar message display in other regions? I don’t want to turn the alert OFF outside of the EU, it just seems I’m required to have a much longer and more cumbersome message for EU visitors. Thanks.
Mark
August 25, 2021
Hi Justin,
We understand your requirement. Our plugin currently does not support multiple banner displays based on location. You only display banners in the EU locations only if the location-based exclusion options enabled.
Jorge Salgado
August 4, 2021
My comment was deleted because i asked for support? What company is this? You have afraid to tell other that this dosnt work because this or that? You must resolve customer issues just that..now i see why you have like 1 comment. What company is this?
Mark
August 4, 2021
Hi Jorge,
We can assure you that the comment is not deleted. It will be shown only when a moderator approves it.
Jorge Salgado
August 3, 2021
Your plugin just dosnt work outside Europe. In fact it deactivates the popup but it blocks everything because its still waiting for the consent. I sent an email already explaining that and I need one simple code to deactivate the plugin (do a return sor something) if its outside Europe.
Mark
August 4, 2021
Hi Jorge,
We have received your ticket and our support team is already working with you on this.
Mike
July 6, 2021
Please could you confirm if the geoIP is javascript based (on page load), or if it works on a server level? The reason I ask is because of plugins such as WP Rocket which have page caching, and I’m unsure of how compatible it is? Thanks for confirming.
Mark
July 8, 2021
Hi Mike,
It is based on javascript and will not have any issues to work with WP Rocket.