--- title: Deprecating shopify_y and shopify_s cookies for Hydrogen - 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/tracking-cookie-deprecation-hydrogen md: https://shopify.dev/changelog/tracking-cookie-deprecation-hydrogen.md --- [Back to Developer changelog](https://shopify.dev/changelog) January 17, 2026 Tags: * API # Deprecating shopify\_y and shopify\_s cookies for Hydrogen Shopify will stop setting the `shopify_y` and `shopify_s` cookies in 2026. If you use these cookies, your storefront will continue to work normally. However, if you don’t upgrade, visitor and session attribution won't be reliable in in Shopify Analytics. **For Hydrogen storefronts, upgrade by April 30, 2026.** What you need to do: * If you’re using Hydrogen (React Router) deployed to Oxygen: Run the Hydrogen CLI upgrade command. All Hydrogen versions from 2024.7 through 2025.7 include this fix. * For other setups: See instructions in the [dev docs](https://shopify.dev/docs/storefronts/headless/hydrogen/migrate/cookies).