> 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/advanced/developer/data-pipeline-settings.md).

# Changing the data pipeline settings

Every setting that controls how Littledata sends your Shopify data, where to find it, and what it defaults to.

Littledata's settings live in two places. Which one you need depends on whether the change applies to one destination or to your whole store.

| Where                    | Scope                                                   | How to get there                                                                                             |
| ------------------------ | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| **Destination settings** | One destination at a time, such as GA4, Meta or Segment | In the Littledata app, find the destination's card, click the **⋯** menu on its card and choose **Settings** |
| **Global settings**      | Your whole store, across every destination              | In Shopify admin, click **Global settings** under the Littledata app in the left sidebar                     |

### Destination settings

Destination settings are split across tabs. Which tabs you see depends on the destination.

| Tab                        | What it controls                                          | Available on                                                     |
| -------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------- |
| **General**                | Consent mode and bot filtering                            | All destinations                                                 |
| **Event Editor**           | Which events are sent, and how they are customized        | Most destinations                                                |
| **Data customization**     | Which orders are sent and how pages and lists are tracked | GA4, Meta, Segment, Pinterest, TikTok, Google Ads, Microsoft Ads |
| **Session enrichment**     | Attribution rules for orders                              | GA4                                                              |
| **Tracking customisation** | Segment-specific library behaviour                        | Segment                                                          |

Klaviyo and Attentive only have the **General** and **Event Editor** tabs. Their **General** tab also shows the connected account.

If [Shopify Markets](https://help.littledata.io/sources/shopify-markets/markets-settings) is enabled, destination settings are held per market, so you need to set them for every market.

#### General settings

| Setting           | What it does                                                                                                                                   | Available on                     | Default |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------- |
| **Consent mode**  | Makes the destination respect each customer's consent choices, as set in Shopify's customer privacy settings                                   | All except Klaviyo and Attentive | `OFF`   |
| **Bot filtering** | Filters out events from bots before they reach the destination. See [Bot filtering](https://help.littledata.io/sources/shopify/bot-protection) | All destinations                 | `OFF`   |

Each setting is per destination. Turning on **Consent mode** for GA4 doesn't turn it on for Meta.

{% hint style="danger" %}
**Consent mode** is off by default on new connections. While it's off, the destination tracks every customer as if consent had been granted, whatever your cookie banner says.
{% endhint %}

#### Event Editor

Use the **Event Editor** tab to turn events on or off and to customize what each event sends. See [Getting started with the Event Editor](https://help.littledata.io/event-editor/getting-started).

#### Data customization settings

This tab controls which orders are sent, and how page views and product lists are tracked.

| Setting                                     | What it does                                                                                                                                                                                                                                                               | Available on                                                     | Default                                                        |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------- |
| **Order identifier**                        | Which Shopify field identifies an order. See [below](https://4199ba64-3cec-466f-ab31-fa3412ebce12.frame.claudeusercontent.com/_f/1791985356-84ea/#order-identifier)                                                                                                        | GA4                                                              | Order name                                                     |
| **Product identifier**                      | Which Shopify field identifies a product. See [below](https://4199ba64-3cec-466f-ab31-fa3412ebce12.frame.claudeusercontent.com/_f/1791985356-84ea/#product-identifier)                                                                                                     | GA4                                                              | Variant ID                                                     |
| **Order channels exclusion list**           | Excludes orders from the sales channels you pick. See [how to exclude orders by order channel](https://help.littledata.io/advanced/troubleshooting/how-to-exclude-orders-by-source)                                                                                        | GA4, Meta, Segment, Pinterest, TikTok, Google Ads, Microsoft Ads | Shopify POS excluded                                           |
| **Order tags exclusion list**               | Excludes orders that have any of these tags, for example `sample order`. Tags are not case-sensitive                                                                                                                                                                       | GA4, Meta, Segment, Pinterest, TikTok, Google Ads, Microsoft Ads | None excluded                                                  |
| **Send user data**                          | Sends hashed first-party customer data to GA4. See [below](https://4199ba64-3cec-466f-ab31-fa3412ebce12.frame.claudeusercontent.com/_f/1791985356-84ea/#send-user-data)                                                                                                    | GA4                                                              | `OFF`                                                          |
| **Exclude zero-value orders**               | Stops orders with a value of 0 from being sent                                                                                                                                                                                                                             | GA4, Meta, Segment, Pinterest, TikTok, Google Ads, Microsoft Ads | `OFF`                                                          |
| **Exclude recurring orders**                | Stops recurring orders from being sent. By default they are sent as a separate event                                                                                                                                                                                       | GA4, Meta, Segment, Pinterest, TikTok, Google Ads, Microsoft Ads | `OFF`                                                          |
| **Track page views only when page reloads** | Stops a new page view firing on `history.replaceState()`. See [below](https://4199ba64-3cec-466f-ab31-fa3412ebce12.frame.claudeusercontent.com/_f/1791985356-84ea/#track-page-views-only-when-page-reloads). In GA4 it's called **Track pageviews only when pages reload** | GA4, Meta, Segment, Pinterest, TikTok                            | `OFF` for GA4 and Segment, `ON` for Meta, Pinterest and TikTok |
| **Use page type for list name**             | Uses [Shopify's page type](https://shopify.dev/docs/api/liquid/objects/request#request-page_type) as the product list name, instead of the page path                                                                                                                       | GA4, Meta, Segment, Pinterest, TikTok                            | `OFF`                                                          |

**Order identifier**

You choose the order identifier when you connect a destination. For GA4, you can change it later in the **Data customization** tab.

| Option                   | Example         | What it is                                                              |
| ------------------------ | --------------- | ----------------------------------------------------------------------- |
| **Order name** (default) | `#US1023`       | The order number plus any prefix or suffix set in your store's settings |
| Order ID                 | `5028988223651` | Shopify's internal order identifier                                     |
| Order number             | `1024`          | The order's position in your store's order count                        |

**Product identifier**

You choose the product identifier when you connect a destination. For GA4, you can change it later in the **Data customization** tab.

| Option                   | Example          | What it is                                       |
| ------------------------ | ---------------- | ------------------------------------------------ |
| **Variant ID** (default) | `46799140684068` | Shopify's internal variant identifier            |
| Product ID               | `8663410540836`  | Shopify's internal product identifier            |
| Product SKU              | `tshirt-xl-red`  | The SKU you set yourself on a product or variant |

{% hint style="info" %}
Variant ID is the default for GA4. For other destinations, the setup shows which option is recommended.
{% endhint %}

**Send user data**

GA4 accepts hashed first-party data to better attribute ads and users. Before you turn this on, [turn on user-provided data collection](https://support.google.com/analytics/answer/14077171?hl=en) in your GA4 property.

{% hint style="warning" %}
If you turn on user-provided data collection in GA4 without also turning this setting on, Google may not track purchases.
{% endhint %}

Read more about how [user data works in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/tracking-first-party-data-ga4).

**Track page views only when page reloads**

On some themes the URL changes without a new page load, for example when a shopper picks a new variant. Littledata's script tracks that as a new page view. Turning this setting **ON** stops a new page view firing on `history.replaceState()` (part of the [browser History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API)).

#### Session enrichment settings

Found in the **Session enrichment** tab of the GA4 destination.

{% hint style="info" %}
[Session enrichment](https://help.littledata.io/integrations/shopify-to-google-analytics/source-medium-customization-payment-gateway) extends Google's Measurement Protocol to give you more accurate attribution and more control over your tracking.
{% endhint %}

| Setting                                       | What it does                                                                                                                                                                                       | Default  |
| --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| **Attribution boost**                         | Improves order attribution by matching returning purchases to existing session data, such as UTM parameters                                                                                        | `ON`     |
| **Attribution boost for recurring purchases** | Keeps every recurring purchase on the original UTM parameters from the first order, so campaign attribution stays consistent                                                                       | `OFF`    |
| **Source and medium customization**           | [Your own rules](https://help.littledata.io/integrations/shopify-to-google-analytics/source-medium-customization-payment-gateway) to change how orders are attributed, based on conditions you set | No rules |

#### Segment tracking customisation

Found in the **Tracking customisation** tab of the Segment destination.

| Setting                                | What it does                                                                                                                                                                                                                                                               | Default                   |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| **Anonymize IP**                       | Masks the last part of the customer's IP address. This gives more privacy, but less accurate location data                                                                                                                                                                 | `ON`                      |
| **Include revenue on purchase events** | Adds the revenue property to order events                                                                                                                                                                                                                                  | `OFF`                     |
| **User ID**                            | Which customer identifier to use as the user ID. See [below](https://4199ba64-3cec-466f-ab31-fa3412ebce12.frame.claudeusercontent.com/_f/1791985356-84ea/#user-id)                                                                                                         | Shopify Customer ID       |
| **Regional endpoint**                  | Sends events to Segment's US or EU endpoint. This affects where Segment processes and stores your data                                                                                                                                                                     | US                        |
| **CDN for analytics.js**               | Loads Segment's analytics.js from your own domain, if you have a [proxy CDN setup](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/custom-proxy) that redirects to `https://cdn.segment.com`. Enter the full URL, with no trailing slash | `https://cdn.segment.com` |
| **Cookies to track**                   | Reads the values of the cookies you name and adds them as traits on Segment identify calls, for example `iterableEmailCampaignId`                                                                                                                                          | No cookies                |

**User ID**

You can [choose which identifier to use](https://segment.com/docs/connections/sources/catalog/libraries/website/shopify-littledata/#user-identity) as the user ID for events linked to a Shopify customer:

* Shopify Customer ID (default)
* Email
* MD5 Hashed Email
* None
* Customer metafield (enter the metafield's namespace and key in **User ID Metafield**)

### Global settings

These settings apply across every destination. In Shopify admin, click **Global settings** under the Littledata app in the left sidebar.

<figure><img src="https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-e16d3e3065938fed17c8a4a7705189e6851acead%2Fnote%20attributes%20in%20LD%20app.png?alt=media" alt=""><figcaption></figcaption></figure>

| Setting                               | What it does                                                                                                                                                                                                                           | Default |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **Product list links include images** | For themes where product images sit inside or right next to the product link. See [tracking product list views and clicks](https://help.littledata.io/integrations/shopify-to-google-analytics/tracking-product-list-views-and-clicks) | `OFF`   |
| **Product list links include prices** | Only tracks product list views and clicks where the price is part of the product link. Turn this on if the price is inside the clickable link                                                                                          | `OFF`   |
| **Debug logs**                        | Adds extra console logs that show how the script is performing                                                                                                                                                                         | `OFF`   |
| **Hide branding**                     | Removes Littledata's branding message from your browser console                                                                                                                                                                        | `OFF`   |
| **Note attributes**                   | Lets Littledata attach notes to cart and order events, which improves accuracy for reporting and server-side analytics                                                                                                                 | `ON`    |

### Related articles

* [How to exclude orders by order channel](https://help.littledata.io/advanced/troubleshooting/how-to-exclude-orders-by-source)
* [Tracking product list views and clicks](https://help.littledata.io/integrations/shopify-to-google-analytics/tracking-product-list-views-and-clicks)
* [Bot filtering](https://help.littledata.io/sources/shopify/bot-protection)
* [How destination settings behave with Shopify Markets](https://help.littledata.io/sources/shopify-markets/markets-settings)
