Overview
Shopify Markets is Shopify's cross-border commerce solution that automatically adapts storefronts for international buyers. It handles currency conversion, language translation, regional pricing, duties and import tax estimation, and geographic routing so that visitors see a localized shopping experience based on their location. These are core e-commerce localization functions that enable the storefront to serve international customers.
What This Script Does
Shopify Markets integrates into the Shopify storefront theme to detect the visitor's geographic location and apply the appropriate market configuration. This happens early in the page load to ensure the visitor sees correct pricing, currency, and language from the first render.
Key cookies set:
localization— stores the visitor's selected or detected market (country/region), currency preference, and language. Persists across sessions so returning visitors see their preferred localized experience. Typically 1-year expiry.cart_currency— records the currency for the current shopping cart to maintain pricing consistency during checkout. Session-scoped.- Standard Shopify cookies (
_shopify_s,_shopify_y) are used for broader session management.
Shopify Markets makes requests to Shopify's own infrastructure for geolocation detection (typically using the visitor's IP address) and for retrieving market-specific pricing, tax, and shipping configurations. When a visitor's detected location does not match the current storefront market, a market redirect or selector may be presented.
The localization data processing is limited to delivering the correct storefront experience — no data is shared with advertising platforms, and no cross-site tracking occurs. Currency conversion rates, regional pricing, and duty estimates are computed server-side by Shopify.
Consent & Compliance
Shopify Markets is classified as essential. Its scripts and cookies are required for the storefront to display correct pricing, currency, language, and tax information to international visitors.
Under the GDPR, Shopify Markets processes limited personal data — primarily the visitor's geolocation (derived from IP address) and locale preferences. This processing is necessary to deliver the e-commerce service correctly to the visitor and falls under the "performance of a contract" or "legitimate interest" lawful basis.
The ePrivacy Directive exempts cookies that are strictly necessary for providing the service requested by the user. The localization cookie stores the visitor's market and currency preferences, which are essential for the storefront to function correctly for international shoppers. This falls within the strictly necessary exemption, similar to language preference cookies.
Under CCPA/CPRA, the geolocation and locale preference data processed by Shopify Markets is used solely for providing the localized shopping experience. This does not constitute a sale or sharing of personal information.
Should You Block This Without Consent?
No. Shopify Markets provides core localization functionality — currency, language, pricing, and tax calculations — that is essential for the storefront to serve international customers correctly. Blocking it would result in visitors seeing incorrect pricing and potentially wrong currencies. Its cookies qualify as strictly necessary.
Consent Categories
Also Known As
Industries
Tracked Domains (1)
markets.shopify.comEssentialFrequently Asked Questions
Do I need consent to use Shopify Markets?
No. Shopify Markets delivers localization — currency, language, regional pricing, and tax — using the visitor's IP for geolocation. The localization cookie is strictly necessary for the storefront to function correctly for international shoppers.
What cookies does Shopify Markets set?
Shopify Markets sets the localization cookie (1-year expiry) storing the visitor's detected market, currency, and language preferences. The cart_currency cookie (session) maintains pricing consistency during checkout.
How does ConsentStack handle Shopify Markets?
ConsentStack classifies Shopify Markets as essential and does not block its scripts. It detects Markets via Shopify storefront localization patterns and allows the localization cookie to set without requiring visitor consent.
Other Shopify Products
Related Vendors
Manage consent for Shopify Markets
ConsentStack automatically detects and manages Shopify Markets trackers so your site stays compliant with global privacy regulations.