---
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/posts/tracking-cookie-deprecation-hydrogen'
  md: 'https://shopify.dev/changelog/posts/tracking-cookie-deprecation-hydrogen.md'
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2026-01-16T06:43:34-05:00'
  postedAt: '2026-01-17T12:00:00-05:00'
  updatedAt: '2026-01-16T08:46:44-05:00'
  effectiveAt: '2026-01-17T12:00:00-05:00'
---

January 17, 2026

# Deprecating shopify\_y and shopify\_s cookies for Hydrogen

DateJanuary 17, 2026

FlagsNew

SurfacesAPI

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).
