Home / Resources / Server-side tracking for Shopify

Tracking and analytics · Guide

Server-side tracking for Shopify: do you need it?

3platforms: Meta, Google and TikTok
48 hourswindow for Meta to match browser and server copies of one event
Standard · Enhanced · Maximumdata sharing levels in Shopify’s Meta and TikTok apps

Short answer: server-side tracking sends your sales data to Meta, Google and TikTok from a server, not only from the visitor’s browser. It runs alongside your browser pixel, helps when ad blockers stop the pixel, and suits stores that spend meaningfully on ads. It does not remove the need for consent.

Watch it in under a minute

Real jobs, short videos. Press play.

See all videos →
  • Real store

    Tracking rescue: 0 purchases in GA4

    Selling daily, reporting zero. Fixed and proven with test orders.

Browser tracking vs server-side tracking

1Browser onlyA pixel in the visitor’s browser sends the sale
2Blocked?An ad blocker or consent choice can stop it
3Server tooYour store also sends the sale from a server
4DeduplicatedThe platform matches both copies by event ID

Shopify’s own help says a browser ad blocker can prevent the Meta pixel from sharing data, and that server-to-server data cannot be blocked by browser ad blockers. That is the main reason stores add a server-side connection.

What each platform calls it

PlatformNameWhat it doesRuns with the pixel?
MetaConversions APISends events from your server. Meta processes them like pixel events.Yes. Meta recommends a redundant setup with both, using the same Pixel ID.
GoogleEnhanced conversionsAdds hashed first-party data, such as an email, to your existing conversion tracking.Yes, it builds on your existing conversion tag.
TikTokEvents APIA reliable connection between TikTok and your marketing data.Yes. TikTok recommends it as a second channel alongside the TikTok Pixel.

Sources: Meta for Developers, Google Ads Help and TikTok Ads Help (linked below).

How Shopify handles it

You do not need to write code to start. Shopify’s Facebook and Instagram app and the TikTok app each have data sharing levels: Standard, Enhanced and Maximum. On Meta, Standard uses the pixel only, while Enhanced and Maximum also use the Conversions API. On TikTok, Standard is Pixel only and Enhanced adds the Events API. Google’s Shopify app suggests purchase, add to cart and checkout started conversion actions by default, and lets you turn on enhanced conversions during setup or later in its Google Ads settings.

Check the setting. Shopify says sharing is optional, and recommends keeping your privacy policy up to date. Choose the level that matches your privacy policy and the laws that apply to you. This is not legal advice.

Deduplication: the part people forget

If both the browser and the server send the same sale, the platform must count it once. Meta’s documentation says the pixel eventID must match the Conversions API event_id, the event names must match, and the copies are deduplicated only if received within 48 hours of the first. TikTok says the Pixel and Events API must share an event_id too. Shopify’s apps handle this for you; custom setups must do it themselves.

Do you need it?

It is probably worth it if you

  • Spend meaningfully on Meta, Google or TikTok each month
  • Have noticed ad platforms report fewer sales than Shopify
  • Sell to audiences with high ad-blocker use
  • Plan to scale ad spend

You can wait if you

  • Have very low ad spend
  • Have not fixed basic GA4 and purchase tracking yet
  • Cannot yet explain your consent banner setup
  • Sell mostly through non-ad channels

Consent still applies. Server-side tracking is not a way around consent. Shopify’s help says that under opt-in settings non-essential data is collected only after consent, and its pixel manager only loads a pixel if the visitor gave the permissions it declares.

How to test it

  1. Turn on one platform at a timeStart with the platform where you spend most.
  2. Place a test orderUse a real checkout with the platform’s test tools open.
  3. Check the event arrives from both sourcesLook for the browser event and the server event.
  4. Confirm it counts onceThe purchase should show once, not twice, in the platform.
  5. Compare to Shopify after a weekMatch orders for the same dates and note any gap.

Start with the basics in our Shopify GA4 setup guide. If you want us to set it up and test it, see GA4 and tracking setup for the USA or Australia.

Sources

Questions answered

What is server-side tracking?

It means your store or a server sends conversion events to ad platforms directly, instead of relying only on code running in the visitor’s browser.

Does server-side tracking replace the Meta pixel?

No. Meta recommends a redundant setup that uses both the pixel and the Conversions API with the same Pixel ID, and deduplicates them by event ID.

Is server-side tracking allowed without consent?

No. It is not a way around consent. Shopify says that under opt-in settings, non-essential data is collected only after consent. This is not legal advice, so check the rules that apply to you.

What are enhanced conversions in Google Ads?

A feature that adds hashed first-party data, such as an email address, to your existing conversion tracking to improve measurement.

How do I turn it on in Shopify?

Use the data sharing settings in the Facebook and Instagram app and the TikTok app, and enhanced conversions in the Google and YouTube app. Then test an order and confirm each event counts once.

How much does it cost?

The Shopify app settings carry no extra fee from the apps themselves as far as we have checked, but custom server setups and agency help cost money. We quote after a free audit call.

Limon Ghosh

Limon Ghosh runs MindfulClicks from Sydney and manages paid ads, tracking and Claude AI automation for online stores and B2B companies in Australia and the USA.

Want server-side tracking set up and tested?

Book a free 30-minute call. We check what your platforms receive today and tell you what to fix first.

Book a free strategy call →

Related

Get your consultation booked in

Share a few details in the form so we can better help you and your company


MindfulClicks

Limon Ghosh

PPC/SEO Consultant Expert