--- 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' metadata: effectiveApiVersion: '' affectedApi: [] primaryTag: displayName: Themes handle: dev_themes secondaryTag: displayName: Breaking API Change handle: breaking-api-change indicatesActionRequired: false createdAt: '2025-06-09T16:27:59-04:00' postedAt: '2025-06-16T12:00:00-04:00' updatedAt: '2025-06-16T11:00:25-04:00' effectiveAt: '2025-06-16T12:00:00-04:00' --- 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); }); ```