Sytrics

Conversion Tracking for E-commerce: The Complete Setup Guide

E-commerce conversion tracking is the process of measuring specific user actions β€” from product views to purchases β€” and sending that data to your ad platforms. Without accurate event data, your ad algorithms cannot optimize toward real buyers.

Which events matter for e-commerce ad campaigns

ViewContent

Fires when a user views a product page. Signals browsing intent to ad platforms for retargeting.

AddToCart

Fires when a user adds an item to their cart. High purchase-intent signal for Meta and Google.

InitiateCheckout

Fires when a user starts the checkout process. Critical for measuring checkout funnel drop-off.

AddPaymentInfo

Fires when payment details are entered. Signals payment-stage intent for higher-quality audience building.

Purchase

The primary conversion event β€” fires on order confirmation. Required for ROAS optimization on all platforms.

Search

Fires when a user searches your store. Identifies high-intent visitors who are actively looking.

CompleteRegistration

Fires when a new account is created. Useful for loyalty program and CRM audience building.

GTM code for e-commerce tracking

Sytrics generates a complete GTM tag configuration for all selected ad platforms. Each tag is pre-configured with the correct event parameters for e-commerce β€” including value, currency, content_ids, content_type, and num_items β€” ready to paste directly into your GTM container.

Generate your e-commerce tracking code β†’

Setting up CAPI for e-commerce

Browser-only tracking misses a significant share of e-commerce conversions. iOS App Tracking Transparency, ad blockers, and third-party cookie restrictions can cause 20–40% of purchase events to go unrecorded. For e-commerce stores running Meta or Google ads, CAPI is not optional β€” it is necessary for accurate ROAS reporting.

Sytrics generates the CAPI event payload structure and deduplication configuration for Meta Conversions API, Google Enhanced Conversions, and TikTok Events API. The generated code includes event_id deduplication to prevent double-counting when both pixel and CAPI fire for the same purchase.

Step-by-step: E-commerce tracking setup

  1. 1

    Enter your store URL in Sytrics. AI scans your product pages, cart, and checkout flow.

  2. 2

    Select E-commerce as your sector and choose your primary goal (Purchase).

  3. 3

    Select all ad platforms you run campaigns on.

  4. 4

    Sytrics identifies your specific store's conversion events and generates GTM code for each platform.

  5. 5

    Open Google Tag Manager. Create a new Custom HTML tag and paste the generated code.

  6. 6

    Set triggers: product pages for ViewContent, cart actions for AddToCart, order confirmation for Purchase.

  7. 7

    Use GTM Preview mode to verify events fire correctly at each funnel step.

  8. 8

    Publish your GTM container and monitor event data in each ad platform's events manager.

Frequently asked questions

Which events should I track for e-commerce ads?

For e-commerce, the core events are ViewContent (product page views), AddToCart, InitiateCheckout, AddPaymentInfo, and Purchase. Sytrics also identifies micro-conversion events specific to your store that help the ad algorithm learn faster.

Why is CAPI important for e-commerce?

iOS privacy restrictions and ad blockers can cause 20–40% of e-commerce purchase events to go unmeasured when using only browser-side pixels. CAPI sends purchase data directly from your server, recovering this lost attribution data.

How do I track purchases in Google Tag Manager?

Sytrics generates a complete GTM tag configuration that fires on your order confirmation page, pushing the purchase event with value, currency, and item data to all selected ad platforms simultaneously.

Can I use Sytrics with Shopify or WooCommerce?

Yes. Sytrics generates CMS-agnostic GTM code that works with any e-commerce platform β€” Shopify, WooCommerce, Magento, PrestaShop, or custom-built stores.

What is event deduplication in e-commerce tracking?

Deduplication prevents a purchase from being counted twice when both pixel and CAPI fire for the same event. Sytrics Pro generates a unique event_id for each transaction to link server and browser events without double-counting.

Generate your e-commerce tracking code β†’

Free to start Β· No credit card required Β· Results in 3 minutes

Platform setup guides:

Meta Conversions API β†’TikTok Events API β†’All platforms β†’