---
title: >-
  _tracking_consent, _landing_page, _orig_referrer cookies 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/posts/trackingconsent-landingpage-origreferrer-cookies-will-no-longer-be-set
  md: >-
    https://shopify.dev/changelog/posts/trackingconsent-landingpage-origreferrer-cookies-will-no-longer-be-set.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation announcement
    handle: deprecation-announcement
  indicatesActionRequired: true
  createdAt: '2025-08-04T06:41:25-04:00'
  postedAt: '2025-08-04T12:00:00-04:00'
  updatedAt: '2025-08-04T11:12:54-04:00'
  effectiveAt: '2025-12-31T12:00:00-05:00'
---

August 4, 2025

# \_tracking\_consent, \_landing\_page, \_orig\_referrer cookies will no longer be set

DateAugust 4, 2025

Flags[Deprecation announcement](https://shopify.dev/changelog?filter=deprecation-announcement)[Action required](https://shopify.dev/changelog?action_required=true)

SurfacesAPI

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

#### \_landing\_page and \_orig\_referrer

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](https://shopify.dev/docs/api/web-pixels-api). In the GraphQL Admin API, you can access this information by [querying an order](https://shopify.dev/docs/api/admin-graphql/latest/queries/order):

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

#### \_tracking\_consent

Please use the [Customer Privacy API](https://shopify.dev/docs/api/customer-privacy).
