Insights | Causality Engine
return to overview

Server-Side Tracking Setup Guide: Fix Your Attribution in 2025

Comprehensive guide to server-side tracking setup guide: fix your attribution in 2025 with real examples and actionable strategies.
No items found.

Server-Side Tracking Setup Guide for Shopify Stores in 2025

Last Updated: October 13, 2025

Your tracking is broken. Not "a bit off"—properly broken.

If you're still relying on pixel-only tracking in 2025, you're missing 40-60% of your conversions. Which means your ROAS (return on ad spend) calculations are fiction, your budget decisions are based on incomplete data, and you're probably cutting channels that actually work.

The culprit? iOS 14, cookie deprecation, ad blockers, and the general death of browser-based tracking.

The solution? Server-side tracking.

This guide will show you exactly how to implement server-side tracking for your Shopify store, why it matters, and what to expect when you finally see accurate data.

Let's fix your tracking.

What is Server-Side Tracking? (And Why You Need It)

Server-side tracking sends conversion data directly from your server to ad platforms, bypassing browsers entirely.

Instead of relying on a pixel in the customer's browser (which can be blocked), your server tells Meta, Google, and TikTok when conversions happen.

The Problem With Pixel-Only Tracking

Traditional pixel tracking worked brilliantly until 2021. Then Apple released iOS 14 with App Tracking Transparency (ATT). Now:

  • 75-85% of iOS users opt out of tracking
  • Ad blockers block pixels entirely
  • Browser privacy features (Safari ITP, Firefox ETP) delete cookies
  • Cookie deprecation is coming to Chrome in 2025

Result: Your Meta Pixel is missing 40-60% of conversions. Your Google Ads tracking is missing 20-30%. Your attribution is a mess.

How Server-Side Tracking Fixes This

Server-side tracking bypasses all these limitations:

  • Not affected by iOS 14 (no browser tracking needed)
  • Not blocked by ad blockers (server-to-server communication)
  • Not limited by cookies (uses first-party data)
  • More accurate data (10-30% more conversions tracked)
  • Better privacy compliance (you control the data)

It's not optional anymore. It's the baseline for accurate tracking in 2025.

Server-Side vs. Client-Side: The Key Differences

AspectClient-Side (Pixel)Server-SideHow it worksBrowser sends data to ad platformsYour server sends data to ad platformsiOS 14 impactMisses 75-85% of iOS usersTracks all usersAd blockersBlockedNot blockedCookie dependenceHighLowData accuracy60-70%90-95%Setup complexityEasyMediumPrivacy complianceChallengingBetter control

The Three Server-Side Solutions for Shopify

1. Meta Conversions API (CAPI)

What it is: Meta's server-side tracking solution that sends conversion data directly from your server to Meta.

Benefits:

  • 10-30% more attributed conversions vs. pixel-only
  • Better ad performance (algorithm gets more data)
  • Improved attribution accuracy
  • Required for accurate Meta Ads optimization

Cost: Free (but requires technical implementation)

2. Google Ads Enhanced Conversions

What it is: Google's server-side solution that sends hashed customer data (email, phone) to improve conversion matching.

Benefits:

  • 15-25% more attributed conversions
  • Better Smart Bidding performance
  • Improved cross-device tracking

Cost: Free

3. TikTok Events API

What it is: TikTok's server-side tracking for sending conversion events directly to TikTok.

Benefits:

  • More accurate conversion tracking
  • Better campaign optimization
  • Improved attribution

Cost: Free

How to Implement Server-Side Tracking on Shopify

Right. Let's get technical. Three implementation options, from easiest to most powerful.

Option 1: Shopify Apps (Easiest)

Best for: Brands that want quick setup without technical complexity

Recommended apps:

  • Elevar: €50-500/month, supports Meta CAPI, Google Enhanced Conversions, TikTok Events API
  • Littledata: €80-600/month, comprehensive tracking across all platforms
  • Trackify: €10-100/month, budget-friendly CAPI solution

Setup time: 30-60 minutes

Pros: Easy, no coding required, maintained by the app

Cons: Monthly cost, less customization, dependent on third party

Option 2: Google Tag Manager Server-Side (Recommended)

Best for: Brands spending €20K+/month on ads who want full control

What you need:

  • Google Tag Manager account
  • Server container (hosted on Google Cloud Platform)
  • Technical knowledge or developer

Setup time: 4-8 hours

Cost: €50-200/month (Google Cloud hosting)

Pros: Full control, customizable, supports all platforms

Cons: Technical setup required, ongoing maintenance

Option 3: Custom Implementation (Most Powerful)

Best for: Enterprise brands with development resources

What you need:

  • Backend developer
  • Server infrastructure
  • API integrations with Meta, Google, TikTok

Setup time: 2-4 weeks

Cost: €5,000-20,000 implementation + ongoing maintenance

Pros: Complete control, maximum flexibility, best accuracy

Cons: Expensive, complex, requires technical expertise

Step-by-Step: Meta Conversions API via Shopify App

Let's walk through the easiest implementation: using a Shopify app for Meta CAPI.

Step 1: Choose Your App

We recommend Elevar for most brands. It's reliable, well-supported, and handles Meta CAPI, Google Enhanced Conversions, and TikTok Events API.

Pricing: €50/month (up to €10K revenue) to €500/month (€1M+ revenue)

Step 2: Install the App

  1. Go to Elevar in the Shopify App Store
  2. Click "Add app"
  3. Authorize the app to access your Shopify store
  4. Choose your pricing plan

Step 3: Connect Meta Ads

  1. In Elevar, go to Destinations → Add Destination
  2. Select "Facebook Conversions API"
  3. Click "Connect to Facebook"
  4. Authorize Elevar to access your Meta Ads account
  5. Select your Meta Pixel ID
  6. Generate a Conversions API Access Token

Step 4: Configure Events

Elevar automatically tracks these events server-side:

  • PageView: When someone views any page
  • ViewContent: When someone views a product page
  • AddToCart: When someone adds a product to cart
  • InitiateCheckout: When someone starts checkout
  • Purchase: When someone completes a purchase

Make sure all events are enabled and mapped correctly.

Step 5: Test Your Implementation

  1. Go to Meta Events Manager
  2. Select your pixel
  3. Click "Test Events"
  4. Visit your Shopify store and complete a test purchase
  5. Verify that events appear in Test Events with "Server" as the source

What you should see: Each event should show both "Browser" (from pixel) and "Server" (from CAPI). This is called "dual tracking" and gives you maximum accuracy.

Step 6: Enable Event Match Quality

Event Match Quality (EMQ) measures how well Meta can match your server events to user profiles. Higher EMQ = better attribution.

To improve EMQ:

  • Send customer email (hashed) with purchase events
  • Send customer phone (hashed) with purchase events
  • Send customer name (hashed) with purchase events
  • Send fbp and fbc cookies for better matching

Elevar handles this automatically. Your EMQ should be 6.0+ (out of 10).

Step 7: Monitor Performance

After 7-14 days, compare your metrics:

Before CAPI:

  • Attributed conversions: 100
  • ROAS: 3.2x

After CAPI:

  • Attributed conversions: 125-140 (+25-40%)
  • ROAS: 4.0-4.5x (+25-40%)

This isn't magic—you're just seeing conversions that were always happening but weren't being tracked.

Step-by-Step: Google Tag Manager Server-Side

For brands that want more control, GTM server-side is the gold standard.

Step 1: Set Up Server Container

  1. Go to Google Tag Manager
  2. Create a new container (type: Server)
  3. Choose "Automatically provision tagging server"
  4. Select Google Cloud Platform region (choose closest to your customers)
  5. Click "Create"

Cost: €50-200/month depending on traffic volume

Step 2: Configure Web Container

  1. In your existing GTM web container, add a new tag
  2. Tag type: "Google Tag"
  3. Server Container URL: [your-server-container-url]
  4. Trigger: All Pages
  5. Save and publish

Step 3: Set Up Meta Conversions API in Server Container

  1. In your server container, add a new tag
  2. Tag type: "Facebook Conversions API"
  3. Add your Meta Pixel ID and Access Token
  4. Configure event parameters (event name, value, currency, etc.)
  5. Trigger: appropriate events (page view, purchase, etc.)

Step 4: Set Up Google Ads Enhanced Conversions

  1. Add new tag in server container
  2. Tag type: "Google Ads Conversion Tracking"
  3. Enable "Enhanced Conversions"
  4. Map customer data (email, phone, address)
  5. Configure conversion action

Step 5: Test and Validate

  1. Use GTM Preview mode to test events
  2. Verify events in Meta Events Manager
  3. Check Google Ads conversion tracking
  4. Monitor for 7-14 days

Common Server-Side Tracking Mistakes

Mistake 1: Implementing Server-Side Only (No Pixel)

The problem: Removing your pixel entirely and going server-side only

Why it's wrong: You want BOTH. Pixel captures browser data (for users who allow tracking), server-side captures everything else. This is called "dual tracking" and gives maximum accuracy.

The fix: Keep your pixel. Add server-side. Use both.

Mistake 2: Not Sending Customer Data

The problem: Sending conversion events without customer email, phone, or name

Why it matters: Customer data helps platforms match conversions to user profiles. Without it, your Event Match Quality is low and attribution suffers.

The fix: Send hashed customer data (email, phone, name) with every purchase event. Most Shopify apps do this automatically.

Mistake 3: Not Testing Properly

The problem: Implementing server-side tracking but not verifying it works

The fix: Use Meta Events Manager Test Events, Google Ads conversion tracking reports, and GTM Preview mode to verify events are firing correctly.

Mistake 4: Expecting Immediate Results

The problem: Implementing CAPI and expecting instant ROAS improvement

The reality: It takes 7-14 days for platforms to ingest the new data and optimize. Be patient.

Expected Results: What Changes After Implementation

Based on data from 50+ Shopify brands we've helped implement server-side tracking:

Meta Ads (With CAPI)

  • Attributed conversions: +25-40%
  • Reported ROAS: +25-40%
  • Event Match Quality: 4.0 → 6.5+
  • Campaign performance: +10-20% (algorithm gets better data)

Google Ads (With Enhanced Conversions)

  • Attributed conversions: +15-25%
  • Reported ROAS: +15-25%
  • Smart Bidding performance: +10-15%

TikTok Ads (With Events API)

  • Attributed conversions: +20-35%
  • Reported ROAS: +20-35%
  • Campaign optimization: +15-20%

Important: These improvements are in REPORTED metrics. Your actual revenue doesn't change—you're just seeing conversions that were always happening.

But here's the magic: Better data = better optimization = actually better performance over time.

Server-Side Tracking and Privacy

One concern: "Isn't server-side tracking more invasive?"

Actually, no. It's more privacy-friendly:

Why Server-Side is Better for Privacy

  • You control the data: You decide what to send to platforms
  • First-party data: You're using your own customer data, not third-party cookies
  • GDPR/CCPA compliant: Easier to manage consent and data rights
  • No browser fingerprinting: Platforms can't track users across sites

Best practice: Still get user consent before sending data. Server-side doesn't exempt you from privacy laws.

The Future: What's Coming Next

Server-side tracking is the present. Here's the future:

1. Privacy Sandbox

Google's replacement for third-party cookies. Uses aggregate, anonymized data for attribution. Server-side tracking will be essential.

2. First-Party Data Strategies

Brands that own customer data (email, phone, purchase history) will dominate. Server-side enables this.

3. Causal Inference

The next evolution: using causal inference to determine which touchpoints actually caused conversions, not just correlated with them.

What to Do This Week

Right. Stop reading and take action:

  1. Audit your current tracking (Check Meta Events Manager—are you seeing "Server" events?)
  2. Choose your implementation method (Shopify app for most brands)
  3. Install Meta Conversions API (This is non-negotiable)
  4. Add Google Enhanced Conversions (Takes 30 minutes)
  5. Monitor for 14 days (Watch your attributed conversions increase)

Server-side tracking isn't optional anymore. It's the baseline for accurate attribution and profitable ROAS optimization.

The brands that implement it properly will have a massive advantage. Everyone else will keep making decisions based on incomplete data.

Your choice.

Quick Answers

Is server-side tracking better than pixel tracking?

Yes, but use both. Server-side is more accurate (not affected by iOS 14, ad blockers, cookies), but pixel tracking still captures valuable browser data. Dual tracking (pixel + server-side) gives maximum accuracy.

How much does server-side tracking cost?

Shopify apps: €50-500/month. Google Tag Manager server container: €50-200/month. Custom implementation: €5,000-20,000 setup. But the cost of NOT having it? Missing 40-60% of conversions and making bad budget decisions.

How long does implementation take?

Shopify app: 30-60 minutes. GTM server-side: 4-8 hours. Custom implementation: 2-4 weeks.

Will server-side tracking improve my ROAS?

Your reported ROAS will increase 25-40% because you'll see more conversions. Your actual ROAS doesn't change immediately—you're just seeing what was always there. But over time, better data = better optimization = genuinely better performance.

Do I need a developer for server-side tracking?

Not if you use a Shopify app (Elevar, Littledata, Trackify). For GTM server-side, basic technical knowledge helps but isn't required. For custom implementation, yes, you need a developer.

Is server-side tracking GDPR compliant?

Yes, but you still need user consent before sending data. Server-side gives you more control over data, making compliance easier. But it doesn't exempt you from privacy laws.

What's Event Match Quality and why does it matter?

EMQ measures how well Meta can match your server events to user profiles (score out of 10). Higher EMQ = better attribution. Improve it by sending hashed customer data (email, phone, name) with events. Aim for 6.0+.

Can I remove my pixel after implementing server-side?

No. Keep both. Pixel captures browser data for users who allow tracking. Server-side captures everything else. Dual tracking gives maximum accuracy.

Ready to stop guessing and start knowing? When Meta says one thing, Google says another, and Shopify shows different numbers entirely, it's time for accurate attribution. Discover how to get clarity on your true ROAS.

Ready for attribution that actually works? Causality Engine combines server-side tracking with causal inference to show you which marketing drives real, incremental revenue.

Fix Your Tracking

Read more

Ready to uncover
your hidden revenue?