Shopify Attribution Explained: How It Works + Which Plan You Need (2026)

David Lopes

TL;DR

Shopify attribution is how Shopify decides which marketing channel gets credit for an order. Shopify records the source of each visit (UTM parameters, referrer, click identifiers), keeps it against the visitor, and credits the order to a channel using the attribution model you select, such as last non-direct click, first click or linear. Shopify's marketing reports and Attribution page offer 5 models, and Shopify's help center does not list a plan restriction for them (details in the plan section below).

Here is a situation that plays out in every Shopify store that runs paid ads: you open Google Ads and it shows 50 conversions. You open Meta Ads Manager and it shows 45. You open TikTok Ads and it shows 20. You go to Shopify and you have exactly 60 orders. Every platform claims credit for nearly all of them, and when you add up the conversions across all platforms you get 115, almost double your actual sales.

‍

__wf_reserved_inherit

‍

This is not a tracking error. This is how attribution works, or rather, how it breaks down when every platform measures its own credit without knowing what the others are doing. Understanding how Shopify attribution works, which plan you need to see it, and which model to use is the single most important skill for any merchant who wants to allocate budget intelligently across paid, email, and organic channels. It is the difference between knowing which marketing efforts actually drive revenue and just guessing.

This guide explains how Shopify attribution works under the hood, what Shopify documents about plans, every attribution model and when to use each one, and how to set up independent attribution tracking so you can see the full picture including the direct, organic, and paid sources your ad platforms never tell you about.

What Is Attribution in Shopify?

Attribution is the process of determining which marketing touchpoints receive credit for a conversion. When a customer clicks a Meta ad, then searches for your brand on Google two days later, then clicks an email link and makes a purchase, which channel gets the credit?

The answer depends entirely on which attribution model you use. Different models give credit differently, and they all produce different numbers. Your ad platforms use their own default models without telling you that the numbers they show are only one version of the truth.

How Shopify Marketing Attribution Works

Shopify attributes sales to the referrer a visitor used to reach your store. Each visit carries a source: the UTM parameters on the link, the referrer, or a click identifier. Shopify keeps that source against the visitor, and if the visitor places an order, the order is credited to a channel according to the attribution model selected in the report.

Shopify documents a few rules that shape the numbers:

  • A session ends after 30 minutes of inactivity. Sessions and visitors are counted with cookies: one identifies the device, another tracks the session.
  • If a visitor does not buy within 30 days of a session, the first interaction is reset to the next referrer. After an order, the next referrer counts as a first interaction for the next order.
  • Cross-device data can link a journey across devices, for example when a customer clicks an ad on mobile, gives an email address, and later buys from a laptop after opening an email.

Shopify's Attribution Page, Reports and the 5 Models

You can see attribution in two places. The Growth > Attribution page has a Performance view (channels and campaigns) and a Path to purchase view (touchpoints before an order, from up to 30 days before the order). The Analytics > Reports section has the Performance by marketing channel and Performance by marketing campaign reports, which include sessions, sales, orders, conversion rate, and ad spend, ROAS, CPA and CAC. Ad spend from marketing apps can take up to 24 hours to sync, so it can lag the ad platform.

Shopify offers 5 attribution models: last non-direct click (the default on the Attribution page and in the channel report), last click, first click, any click and linear. In a report you can select more than one model to compare them. The older conversion by first interaction, conversion by last interaction and attribution model comparison reports are deprecated. Source: Shopify marketing reports documentation.

UTM Parameters and Order Attribution

UTM parameters are the foundation of accurate attribution. Every paid ad, every email campaign, and every influencer post should carry UTM tags so Shopify can name the source.

The five parameters:

  • utm_source: the traffic source (google, facebook, klaviyo)
  • utm_medium: the channel type (cpc, email, social)
  • utm_campaign: the specific campaign name
  • utm_content: the ad or creative variant
  • utm_term: the keyword, for search ads

Without consistent UTM tagging, Shopify cannot tell paid Meta traffic from an organic social share or a direct visit. Consistent tagging is the biggest lever on the quality of every report that follows.

Why Orders Get Attributed to "Direct"

In Shopify's reports, direct traffic means the customer entered your store's URL in the browser, or that Shopify could not identify a referrer. For direct sources where the referrer cannot be determined, the referrer name shows as N/A. Shopify lists these causes: the browser has Do Not Track on, a proxy or firewall blocks the referrer data, or a shortened URL was used.

Direct also behaves differently depending on the model. Last non-direct click skips direct visits, so an order only gets the direct label when the whole journey was direct. Last click, first click and linear include direct visits. Since October 18, 2026, visits where the referrer is your own online store are listed as direct, and last non-direct click gives them no credit.

New browser sessions and logins. A shopper who comes back later in a new browser session, or who logs in on another device, can show up as a new visit with no campaign data on the link. Shopify's help center does not describe in detail what happens at login. What it documents is the 30-minute session rule, the 30-day first interaction reset, and cross-device data for customers who identify themselves, so a returning visit without UTM tags or a readable referrer is a common way for paid or email traffic to land in direct.

The _shopify_sa_p and _shopify_sa_t cookies. You may see cookies with these names in a browser on a Shopify store. Shopify's public cookie documentation does not explain what they contain, so we cannot confirm claims that one stores the first touch and the other the last touch. Treat that as unconfirmed and rely on the behavior Shopify documents instead.

A large direct share is not proof of loyalty. It is a mix of true direct visits and traffic whose source Shopify could not read.

Attribution Windows Explained

An attribution window is the period of time during which touchpoints are tracked. If a customer clicks an ad on March 1, ignores your brand for two weeks, then buys on March 15, whether that first click gets credit depends on the window.

Common windows: 7 days (favors bottom-of-funnel touchpoints), 14 days, 30 days (standard for many platforms), and 90 days (captures more of the awareness-to-purchase journey). Shopify's own reports use the 30-day rules described above.

Meta and Google each apply their own click and view windows, and Meta has changed its window options over time, so check the current setting in Ads Manager. Even with the same window, platforms differ from Shopify in how each one defines and records a conversion event, which is why the totals never match.

Which Shopify Plan Gives You Attribution Reports?

Shopify's help center pages for the marketing reports and the Growth > Attribution page describe what each report shows, but they do not list a plan requirement. We could not confirm from Shopify's documentation that attribution models, the channel performance report or sales attributed to marketing are limited to specific plans. Open Analytics > Reports in your admin to see what your plan includes, and check Shopify's plan comparison before you upgrade for reporting.

What Shopify documents as available in marketing reporting:

  • The Growth > Attribution page with the Performance and Path to purchase views.
  • The Performance by marketing channel and Performance by marketing campaign reports, with the Attribution menu to select one or several of the 5 models.
  • The Sales attributed to marketing report, which only includes sales from traffic that can be tied to marketing efforts such as UTM campaigns, so it can differ from other reports.
  • Saving a modified default report as a custom report.

Custom reports, ShopifyQL and notebooks can depend on your plan. We could not confirm from the help center which plan unlocks ShopifyQL notebooks, so verify that in your admin before planning around it.

One limit applies whatever your plan: Shopify reports ad spend only for connected marketing apps, and that data can take up to 24 hours to sync. For ad platforms you do not connect, you cannot calculate ROAS inside native reports. That gap is where an independent tool comes in.

First-Click vs Last-Click on Shopify

By default Shopify credits the last marketing touch that is not direct (last non-direct click). You can switch to last click, first click, linear or any click, and select several models at once to compare them. Last click tells you which channel closed the sale. First click tells you which channel started the journey. Neither is "correct", they answer different questions.

The catch: brand search and email often win last click, so relying on the default can starve awareness channels of credit even when they are the reason the purchase happened at all.

Every Attribution Model Explained

__wf_reserved_inherit

Here is a breakdown of the common models, including the ones Shopify does not offer, using the same example customer journey to show how credit shifts.

‍The scenario: A customer sees your Instagram ad on Monday and clicks it but does not buy. On Wednesday, they search for your brand on Google and click your search ad. On Friday, they receive your email newsletter and click a link. On Saturday, they click through to your store from the same email and buy.

Four touchpoints, one purchase. Here is how each model distributes the credit.

Last-Click Attribution

Available in: Shopify (as last click and last non-direct click, the default), Google Ads, Meta Ads

How it works: The last marketing touchpoint receives 100% of the credit.

In this example, the Saturday email click gets all the credit. The Instagram ad, Google search ad, and Friday email click all get nothing.

When to use: Useful for understanding which channels close sales at the bottom of the funnel. If you are running retargeting campaigns or focused on capturing demand from people who already know your brand, last-click tells you which channel is closing.

Pros: Simple to understand. Reflects what your ad platforms already measure. Useful for short sales cycles.

Cons: Gives zero credit to awareness-building channels. Brand search campaigns always get last-click credit even if they did not influence the purchase. Can make paid social look like it does not work, even when it is driving awareness that leads to later conversions.

First-Click Attribution

Available in: Shopify and dedicated attribution tools

How it works: The first marketing touchpoint receives 100% of the credit.

In this example, the Monday Instagram ad gets all the credit. Everything else gets nothing.

When to use: Useful for understanding which channels drive initial awareness and discovery. If you are building a new brand or investing in upper-funnel campaigns, first-click shows you which channels generate initial interest.

Pros: Values the beginning of the customer journey. Helps you understand which channels drive discovery.

Cons: Ignores every touchpoint after the first one including the one that closed the sale. Can make retargeting look ineffective.

Linear Attribution

Available in: Shopify and dedicated attribution tools

How it works: Credit is distributed equally across all touchpoints.

In this example, each of the four touchpoints gets 25% of the credit.

When to use: Useful when you want a balanced view that does not over-weight either the beginning or the end of the journey. A good starting point for multi-channel analysis.

Pros: Gives credit to every touchpoint. Avoids the extreme bias of first-click or last-click.

Cons: Equal credit is rarely realistic; the first touch is rarely as important as the last touch. Can obscure the true influence of each touchpoint.

Any-Click Attribution

Available in: Shopify

How it works: Every channel the customer clicked receives 100% of the credit. Because one order is credited to several channels, the total credit is larger than the number of orders.

In this example, the Instagram ad, the Google ad and the email each get full credit for the one order.

When to use: Shopify recommends it to analyze a single channel, or to reconcile the attribution each ad platform reports, since platforms also claim the full sale.

Pros: Closest to how ad platforms count. Useful to explain why platform totals exceed your real orders.

Cons: Never sums to your actual orders, so it is a poor basis for budget splits across channels.

Time Decay Attribution

Not available natively in Shopify. Available in dedicated attribution tools, including Polar.

How it works: Credit is distributed across touchpoints, with more recent touchpoints receiving more credit. The decay curve is typically exponential: the last touchpoint gets the most, earlier touchpoints get progressively less.

In this example with a 7-day decay curve: Saturday email click gets ~40%, Friday email click ~28%, Wednesday Google search ~20%, Monday Instagram ~12%.

When to use: Useful when you want to acknowledge upper-funnel touchpoints but still give appropriate credit to bottom-funnel channels that closed the sale. A middle ground between first-click and last-click.

Pros: Recent touchpoints get appropriate credit while acknowledging earlier awareness-building. Better reflects actual customer behavior than first or last-click alone.

Cons: Requires defining a decay curve, which introduces a subjective assumption. Still undervalues discovery in long consideration journeys.

Position-Based (U-Shaped) Attribution

Not available natively in Shopify. Available in dedicated attribution tools, including Polar.

How it works: Credit is weighted toward the first and last touchpoints, with middle touchpoints splitting the remainder. A common split is 40% first touch, 40% last touch, 20% distributed among the middle.

In this example: Monday Instagram (first) gets 40%, Saturday email (last) gets 40%, Wednesday Google + Friday email split the remaining 20%.

When to use: Useful when you believe both discovery and conversion are equally important: the channels that bring customers in and the channels that bring them back to buy. Works well for brands with longer sales cycles.

Pros: Values both discovery and conversion. More realistic than equal distribution for most ecommerce journeys.

Cons: Middle touchpoints can be undervalued. The 40-40-20 split is arbitrary: the right split depends on your specific journey. Requires a tool outside Shopify.

Data-Driven Attribution

Not available natively in Shopify. Google Ads offers a data-driven model inside its own platform. Polar does not offer a data-driven model: it has 8 standard models plus custom models.

How it works: Rather than following a preset rule, data-driven attribution uses machine learning to analyze conversion paths and estimate how much credit each channel should receive based on its observed influence.

When to use: Within a platform that has enough conversion volume. Google recommends a meaningful volume of conversions and ad interactions for stable results, and below that volume the model can be less stable, so check Google's current guidance.

Pros: Based on your actual data, not fixed assumptions. Can identify touchpoints that generic models miss.

Cons: Needs large volumes. Only works within one platform, not across platforms. It is a black box: you cannot fully explain why it assigns credit the way it does.

Which Attribution Model Should You Use?

Your Situation Recommended Model Why
Short sales cycle, primarily retargeting Last-click Conversions happen quickly; bottom-of-funnel channels are closing
New brand building awareness First-click You need to understand which channels drive discovery
Multi-channel with awareness and retargeting Position-based or Time decay Credit shared between discovery and conversion
High ad spend across many channels Multi-touch across all channels You need to understand how all channels contribute
Limited data, early-stage store First-click or Last-click Other models need volume to be meaningful
Long consideration cycles, high-ticket items Time decay or Position-based Early touchpoints matter, so the model needs to reflect that
Several channels, one warehouse you own Polar: 8 standard models plus custom, adjustable lookback window Compare models on one dataset. No data-driven model, and no cross-device probabilistic identity graph

For brand awareness campaigns use first-click. Instagram ads, YouTube, influencer partnerships, and content marketing typically do not drive direct conversions. Without first-click attribution, these channels get zero credit and your awareness budget looks ineffective even when it is the reason for the entire purchase.

For performance and conversion campaigns use last-click or time decay. If your primary goal is driving immediate conversions through search ads and retargeting, last-click tells you which channels are closing. Time decay is a good middle ground if you run both awareness and conversion campaigns.

For a balanced full-funnel view use position-based or linear. If you run the full funnel from social awareness to search consideration to retargeting, position-based gives credit to both channels that bring customers in and channels that bring them back. Linear is available natively in Shopify and provides a simpler balanced view.

For advanced scaling brands use multi-touch across all your data sources. If you spend significant money across many channels, use a dedicated attribution tool that applies multi-touch models to all sources together. Use Google's data-driven model only inside Google Ads, where it has the volume it needs.

Why Platform Attribution Is Structurally Biased

Beyond choosing your own model, there is a deeper problem: every ad platform has a structural incentive to overstate its own contribution. This is not fraud: it is self-reported attribution, and it is inherently biased.

How Platforms Claim the Same Conversion

Each platform uses its own attribution by default. When a customer clicks a TikTok ad, then sees a Meta retargeting ad, then clicks a Google search ad and buys Google says Google drove the sale. Meta says Meta drove it. TikTok says TikTok drove it. Every platform claims the sale, and the total attributed conversions far exceed your actual orders.

This duplication is not visible until you look at all channels through a single, independent lens.

The Self-Reporting Bias Problem

Ad platforms make money when you spend money. Their reporting is designed to show you that your ads are working because working ads get continued budget.

Meta has long used view-based windows in its defaults, and it has changed its window options over time. Even with click-only windows, Meta attributes conversions using its own matching logic, which can differ from what Shopify records as the referring source.

Independent analytics tools do not have this conflict of interest. A first-party pixel that tracks all channels without a financial stake in which one gets credit shows you a neutral view of what is actually driving conversions.

The Conversion API and Server-Side Tracking

With iOS privacy changes and browser-level restrictions increasingly limiting cookie-based tracking, browser pixels miss a growing share of conversions. The Conversion API (CAPI) fills this gap by sending conversion events directly from your server to ad platforms which reduces browser-based signal loss.

Setting up CAPI for Meta and Google on your Shopify store is one of the more useful technical improvements for attribution data quality, because it gives the platforms a more complete signal to work with. It does not remove the platform bias described above.

Why You Need Independent Attribution

Independent attribution means tracking conversions from a neutral perspective based on actual customer journeys across all channels, not from within any single ad platform.

What independent tracking reveals that platform data cannot: true channel value (which channels drive discovery versus which close the sale), cross-channel journeys (how customers move between channels before converting), attribution gaps (channels that contribute but never get last-click credit), and platform overstatement (how much each platform inflates its own numbers).

How to Set Up Attribution Tracking on Shopify

Using Shopify's Built-In Marketing Reports

To see attribution by channel, go to Growth > Attribution, or go to Analytics > Reports and open Performance by marketing channel or Performance by marketing campaign. In the report's configuration panel, use the Attribution menu to pick one or several models and compare the results. This only changes the view in Shopify. It does not change how your ad platforms report their own attribution.

If you open a report from the Attribution page, it keeps the same date range, model and traffic type. If you open it from Analytics, it uses its default settings, so the numbers can differ. For details, see Shopify's marketing performance documentation.

Setting Up UTM Tagging

Tag every paid ad, email and influencer link with at least utm_source, utm_medium and utm_campaign, and use a consistent naming convention. Untagged links are the main reason paid visits end up in direct.

Setting Up Independent Attribution with Polar Analytics

Polar is the AI data platform for commerce. It tracks customer journeys with a first-party, server-side pixel deployed from your Shopify store, not only a browser pixel. It brings Shopify, Meta, Google, TikTok, Klaviyo and more into a warehouse you own (a dedicated Snowflake per customer), with metrics such as ROAS, CAC and LTV defined once in a semantic layer. Shopify data refreshes every 15 minutes.

For attribution, Polar offers 8 standard models plus custom models, with an adjustable lookback window. Because every model runs on the same governed data, you can switch between models and compare them without rebuilding anything. Compare your blended ROAS (total Shopify revenue divided by total ad spend) against each platform's self-reported ROAS to see how much each platform claims.

What Polar does not do: it does not offer a data-driven model, and it does not build a cross-device, probabilistic identity graph. If a visitor cannot be linked between sessions, that journey stays split, as it does in any first-party tracking setup.

On top of the data, the Polar AI Operator answers questions such as "which channel is over-credited under last click?" and shows the definition behind each number. Polar MCP lets you ask the same questions in Claude and ChatGPT. Actions need your approval.

Advanced Attribution Strategies

Incrementality Testing

No attribution model tells you what would have happened if you had not run a campaign. Incrementality testing does.

Split your audience into a test group that sees your ads and a control group that does not. The difference in conversion rates tells you how many conversions your ads actually generated beyond what would have happened organically. This is the gold standard for measuring true ad effectiveness because it removes attribution bias entirely.

To run an incrementality test: create a holdout audience (typically 10 to 20% of your total audience), run your campaign as normal, compare conversion rates between test and control, and calculate the incremental lift.

Marketing Mix Modeling vs. Multi-Touch Attribution

Marketing Mix Modeling (MMM): A statistical approach that analyzes historical data to estimate the impact of marketing channels on sales. Uses regression analysis. Works with aggregated data and is less affected by tracking limitations. Best used quarterly or annually to validate findings and understand long-term channel contribution.

Multi-Touch Attribution (MTA): Tracks individual customer journeys and assigns credit to each channel based on a chosen model. More granular and more frequent than MMM but requires accurate cross-channel tracking. Best for day-to-day campaign optimization and channel-level reporting.

Most Shopify stores benefit from combining both: MTA for daily optimization, MMM periodically to validate and understand brand-building channels that MTA might undervalue.

Polar provides multi-touch attribution across the sources you connect, which can serve as the MTA side of this approach.

Cohort Analysis for Long-Term Attribution

Standard attribution models measure the short-term conversion window. Cohort analysis adds a long-term dimension by tracking groups of customers acquired in the same period over time.

A cohort report might show that customers acquired through Meta in Q4 have higher lifetime value than those acquired through Google even if their initial ROAS looked lower. This is critical for subscription brands and repeat-purchase product lines, where the first purchase is just the start of the relationship.

Track customer acquisition source at the order level, segment cohorts by channel and acquisition month, measure repeat purchase rate and LTV by cohort, and use these insights to set channel-specific LTV targets and adjust ROAS goals accordingly.

Blended ROAS and MER as Complementary Metrics

Regardless of which model you use, two metrics give the most complete picture:

ROAS (Return on Ad Spend): Revenue generated per dollar spent, calculated using a specific attribution model. The same campaign will have a different ROAS under last-click versus first-click.

MER (Marketing Efficiency Ratio): Total revenue ÷ total marketing spend, regardless of attribution. If you made $500,000 in revenue and spent $100,000 on ads, your MER is 5x regardless of which channel gets credit.

Use MER as your north star for overall marketing profitability. Use attribution-modeled ROAS to understand relative channel efficiency. A channel with low last-click ROAS might look completely different under first-click or time decay.

FAQ

Shopify's help center pages for marketing reports and the Attribution page do not list a plan requirement, and we could not confirm any plan-by-plan restriction. Check Analytics > Reports in your admin to see what your plan includes. Custom reports, ShopifyQL and notebooks can depend on your plan, so verify those separately.
Shopify records the source of each visit (UTM parameters, referrer, click identifiers) and credits orders to a channel using the attribution model selected in the report. The default is last non-direct click. Sessions end after 30 minutes of inactivity, and the first interaction resets after 30 days without an order.
Five: last non-direct click (the default), last click, first click, any click and linear. You can select several in a report to compare them. Time decay, position-based and data-driven models are not offered natively.
Direct means the customer entered your URL, or Shopify could not identify a referrer. Do Not Track, proxies or firewalls, and shortened URLs can hide the referrer. A returning visit in a new browser session without UTM tags is a common way for paid or email traffic to show as direct. Shopify's docs do not explain the _shopify_sa_p and _shopify_sa_t cookies, so we do not treat claims about them as confirmed.
Neither on its own. Last click over-credits closing channels like brand search and email, while first click over-credits discovery. Comparing several models side by side, or using a multi-touch tool, gives a fuller view.
Not fully in Shopify alone. Each ad platform reports its own credit, and Shopify credits orders with its own model. A dedicated attribution tool such as Polar puts all channels on one dataset and one model so the numbers reconcile against your Shopify orders.
No. Polar has 8 standard attribution models plus custom models, with an adjustable lookback window. Data-driven attribution is a general method that some platforms, such as Google Ads, run inside their own data.
They measure differently. Google Ads counts a conversion within its own click window using its own matching, while Shopify credits the order with the model you selected. Combined with self-reporting by each platform, the totals never line up with your actual order count.

Table of contents

Make strategic decisions in minutes

See every metric that matters, in one place.

Book a demo

Ecommerce Benchmark

4,000+ brands, refreshed weekly.

See the benchmark

Frequently asked questions

Ready to stop guessing and start growing?

Make strategic decisions in minutes, not weeks.

Book a demo