Shopify custom pixel vs app pixel: what is the difference?

By the HonestTag team ยท Published October 26, 2026

A Shopify pixel is a script that runs in a sandbox Shopify controls and receives the customer events Shopify publishes. An app pixel is installed with an app or sales channel and runs in Shopify's strict sandbox. A custom pixel is code a developer adds in Customer events, and it runs in a lax sandbox. Shopify's advice: "When possible, choose an app pixel" (Shopify Help Center). Neither kind can automatically pick up details from your store's page or draw on it. And Shopify says an ad blocker can block a web pixel entirely, so a browser pixel on its own is not a full record of your sales.

App pixel vs custom pixel at a glance

App pixelCustom pixel
How it gets thereInstalled with a marketing and data collection app, or a sales channelA developer adds the code in Customer events
Who writes itThe app ownerYou or your developer
SandboxStrictLax
Permissions and privacy settings"determined by the third-party app partner, and can't be changed"Yours: "Compliance with applicable laws, consents, code security, troubleshooting, and updates are your responsibility"

Sources: Shopify's App pixels and Custom pixels pages. Shopify adds: "Adding and using custom pixels is unsupported by Shopify." It recommends an app pixel for "higher security" and "automatic updates," and a custom pixel "If there isn't an app pixel available that meets your requirements" (Shopify Help Center).

Install HonestTag free and run the Mirror plan beside your current tracking. It sends no purchases or conversions to your ad platforms, so it cannot double-count a sale or change your current setup, and it shows which platform claims hold up against the new customers in your real orders. Free at any store size.

Install HonestTag free

What the sandbox takes away

Shopify says a sandboxed pixel "is restricted to the data made available within the sandbox" (Shopify Help Center). In practice:

Cookies still work, through Shopify. Sandboxed pixels are not cookie-free. Shopify's Web Pixels API gives them browser methods that "asynchronously execute in the top frame (cookie, localStorage, sessionStorage)" (shopify.dev), and its cookie object "provides a setter/getter to set cookies on the top frame" (shopify.dev).

What changed, and when

Pixels still run there: Shopify says they "automatically load on the Storefront, Checkout, Thank you page, and Order status page" (Shopify Help Center).

Where any browser pixel falls short

App or custom, a web pixel lives in the shopper's browser. Shopify says web pixels "rely on browser cookies to identify users and attribute conversions back to ad clicks" (Shopify Help Center), and:

For tracking prevention and ad blockers, Shopify adds: "your Shopify reports and order records aren't affected, because Shopify records order and analytics data when the order is processed" (Shopify Help Center). What can be lost is the link from the order back to the ad.

Get an app pixel with no code to paste. HonestTag's pixel is added when you open the app in your Shopify admin, so there is nothing to add to your theme and nothing to remove later.

Install HonestTag free

What you can do

  1. List what you have. Every app pixel and custom pixel is in the Customer events section of your Shopify admin.
  2. Prefer an app pixel when possible, as Shopify advises. Use a custom pixel when no app pixel meets your requirements.
  3. Pick your migration order. If you want to minimize missing customer events, Shopify says to connect your new custom pixel before you remove the old one. If you want to avoid duplicating customer event tracking, connect it after removing the old one (Shopify Help Center).
  4. Test it. Shopify's Pixel Helper shows whether an app pixel "is receiving data correctly when events occur on your site" (Shopify Help Center).
  5. Know that GTM stays sandboxed. Google Tag Manager can run as a custom pixel, but "pixels that Google Tag Manager loads still run within the Shopify sandbox, so the same tracking capabilities and limitations apply" (Shopify Help Center). Server-side GTM vs a Shopify app covers the server side.
  6. Keep one purchase source per platform. Two pixels sending the same purchase can count it twice. Duplicate purchase events explains why.

What HonestTag does

Frequently asked questions

Can a Shopify pixel read my store's pages?

No. Shopify says pixels can't automatically detect events or customer details from DOM scraping and can't render buttons, forms, banners or modals. App pixels run in a strict sandbox where window.document won't work, and custom pixels run in an iframe where traditional JavaScript pixels cannot access the top frame.

Can a sandboxed pixel use cookies?

Yes, through Shopify. The Web Pixels API's browser object has methods that run in the top frame for cookies, localStorage and sessionStorage, with a getter and setter for cookies. Shopify also says intelligent tracking prevention shortens or limits cookies, which reduces attribution accuracy even though the pixel still runs and sends events.

Should I use an app pixel or a custom pixel?

Shopify says to choose an app pixel when possible, and a custom pixel if there isn't an app pixel that meets your requirements. For a custom pixel, Shopify says compliance, consents, code security, troubleshooting and updates are your responsibility, and that adding and using custom pixels is unsupported by Shopify.

Does a web pixel see every purchase?

Not always. Shopify says checkout_completed is triggered once for each checkout, typically on the Thank you page, and if the page where it is supposed to be triggered fails to load, it isn't triggered at all. The order is still in Shopify; a purchase sent from the order does not depend on that page.

Does HonestTag need a custom pixel?

No. HonestTag's pixel is an app pixel, added when you open HonestTag in your Shopify admin. Purchases come from Shopify's order webhook, not from the pixel.

Get an app pixel with no code to paste

HonestTag's pixel is added when you open the app in your Shopify admin, so there is nothing to add to your theme and nothing to remove later.

  • No risk to your setup. The Mirror plan sends no purchases or conversions to your ad platforms, so it cannot double-count a sale or change your current setup.
  • Claims against real orders. It shows what Google Ads, Meta, Microsoft Advertising and TikTok claim beside the new customers whose first recorded ad click or ad-tagged link was that platform, counted from your own orders.
  • Free at any store size. The Mirror plan stays free whatever your sales.

Install HonestTag free