Analytics

Klaviyo + GA4 Attribution Setup for Shopify (2026 Guide)

By Denys Pankov · June 1, 2026 · 7 min read

Klaviyo + GA4 Attribution Setup for Shopify (2026 Guide)

Email is your highest-ROI channel. Klaviyo shows you open rates and clicks. GA4 shows you what actually converts. This guide connects the two so you can see which email campaigns drive revenue, not just engagement metrics.

72% Email ROI advantage over paid ads
30-day GA4 attribution window for email
42% Average lift when brands optimize email sendtime
$1.27 Average revenue per email (across industries)

Why Klaviyo + GA4 Integration Matters

Klaviyo tells you:

  • How many people opened a campaign (35-50% open rate is normal)
  • How many clicked a link (8-15% click rate is normal)
  • How many unsubscribed

Klaviyo doesn’t tell you:

  • How many actually bought after clicking
  • What the customer’s full journey was (was email the first touch or the final touch?)
  • Which segments convert best
  • True ROI per campaign (you can’t compare email spend to revenue without GA4)

GA4 fills this gap. When Klaviyo sends traffic to your Shopify store with proper UTM tracking, GA4 logs it. You can then track that visitor through their full journey: email → product page → cart → checkout → purchase.


Prerequisites

Before you start, confirm you have:

  1. Shopify connected to GA4 — Go to Shopify Admin → Analytics Settings → Google Analytics. Ensure your GA4 property is active.
  2. Klaviyo connected to Shopify — Standard Shopify+Klaviyo integration (this is default if you’re using Klaviyo).
  3. GA4 admin access — You need to be an Editor or Admin in your GA4 property.
  4. Sufficient traffic — At least 50-100 email-driven transactions per month to see meaningful data (smaller volumes are too noisy).

Step 1: Verify Shopify’s GA4 Integration

The heavy lifting is done by Shopify. Once Shopify is connected to GA4, it automatically sends ecommerce events including:

  • view_item
  • add_to_cart
  • begin_checkout
  • purchase (with revenue, product names, etc.)

Check that this is working:

  1. Open GA4 → Reports → Life Cycle → Acquisition
  2. Look for source/medium = shopify.com/referral or direct
  3. If you see Shopify traffic, the integration is live.

If you don’t see Shopify traffic, your GA4 connection is broken:

  • Go to Shopify Admin → Settings → Analytics → Google Analytics
  • Click “Manage” next to your GA4 property
  • Confirm the property ID matches your actual GA4 property
  • Re-authenticate if needed

Step 2: Ensure Klaviyo Sends Proper UTM Parameters

When Klaviyo sends an email, it appends UTM parameters to links. This tells GA4 that the traffic came from Klaviyo.

Check that Klaviyo’s UTM tracking is enabled:

  1. Klaviyo Admin → Settings → Analytics
  2. Confirm “Google Analytics Tracking” is ON
  3. Verify the UTM source is set to email and UTM medium is set to klaviyo (or email — varies by version)

If UTM tracking is off, Klaviyo traffic won’t appear in GA4’s source/medium reports.

Klaviyo’s default UTM structure:

utm_source=email
utm_medium=klaviyo
utm_campaign=My_Campaign_Name

This is sufficient. Don’t overthink custom UTM tagging at this stage.


GA4 will track Klaviyo email generically as source/medium = email/klaviyo. To answer which specific campaign drove the most revenue, you need custom dimensions.

Create a custom dimension for Campaign Name:

  1. GA4 → Admin → Data display → Custom definitions → Custom dimensions
  2. Click “Create custom dimension”
  3. Set:
    • Dimension name: email_campaign
    • Scope: Event
    • Event parameter: utm_campaign
  4. Save

Now GA4 will log utm_campaign (e.g., “Welcome_Series”, “Summer_Sale”) as a custom dimension you can filter by.

Create a custom dimension for Email Segment (if using Klaviyo segments):

This is more advanced. You’d need Klaviyo to append a custom parameter to each email link, then create a custom dimension in GA4 to capture it.

For now, skip this unless you’re a 7-figure+ brand where segment-level attribution ROI matters.


Step 4: Build Custom Reports in GA4

Now you can see which campaigns convert.

Report 1: Email Campaign Revenue

  1. GA4 → Reports → Acquisition → Traffic source
  2. Add a secondary dimension: email_campaign
  3. Filter: source = email AND medium = klaviyo
  4. Sort by: Purchase Revenue (descending)

This shows: Campaign Name | Sessions | Conversions | Revenue

Report 2: Email Campaign Conversion Rate

  1. GA4 → Explore → Create blank exploration
  2. Dimensions: email_campaign, source/medium
  3. Metrics: Sessions, Conversions, Conversion Rate
  4. Filter: source = email, medium = klaviyo
  5. Sort by: Conversion Rate (descending)

This reveals which campaigns have the highest % of email recipients actually purchasing (not just clicking).

Report 3: Email Attribution Window (Touch Analysis)

Email’s true value includes assisted conversions (where email was a touch but not the final click).

  1. GA4 → Admin → Data display → Lookback window
  2. Change from 7-day default to 30-day
  3. Re-run your revenue reports

This widens GA4’s window to capture conversions that happen 30 days after the email click (common for subscription or high-AOV products).


Step 5: Connect Klaviyo Data for Deeper Insights

At scale (7-figure+ annual revenue), Klaviyo’s native GA4 connector unlocks revenue attribution directly in Klaviyo.

Klaviyo’s GA4 Connector includes:

  • Revenue per campaign (not just clicks)
  • Unsubscribe rate correlated with spend
  • LTV segmentation based on email channel
  • Multi-touch attribution

To enable:

  1. Klaviyo Admin → Integrations → Google Analytics 4
  2. Click “Activate”
  3. Authenticate your GA4 property
  4. Klaviyo will request read access to your GA4 data

Once enabled, Klaviyo will show revenue metrics for each campaign in the Klaviyo dashboard (Analytics section).

Cost: This is a premium feature. Check Klaviyo’s pricing tier.


Common Setup Mistakes to Avoid

MistakeImpactFix
GA4 not connected to ShopifyZero email attribution in GA4Verify in Shopify Admin → Settings → Analytics
Klaviyo UTM tracking disabledEmail traffic appears as “direct”Enable Google Analytics in Klaviyo settings
Not using GA4’s 30-day windowUnder-counting delayed conversionsExtend lookback window in GA4 Admin
Mixing Klaviyo with other email toolsConflicting UTM parametersUse separate GA4 custom dimensions per tool
Not filtering by source/mediumCounting all Shopify traffic as emailAlways segment by source=email, medium=klaviyo

Interpreting Your Results

Once set up, here’s what to expect:

  • Email conversion rate: 2-5% (i.e., 2-5% of email clicks result in purchase)
  • Revenue per campaign: Highly variable ($500-$50K+), depending on audience size and offer
  • Attribution delay: 30-40% of email-driven conversions happen 3+ days after the click
  • Assisted conversions: 15-25% of purchases involved an email touch, but not the final click

If your numbers are much lower (0.5% CVR, under $100 per campaign), your email list quality or offer may be weak. If they’re much higher (above 10% CVR), you may have a data tracking issue.


What to Do Next

  1. Verify Shopify → GA4 connection is live (check if you see Shopify traffic in GA4)
  2. Enable Klaviyo UTM tracking in Klaviyo settings
  3. Set up custom dimension for email_campaign in GA4
  4. Build a dashboard showing revenue by campaign (use GA4 Explore)
  5. Wait 2-4 weeks of email sends for statistically valid data
  6. Review your top 5 campaigns — what’s driving the highest revenue? Double down on those themes.

For deeper email audience segmentation by ROI, consider upgrading to Klaviyo’s GA4 connector. But for most brands, Shopify + GA4 native integration is enough to optimize email strategy.


Set up email attribution for your store. Our free Conversion Rate Calculator includes email benchmarks by industry. See how your email CVR stacks up.

See where your store is leaking revenue

Our AI-powered audit analyzes your pages against 48 behavioral science heuristics and shows you exactly what to fix first – in minutes, not weeks.

Get Instant CRO Audit → Book Strategy Call