> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Setup Upstack Custom Pixel Privacy Settings

> Configure consent mode and privacy settings on the Upstack Data custom pixel in Shopify — control which events fire for opted-out shoppers while preserving attribution for opted-in shoppers.

<Tip>
  * In Shopify Admin, navigate to **Settings → Customer events** and select your Upstack Data Custom Pixel.
  * For **Permission**, choose **Not required** — the pixel will always run.
  * For **Data sale**, choose **Data collected does not qualify as data sale** — the pixel will collect data even when a customer opts out of their data being sold.
  * Click **Save**.
</Tip>

## Prerequisites

* The Upstack Data app installed on your Shopify store

* The **UpstackData** Custom Pixel already added under **Shopify Admin → Settings → Customer events** (see [Complete How-To Guide for Setting Up the Upstack Data App in Shopify](/guides/shopify/complete-how-to-guide-for-setting-up-the-upstack-data-app-in-shopify))

* [Shopify Admin](https://admin.shopify.com) access with permission to manage Customer Events

## Key points to remember

When configuring the Upstack Data Custom Pixel in Shopify, several options control consent mode. These settings can have a material impact on your tracking, data quality, and attribution.

If you are running cookie consent banners, ensure they are properly configured to get the most accurate data. If **Permission: Required** is set, the Custom Pixel will not load or track user behavior until the consent banner is accepted.

<Note>
  **Privacy regulations vary by jurisdiction.** This does not constitute legal advice. We recommend you consult your legal representative to determine which settings are appropriate for your business.
</Note>

## Configuration steps

<Steps>
  <Step title="Sign in to Shopify Admin">
    Sign in to your [Shopify Admin](https://admin.shopify.com).
  </Step>

  <Step title="Open Customer events">
    * In the bottom-left of the page, click **Settings**.

    * In the settings menu, click **Customer events**.

          <img src="https://mintcdn.com/upstackdata-afbed50d/r7kPU9Z0Ocj96UFU/images/intercom/6b09614da10f15b2.png?fit=max&auto=format&n=r7kPU9Z0Ocj96UFU&q=85&s=95cd5f11be40e49f52d515c9082e0140" alt="" width="3113" height="1812" data-path="images/intercom/6b09614da10f15b2.png" />

          <img src="https://mintcdn.com/upstackdata-afbed50d/40dgTTn1PLjePhJa/images/intercom/ff8eddc1d9410a4e.png?fit=max&auto=format&n=40dgTTn1PLjePhJa&q=85&s=f0ac63ddfa8d670ec8d8c56eb05c3041" alt="" width="3113" height="1812" data-path="images/intercom/ff8eddc1d9410a4e.png" />
  </Step>

  <Step title="Select the UpstackData Custom Pixel">
    From your list of pixels, click the **UpstackData** Custom Pixel.

    <img src="https://mintcdn.com/upstackdata-afbed50d/r7kPU9Z0Ocj96UFU/images/intercom/72f89cd2e8436edb.png?fit=max&auto=format&n=r7kPU9Z0Ocj96UFU&q=85&s=17f96957312b1f6b49d93f56ecdb7512" alt="" width="3113" height="1812" data-path="images/intercom/72f89cd2e8436edb.png" />
  </Step>

  <Step title="Configure privacy settings">
    For maximum attribution and data quality, set the following:

    * **Permission:** *Not required*

    * **Data sale:** *Data collected does not qualify as data sale*

    Click **Save** to update the Upstack Data Custom Pixel privacy settings.

    <img src="https://mintcdn.com/upstackdata-afbed50d/a7q81tQDxtvowAUn/images/intercom/33605cebcc40405f.png?fit=max&auto=format&n=a7q81tQDxtvowAUn&q=85&s=5daa0a25d6adbbfd0aa6c4f912aa3058" alt="" width="3113" height="1812" data-path="images/intercom/33605cebcc40405f.png" />

    <Warning>
      **Upstack Data does not sell any data.** We are a privacy-first solution and committed to adhering to the regulations for each jurisdiction.
    </Warning>
  </Step>

  <Step title="Verify the settings are saved">
    * Refresh the Custom Pixel page in [Shopify Admin](https://admin.shopify.com) and confirm the **Permission** and **Data sale** values match what you selected.

    * In the [Upstack dashboard](https://app.upstackdata.com), open **Event Health** and confirm events continue to arrive after the change.
  </Step>
</Steps>
