Landing Page URL Builder

Shopify GA4 attribution

Shopify GA4 attribution wrong? Start with the ad URL, not the report

If Shopify orders show as direct, your UTM campaign is missing, or Facebook and Google Ads clicks do not match GA4, isolate one real ad URL and follow the click path before replacing apps or rebuilding campaigns.

Shopify ad click flowing through a tagged URL into GA4 and checkout attribution checks

Report symptom

GA4 shows direct, none, unassigned, or a missing campaign for sessions that should have come from ads.

First layer

Check whether the final landing page URL keeps source, medium, campaign, content, and any platform click IDs.

Second layer

Only after the landing visit is clean should you inspect checkout, purchase events, consent, and duplicate tags.

Fast diagnosis workflow

  1. Pick one ad that should have produced a Shopify session or order.
  2. Copy the final landing page URL exactly as it appears in Meta, Facebook, Google Ads, TikTok, email, or affiliate settings.
  3. Check for readable values like utm_source, utm_medium, utm_campaign, and utm_content.
  4. Click the URL from a clean browser session and confirm Shopify lands on the expected page.
  5. Open GA4 Realtime and look for the source, medium, campaign, page path, and event sequence.
  6. If the landing visit is clean, continue to product view, add to cart, begin checkout, and purchase checks.
https://example.com/products/bag?utm_source=facebook&utm_medium=paid_social&utm_campaign=spring_sale&utm_content=video_angle_01

Where the attribution can break

Layer What you see What to check
Ad URL No campaign, inconsistent names, or duplicate UTM keys. Final URL, tracking template, final URL suffix, and UTM naming rules.
Redirect The clicked URL changes and query parameters disappear. Short links, app redirects, locale redirects, collection redirects, and trailing slash rules.
GA4 tag Realtime has no session, or different tags disagree. Native Shopify integration, GTM, theme scripts, duplicate GA4 IDs, and consent timing.
Checkout Source changes near begin checkout or purchase. Checkout domain behavior, payment redirects, referral handling, and event sequence.
Purchase Order exists in Shopify but GA4 purchase is missing or duplicated. Purchase event setup, transaction ID, revenue fields, and duplicate app events.

Common Shopify GA4 attribution symptoms

  • Shopify order source is direct: GA4 may not have kept the original campaign context through the session and checkout path.
  • UTM campaign is missing: the ad URL may not include utm_campaign, or a redirect may remove it before the page loads.
  • Facebook clicks show as direct: Meta may send traffic, but the final URL or GA4 tag does not preserve readable source and medium values.
  • Google Ads clicks show but GA4 has no session: final URL suffix, auto-tagging, consent, or tag firing order may need a separate check.
  • Purchase source disagrees with ad platform: GA4 attribution, ad platform attribution, and Shopify order reports do not use the same rules.

What to send for a cleanup audit

The fastest useful review does not need your ad account login. It needs one broken click path and the exact symptom you see.

Store URL:
Problem ad URL:
Expected source or campaign:
What GA4 shows instead:
Where you checked it:
Shopify order source, if relevant:
Recent redirect, app, theme, or checkout changes:

Shopify FAQ

Questions before you rebuild tracking

Why does Shopify GA4 attribution look wrong?

It can happen when UTMs are missing, redirects drop query strings, checkout changes the session, purchase events are missing or duplicated, or the buyer returns later from a different source before purchasing.

Why do Shopify sales show as direct in GA4?

GA4 may not have kept campaign context from the original ad click through landing page, checkout, and purchase. Start by testing one tagged URL in Realtime before reading every order source.

Should I replace my Shopify tracking app first?

Usually no. First prove that one clean ad URL reaches Shopify with source, medium, campaign, and page path visible in GA4 Realtime. Then test checkout and purchase events.

Send one broken Shopify ad URL

A single real URL plus one GA4 symptom is enough to identify whether the first problem is URL, redirect, tag, checkout, or purchase event setup.

Request $99 audit