# Tracking & Session Management

Nosto relies on accurate session tracking to deliver personalized experiences and measure performance. Depending on how your Shopify store is built, the tracking setup may differ.

Use this page to choose the right guide for your store’s technical setup:

## Choose your Storefront Type

### Standard Shopify Storefronts

If your store uses Shopify’s built-in Online Store and a theme like Dawn, Refresh, or any other Online Store 2.0-compatible theme, this is the guide for you:

→ [Go to Standard Shopify Storefront Tracking](https://docs.nosto.com/shopify/tracking-and-session-management/standard-shopify-storefronts)

Tracking is handled through:

* The Nosto script and 2c.cId cookie
* Nosto's Shopify Pixel

{% hint style="info" %}
This is the most common setup used by merchants who manage their store using the Shopify theme editor.
{% endhint %}

### Custom Storefronts (Hydrogen, Headless & more)

If you’re using a **custom storefront**, such as one built with Shopify Hydrogen, Next.js, or another headless setup, you’ll need a slightly different tracking setup:

→ [Go to Custom Storefront Tracking](https://docs.nosto.com/shopify/tracking-and-session-management/custom-storefronts-hydrogen-headless-and-more)

Tracking can be handled through:

* Manual session token syncing to Nosto
* Nosto's Shopify Pixel
* Custom logic to bridge tracking gaps


---

# Agent Instructions: 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:

```
GET https://docs.nosto.com/shopify/tracking-and-session-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
