> ## 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 Remove Duplicate Reddit Pixel Installations in Shopify

> Remove duplicate Reddit pixel installations from Shopify Customer Events, theme.liquid, and third-party apps to prevent inflated conversion metrics when activating Upstack Data.

<Tip>
  * Reddit does **not** have a native Shopify sales channel like Meta or TikTok — Reddit pixels on Shopify are typically installed manually.
  * If multiple Reddit pixels with the same ID are firing, conversions get counted more than once.
  * Consolidate to a **single** browser pixel installation, then let Upstack handle server-side delivery via CAPI.
  * Reddit deduplicates the browser pixel and CAPI events automatically using the shared `conversion_id`.
</Tip>

<Note>
  **Why this matters**

  Unlike Meta or TikTok, Shopify does not have a native Reddit sales channel pixel. Brands typically install the Reddit pixel via Shopify Customer Events, theme.liquid edits, third-party apps, or Google Tag Manager. When **multiple** Reddit pixels with the same Pixel ID are firing on the same page, Reddit cannot deduplicate them without a shared `conversion_id`, which results in inflated conversion counts and degraded campaign optimization.

  Once you activate Upstack's Reddit destination, the Upstack Pixel handles browser-side capture and forwards a deduplicated server-side event to Reddit CAPI. Any **additional** Reddit pixel installations on the same store should be removed.
</Note>

## Prerequisites

Before you start, you need:

* Shopify owner or staff access with **Customize Theme** and **Customer Events** permissions
* A list of all your existing Reddit pixel installations (theme code, apps, GTM tags)
* Your Reddit Pixel ID — see [How to find your Reddit Pixel ID](/guides/reddit-ads/how-to-find-reddit-pixel-id)

## Common locations to check

Reddit pixels can be installed in any of these places. Check each one:

| Location                   | How to access                                                                      |
| -------------------------- | ---------------------------------------------------------------------------------- |
| Shopify Customer Events    | **Settings → Customer Events** in Shopify admin                                    |
| Theme files                | **Online Store → Themes → Edit Code** — look in `theme.liquid` and header snippets |
| Third-party apps           | **Apps** in Shopify admin — search for "Reddit"                                    |
| Google Tag Manager         | GTM workspace → **Tags** — filter by "Reddit"                                      |
| Checkout extension scripts | Plus stores: **Settings → Checkout → Order status page additional scripts**        |

## Steps to remove duplicate Reddit pixels

<Steps>
  <Step title="Inventory all current Reddit pixel installations">
    Before removing anything, document every place a Reddit pixel is firing:

    1. **Customer Events**: Go to Shopify admin → **Settings → Customer Events** and check for any custom pixels referencing `rdt(` or `reddit`.
    2. **Theme code**: Open **Online Store → Themes → Edit Code** and search the entire theme for `rdt(` or `redditstatic`.
    3. **Apps**: Look for any Reddit-branded apps under **Apps** in the Shopify admin.
    4. **GTM**: If you use Google Tag Manager, search for tags with names containing "Reddit" or scripts referencing the Reddit pixel.

    Make a list of every location and the Pixel ID each one references.
  </Step>

  <Step title="Identify the canonical Reddit pixel">
    Decide which **single** Reddit pixel installation will remain. Recommended order of preference:

    1. **Shopify Customer Events** — most reliable, fires on checkout pages, easiest to maintain.
    2. **Theme.liquid** — works for older themes that don't support Customer Events.
    3. **Third-party app** — only if the app provides functionality you need beyond pixel firing.

    All other installations will be removed in the next steps.
  </Step>

  <Step title="Remove duplicate Customer Event pixels">
    In Shopify admin, go to **Settings → Customer Events**.

    For each Reddit-related custom pixel that is **not** your canonical installation:

    1. Click the pixel to open its details.
    2. Click **Disconnect** or **Delete** in the top-right.
    3. Confirm the action.

    <Warning>
      Disconnecting a custom pixel stops it from firing immediately. There is no undo, so confirm you have a backup of the script if you may need it later.
    </Warning>
  </Step>

  <Step title="Remove Reddit pixel code from theme files">
    Open **Online Store → Themes → Edit Code** and search the theme for `rdt(` and `redditstatic`.

    For any matches that are **not** your canonical installation:

    1. Open the file containing the code.
    2. Delete the Reddit pixel script block (typically wrapped in `<script>` tags).
    3. Save the file.

    Common files to check: `theme.liquid`, `layout/theme.liquid`, `snippets/header.liquid`, `snippets/google-analytics.liquid`.
  </Step>

  <Step title="Uninstall duplicate Reddit pixel apps">
    Go to **Apps** in the Shopify admin and locate any Reddit pixel apps that are not your canonical installation.

    Click **Delete** to uninstall the app. Confirm by reviewing app data deletion in the popup.
  </Step>

  <Step title="Remove duplicate GTM Reddit tags">
    If you use Google Tag Manager, sign in to your workspace and navigate to **Tags**.

    Filter for "Reddit" or search for tags referencing `redditstatic.com` or `rdt(`.

    For each tag that duplicates your canonical pixel:

    1. Click the tag to open it.
    2. Click the trash icon (top-right) to delete it.
    3. **Submit** and **Publish** a new GTM workspace version to deploy the change.
  </Step>

  <Step title="Verify only one Reddit pixel is firing">
    Open your storefront in a new browser tab with the [Reddit Pixel Helper Chrome extension](https://chromewebstore.google.com/) installed (search "Reddit Pixel Helper" in the Chrome Web Store).

    Navigate through your store: home page, product page, add-to-cart, and checkout.

    The Pixel Helper should show **exactly one** pixel firing per event. If you see duplicates, return to the previous steps and remove the additional installation.
  </Step>

  <Step title="Activate Upstack's Reddit destination">
    Once duplicates are removed, your single browser pixel and Upstack's CAPI integration will work together cleanly. Reddit will deduplicate using the shared `conversion_id`.

    Confirm the Upstack Reddit destination is **Healthy** in your dashboard. See [How to configure the Reddit destination](/guides/reddit-ads/how-to-configure-reddit-destination-in-upstack-data) if it isn't already set up.
  </Step>
</Steps>

<Note>
  **What if I want Upstack to be the only Reddit data source?**

  You can also remove **all** browser-side Reddit pixel installations and let Upstack handle 100% of Reddit tracking server-side. This works, but you'll lose real-time pixel signal in Reddit's Events Manager. The recommended setup is to keep one browser pixel and let Upstack add the CAPI layer on top.
</Note>
