> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://origin.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Origin Pixel

The Origin pixel is a lightweight Shopify-native pixel that powers accurate attribution in Origin. It's the foundation for [Origin Pulse](https://www.originattribution.com/help/article/what-is-origin-pulse-52f9j0), our system for tracking visitors across their entire journey to your store — even when cookies are blocked or declined.

This article explains what the pixel does, what data it captures, how it handles privacy, and what to do if something looks off.

## Why the Origin pixel matters
Without the Origin pixel, we have to rely on the attribution data Shopify provides by default. That data is extremely limited:

* Only **first-touch and last-touch UTM parameters** are recorded
* **No session-level information** (how long visitors stayed, which pages they viewed, how many times they came back)
* **No multi-touch journey data** — everything between the first and last click is invisible
* **No ability to attribute an order** if cookies were blocked or cleared

For most stores, this means the majority of the customer journey is a black box, and your attribution reports are effectively a best guess.

**With the Origin pixel installed, we can:**
* Track every page view on your storefront
* Follow a visitor's journey across multiple sessions, devices, and touchpoints — over several months if necessary
* Attribute orders accurately even when a customer declines cookies (via Origin Pulse)
* Give you a full picture of which channels, campaigns, and content are actually driving revenue

### Example
1. A customer clicks a Meta ad on Monday, browses three product pages, and leaves
2. On Thursday they return via a Google ad, read a blog post, and leave again
3. The following week they click an email link and buy.

**Without the Origin pixel:**
Shopify logs the Meta ad as the first click, and the Email as last click. **The click from the Google session is invisible**.

**With the Origin pixel:**
Origin shows all three touchpoints, the pages viewed in each session, and credits each channel appropriately in your attribution model.

## Installing the pixel
Installation is **one click** from inside the Origin app. Once enabled, Origin adds the pixel to your storefront as a Shopify-native pixel, and it starts collecting data immediately.

The Origin pixel is automatically removed if you uninstall the app.

## What data the pixel captures
The pixel is designed to capture the signals needed for accurate attribution. On each page view it records:
* The page URL and referrer
* UTM parameters and click IDs (e.g. `fbclid`, `gclid`, `ttclid`)
* Session metadata — timestamp, device type, and an anonymised visitor identifier
* Key storefront events such as product views, add-to-carts, checkouts, and completed orders

This lets Origin stitch together the full journey rather than only seeing the first and last interaction.

## Privacy and cookie consent
The Origin pixel lets you remain compliant and is designed to respect visitor choice.
* **If a visitor accepts cookies**, the pixel uses them to stitch sessions together, which gives the most accurate attribution.
* **If a visitor declines cookies**, the pixel does not set them. Instead, **Origin Pulse** uses privacy-safe signals to attribute orders without relying on cookies at all.

This means you still get meaningful attribution data from cookie-declining visitors, something that isn't possible with most pixels, which stop tracking entirely the moment consent is refused. You stay compliant, and you don't lose visibility into a large and growing segment of your traffic.

## Performance and the Shopify sandbox
The Origin pixel runs inside Shopify's **Web Pixel sandbox**. A few things that means in practice:
* It runs in an **isolated environment**, completely separate from your theme code and from any other pixels or apps on your storefront.
* It **cannot interfere** with other pixels (Meta, TikTok, GA4, Klaviyo, etc.), they all continue to operate independently.
* It has a **negligible effect on page performance**. The pixel loads asynchronously and does not block rendering, so there's no measurable impact on Core Web Vitals or page speed.
* Because it's sandboxed by Shopify, it also can't be broken by theme updates or third-party app changes.

If you have any questions the article doesn't cover, reach out to the Origin support team — we're happy to help.