← Back to Blog

Conversion Tracking Setup: Measure What Matters

You can't optimize what you don't measure. Proper conversion tracking separates guesswork from data-driven growth.

Most businesses track website traffic but not conversions. They know how many visitors they get but not how many become customers or which marketing channels actually work. Conversion tracking tells you what's working, what's not, and where to invest more. Here's how to set it up correctly.

Define Your Conversions: What Actually Matters

A conversion is any action that moves someone closer to becoming a customer. Not all conversions are equal — prioritize based on business value.

For more insights on this topic, see our guide on A/B Testing Guide for Websites and Apps.

Conversion types by business model:

  • E-commerce — Purchase (primary), add-to-cart, begin checkout (micro-conversions)
  • Lead generation — Form submission, phone call, live chat initiation
  • SaaS/apps — Trial signup, account creation, feature activation
  • Content/media — Newsletter signup, content download, video completion
  • Service businesses — Appointment booking, quote request, contact form

Primary vs. micro-conversions:

  • Primary conversions — Direct business value (purchase, qualified lead, signup). Track these first
  • Micro-conversions — Steps toward primary conversion (product view, pricing page visit, email open). Help identify drop-off points

Start with 3-5 conversions. Tracking 20 different actions creates noise. Focus on what moves the business needle.

Tracking Setup: Using Google Tag Manager

Google Tag Manager (GTM) is the best way to implement conversion tracking. It separates tracking code from your website code, making updates faster and less dependent on developers.

GTM setup process:

  • Install GTM container — Add GTM code to your site (one-time developer task)
  • Create triggers — Define when events fire (page view, button click, form submission)
  • Create tags — What happens when trigger fires (send data to GA4, Facebook Pixel, Google Ads)
  • Test in preview mode — Verify tags fire correctly before publishing
  • Publish changes — Tags go live across your site

Common GTM triggers for conversions:

  • Form submission — Fires when any form is submitted (or specific forms by class/ID)
  • Button click — Tracks clicks on "Buy Now," "Get Quote," "Sign Up" buttons
  • Page view — Thank-you page loads after conversion
  • Custom event — Developer fires event from site code (dataLayer.push)

Funnel Tracking: Where Users Drop Off

Funnels show the path users take toward conversion and where they abandon. Essential for identifying optimization opportunities.

Typical e-commerce funnel:

  • Product page view → Add to cart → Begin checkout → Purchase
  • Example: 1000 views → 150 add to cart (15%) → 80 begin checkout (53% of carts) → 50 purchases (63% of checkouts)

Analyzing funnel drop-offs:

  • Low add-to-cart rate — Product page issue (price, description, reviews, images)
  • Cart abandonment — Unexpected shipping costs, complicated checkout, trust issues
  • Checkout abandonment — Form too long, payment issues, site errors

Set up funnels in GA4: Explore → Funnel Exploration. Define steps as events (page_view, add_to_cart, begin_checkout, purchase). GA4 shows drop-off rates between each step.

Attribution: Which Channels Get Credit

Attribution determines which marketing channels get credit for conversions. This isn't academic — it decides budget allocation.

Attribution models:

  • Last-click — Final touchpoint before conversion gets all credit. Simple but ignores earlier interactions
  • First-click — First touchpoint gets credit. Good for awareness campaigns but ignores nurturing
  • Linear — Equal credit to all touchpoints. Fair but doesn't weight importance
  • Time-decay — Recent touchpoints weighted more heavily. Recognizes recency bias
  • Data-driven — GA4 uses machine learning to assign credit based on actual conversion paths (best if you have enough data)

Most businesses should start with last-click (simplest) and graduate to data-driven once they have sufficient conversion volume (500+ conversions/month).

GA4 attribution: Advertising → Attribution → Conversion paths. See which channels users interact with before converting.

Tag Management: Don't Break Tracking

Tracking breaks when site changes, tags conflict, or developers remove code accidentally. Tag management prevents these issues.

Tag management best practices:

  • Use GTM for all tracking — GA4, Facebook Pixel, Google Ads, LinkedIn Insight Tag all go through GTM
  • Test before publishing — GTM preview mode lets you verify tags fire correctly before going live
  • Document your setup — Comment tags: "Tracks purchase conversions for Google Ads." Future you will thank you
  • Version control — GTM saves versions. If something breaks, roll back to last working version
  • Regular audits — Quarterly check that all tags still fire. Site changes break tracking silently

Common tracking failures:

  • Developer removes GTM container during site redesign
  • Button CSS class changes, breaking click trigger
  • Thank-you page URL changes, conversion tag stops firing
  • Ad blocker prevents tags from loading (10-30% of users)

Cross-Device Tracking: Following Users Everywhere

Users browse on phones, purchase on desktop, or vice versa. Without cross-device tracking, you undercount conversions and misattribute sources.

How cross-device tracking works:

  • User IDs — When users log in, pass user ID to analytics. GA4 ties sessions across devices
  • Google signals — GA4 uses Google account data (if user is signed into Google) to track cross-device
  • Probabilistic matching — Analytics platforms use behavior patterns to guess if two sessions are the same person

Implementing user ID tracking:

  • When user logs in, set user_id in GA4: gtag('config', 'G-XXXXXXX', { user_id: 'USER_12345' })
  • Enable User-ID reporting in GA4 settings
  • Never pass personally identifiable information (PII) — use hashed or anonymized IDs

Cross-device reality: even with perfect tracking, attribution won't be 100% accurate. Privacy regulations and ad blockers limit tracking. Accept 80-90% accuracy as good enough.

E-commerce Tracking: Capture Transaction Data

For online stores, transaction-level data (revenue, products purchased, order ID) is essential for understanding profitability.

E-commerce events to track:

  • view_item — User views product page
  • add_to_cart — Product added to cart
  • begin_checkout — User starts checkout process
  • add_payment_info — Payment method selected
  • purchase — Transaction completed (includes revenue, tax, shipping, product details)

Purchase event parameters:

  • transaction_id (order number)
  • value (total revenue)
  • currency (USD, EUR, etc.)
  • tax, shipping
  • items (array of products purchased with SKU, name, price, quantity)

Most e-commerce platforms (Shopify, WooCommerce, BigCommerce) have plugins that send these events automatically. Use those instead of custom implementation when possible.

Phone Call Tracking: The Offline Conversion Gap

If phone calls are important to your business, track them as conversions. Otherwise you're missing half the picture.

Call tracking methods:

  • Click-to-call buttons — Track when users click phone number links (tel: links)
  • Dynamic number insertion — Show different phone numbers to different traffic sources. Services like CallRail, CallTrackingMetrics
  • Form-based call requests — "Request a call" forms are easier to track than direct calls

Dynamic number insertion is the gold standard for call tracking. Each visitor sees a unique phone number, so you know which marketing source drove the call. Costs $30-100+/month depending on call volume.

Testing and Validation

Set up is only half the battle. Validate that tracking works correctly.

Testing checklist:

  • GTM preview mode — Walk through conversion funnel, verify all tags fire
  • GA4 real-time reports — Complete a test purchase, see it appear in real-time (within 60 seconds)
  • Google Tag Assistant — Chrome extension shows which tags fired on each page
  • Test from multiple devices — Mobile behavior often differs from desktop
  • Test with ad blockers — See what percentage of events get blocked

Schedule quarterly audits. Site updates break tracking silently. Regular checks catch issues before you lose months of data.

Common Mistakes to Avoid

  • Tracking everything — Too many conversions dilute focus. Track 3-5 that matter most
  • Not excluding test transactions — Filter out internal team purchases, refunds, test orders
  • Ignoring data discrepancies — GA4, Google Ads, and Shopify will never match perfectly. Understand why differences exist
  • No documentation — Six months later you won't remember why you set up tracking that way. Document everything
  • Setting and forgetting — Tracking breaks over time. Audit quarterly

Related Reading

Need help setting up conversion tracking?

We'll implement GTM, set up conversion tracking across all your marketing channels, and create dashboards that show ROI clearly.

Set Up Conversion Tracking