Website shows different prices to Googlebot and users due to localization method
A developer found their pricing page returns different prices to regular users and Googlebot. The site uses geolocation to show approximate local currency figures, while subscriptions are billed in British pounds. To avoid a price flicker as JavaScript loads, the site reads the user's country from request headers during server-side rendering, which prevents caching. This approach also avoids using cookies, allowing the site to maintain a no-consent-banner cookie policy.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in