Hi @anirudh5bs,
Thanks for reaching out. CartBounty relies on the data provided by WooCommerce geolocation service. Have you correctly enabled and updated MaxMind geolocation integration?
Hi, thank you for your response.
You could try changing “Default customer location” to “Geolocate (with page caching support)” and see if that makes a difference.
You should also check if your server or website is maybe using CDN which can cause various caching issues including WooCommerce inability to properly geolocate customer’s IP address.
Hello, i checked with changing “Default customer location” to “Geolocate (with page caching support)”, currently site is connected in cloudflare. is there any steps i need to do in cloudflare?
Hi @anirudh5bs and thank you for responding with additional details.
Cloudflare indeed can affect WooCommerce Geolocation because Cloudflare acts as a proxy, meaning all requests to your server come from Cloudflare’s IP addresses instead of the real visitor’s IP. This can cause WooCommerce geolocation to detect Cloudflare’s IP rather than the actual customer’s location.
since we do not have experience with Cloudflare, you should be better off looking into similar issues already posted online or reaching out to Cloudflare support to resolve the geolocation issue. Here are a few of the topics we were able to find about Cloudflare geolocation issues in WooCommerce:
1) Cloudflare incorrect geolocation for website
2) Geolocation for Woocommerce not working good with Cloudflare
3) Cloudflare confusing GEO location plugin for wordpress / woocommerce