--- title: The _shopify_country cookie will no longer be set - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/shopifycountry-cookie-no-longer-set md: https://shopify.dev/changelog/shopifycountry-cookie-no-longer-set.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 16, 2025 Tags: * Themes # The `_shopify_country` cookie will no longer be set ### What's changing? Starting on August 15th, 2025, Shopify will no longer set the `_shopify_country` cookie on merchant storefronts or checkout. ### Required updates Developers looking to establish the customer's location can use the [Customer Privacy API's `getRegion` method](https://shopify.dev/docs/api/customer-privacy#check-customer-location), which will be more reliable than the cookie now being removed. Example JavaScript code: ``` window.Shopify.loadFeatures([ { name: 'consent-tracking-api', version: '0.1', }, ], function (error) { if (error) { throw error; } // "CAON" let region = window.Shopify.customerPrivacy.getRegion(); // "CA" let country = region.slice(0,2); }); ```