I'm trying to build a proper cookie consent form for our shop using the Customer Privacy API (https://shopify.dev/docs/themes/consent-tracking-api). I know this only works for Euopean customers so I'm using a VPN to obtain a European IP address and tunnel my traffic through the VPN. I'm located in Canada.
Every single time, no matter if I'm using a VPN or not, the shouldShowGDPRBanner() method always returns false (it should be true for European customers). The userCanBeTracked() method always returns true (this should be false for European customers). Essentially, it doesn't look like Shopify is properly detecting my location, therefore the GDPR banner would never load. This is always done using incognito/private browsing windows so that there are no prior cookies tracking our consent.
I have enabled the options for Limit tracking for customers in Europe and Limit the third-party sale of your California customers’ data in the shop's settings.
Has anyone had any success using a VPN to test out the GDPR tracking options outside of Europe? If so, could you provide me with a link to the VPN service that worked for you, or any alternative way you got this working?
Any help with this is greatly appreciated.