_tracking_consent, _landing_page, _orig_referrer cookies will no longer be set

Shopify Updates: 

What's changing?

Starting on September 15th, 2025, Shopify will no longer set the following cookies on merchant storefronts: - _landing_page - _orig_referrer - _tracking_consent

Required updates

While accessing internal cookie values is never recommended as they frequently change, any code that currently accesses the cookie values will need to be adapted to use documented APIs.

landingpage and origreferrer

We recommend keeping track of these values through browser APIs (window.location.href to save the landing page, and document.referrer for the referrer). To keep track of these values through the user’s session, you may use the Web Pixels API. In the GraphQL Admin API, you can access this information by querying an order:

query referrerData {
  order(id: "gid://shopify/Order/14134963208214") {
    customerJourneySummary {
      lastVisit {
        landingPage
        referrerUrl
      }
    }
  }
}

trackingconsent

Please use the Customer Privacy API.

Back to blog