> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/sources/shopify/headless-shopify/upgrading-to-the-advanced-tracking-script.md).

# Upgrading to the Littledata Pixel

The **Littledata Pixel** is our recommended approach for headless Shopify setups and replaces our [previous headless SDK](https://www.npmjs.com/package/@littledata/headless-shopify-sdk), bringing you several new benefits:

* Robust event tracking for headless stores to Google Analytics, Google Ads, Meta Conversions API, TikTok Events API, and Pinterest Conversions API
* [Tracking redundancy](/sources/shopify/littledata-pixel.md#redundant-tracking-setups) for Meta, TikTok, and Pinterest, offering better event reliability
* Supports the latest Shopify features, such as accelerated checkouts

{% hint style="warning" %}
**Deprecation notice**

Support for the previous headless SDK is being phased out. Starting **January 2026**, Littledata will no longer process tracking calls via the headless SDK.
{% endhint %}

## **Upgrading to the Littledata Pixel**

Upgrading is made easily via the instructions in our in-app dashboard.\
For a complete installation guide and information about the Littledata Pixel, please refer to our [documentation](/sources/shopify/littledata-pixel.md).

{% hint style="info" %}
The checkout must be on the same root domain — e.g. [store.domain.com](https://store.domain.com) and [checkout.domain.com](https://checkout.domain.com)
{% endhint %}

## Compatibility with the previous headless SDK

### Can both solutions run at the same time?

Yes. The Littledata Pixel and the headless SDK can coexist on your store without causing any conflicts; however, we recommend the pixel as the single headless solution.

### Will this result in duplicate event tracking?

No, duplicate event tracking will not occur. The Littledata Pixel loads only on Shopify checkout and thank you pages, while the headless SDK is not loaded on the Shopify checkout.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.littledata.io/sources/shopify/headless-shopify/upgrading-to-the-advanced-tracking-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
