Meta Ads
Meta Ads Conversion Tracking: CAPI, iOS14 & Event Optimization
Master Facebook/Meta Ads conversion tracking with Conversions API setup, iOS14 workarounds, and event parameter optimization for accurate data.
A useful measurement setup connects customer actions to clear reporting definitions. Review browser and server events, consent, values and attribution separately; no integration removes every measurement limitation.
Why Conversion Tracking Matters
Without accurate tracking, you cannot:
With proper tracking:
The iOS14 Challenge
What Changed
Before iOS14:
After iOS14 (2021):
The Reality:
Your ads might be 2-4x more profitable than Facebook reports, but the algorithm cannot see the full picture.
The Solution: Conversions API
Conversions API (CAPI) sends data directly from your server:
Meta Pixel vs Conversions API
Meta Pixel (Browser Tracking)
How It Works:
Advantages:
Limitations:
Conversions API (Server Tracking)
How It Works:
Advantages:
Recommended Setup: Both Together
Use Pixel AND Conversions API simultaneously for maximum accuracy. Facebook automatically deduplicates events.
Setting Up Meta Pixel
Shopify Installation (Easiest)
Method 1: Native Integration
1. Shopify Admin → Settings → Apps and Sales Channels
2. Install Facebook & Instagram channel
3. Connect Facebook account
4. Select your Pixel
5. Pixel installs automatically
Events tracked automatically:
Custom Website Installation
Steps:
1. Facebook Events Manager → Data Sources → Pixels
2. Create new Pixel
3. Copy Pixel ID
4. Add pixel code to website head section
5. Add event tracking code on key pages
6. Verify with Meta Pixel Helper extension
Essential Events to Track
Standard Events (Priority Order):
1. Purchase - Order completed (MOST IMPORTANT)
2. InitiateCheckout - Checkout started
3. AddToCart - Item added to cart
4. ViewContent - Product page viewed
5. AddPaymentInfo - Payment details entered
6. Search - Site search used
7. Lead - Form submitted
Setting Up Conversions API
Shopify (Automatic Setup)
Enable Server-Side Tracking:
1. Shopify Admin → Settings → Customer Events
2. Facebook → Manage
3. Toggle ON "Maximum data sharing"
4. Save changes
This automatically sends server-side events with customer data for better attribution.
Custom Website Setup
Option 1: Facebook Business Extension (WordPress)
1. Install Facebook for WordPress plugin
2. Connect Facebook account
3. Enable Conversions API
4. Enter API access token
5. Configure events
Option 2: Manual Server Integration
Steps:
1. Facebook Events Manager → Settings → Conversions API
2. Generate Access Token
3. Integrate API into your server code
4. Send events server-side (Purchase, AddToCart, etc)
5. Include customer data (email, phone, name)
6. Test events in Events Manager
Important: Include event_id parameter to deduplicate pixel and CAPI events.
Event Deduplication
Why It Matters
Without deduplication:
With deduplication:
How to Implement
Generate unique ID for each event:
Example event_id: "order_12345_1704567890"
Enhanced Match (Advanced Matching)
What Is Enhanced Match?
Sends hashed customer data to improve attribution:
Benefits:
Setup Methods
Automatic Enhanced Match:
1. Events Manager → Pixel Settings
2. Toggle ON "Automatic Advanced Matching"
3. Facebook scrapes form fields automatically
Manual Enhanced Match (Better):
Send customer data explicitly when available:
Privacy Note: Always hash personally identifiable information (PII) before sending.
Event Parameter Optimization
Why Parameters Matter
Without parameters:
With rich parameters:
Essential Parameters
ViewContent Event:
AddToCart Event:
Purchase Event (MOST CRITICAL):
Parameter Best Practices
Value Parameter:
Content IDs:
Currency:
iOS14 Workarounds
Aggregated Event Measurement (AEM)
Check the current event and attribution settings available in the account. Do not add a manual eight-event ranking step because an older tutorial includes it. Record the business outcome, selected event, collection method, value definition and attribution window separately. Validate the actual customer path and investigate differences against order or lead records.
Domain Verification
Confirm that the business controls the domain and follow the current requirements for the connected product. Do not treat domain verification as proof that event collection, consent or attribution is correct.
Attribution Window Changes
Read the attribution setting in the current account. Compare it with the date range and definitions in the business reporting. A difference in attributed conversions does not by itself establish lost sales or a broken integration.
For Shopify, review the documented data-sharing setup. Event-value definitions can differ from the revenue measure used in business reporting.
Testing Your Tracking
Verification Tools
1. Meta Pixel Helper (Chrome Extension)
2. Events Manager Test Events
3. Events Manager Diagnostics
What to Check
Pixel Installation:
Event Parameters:
Conversions API:
Common Tracking Mistakes
Mistake 1: Wrong Purchase Value
WRONG: Include tax and shipping in value
RIGHT: Use subtotal only (before tax/shipping)
Mistake 2: Purchase Event on Wrong Page
WRONG: Fires on cart or checkout page
RIGHT: Fires ONLY on thank-you/confirmation page
Mistake 3: Missing Event IDs
WRONG: No deduplication between pixel and CAPI
RIGHT: Both send identical unique event_id
Mistake 4: Incorrect Content IDs
WRONG: Use product names as content_ids
RIGHT: Use actual SKU/product ID that matches catalog
Mistake 5: No Domain Verification
Impact: Limited to 1 iOS event instead of 8
Fix: Verify domain immediately in Business Manager
Advanced Tracking Strategies
Value-Based Optimization
Create custom events for high-value purchases:
Category-Specific Tracking
Track product categories separately:
Engagement Tracking
Track high-intent behaviors:
Troubleshooting Guide
Events Not Firing
Check:
Low Event Match Quality
Fix:
CAPI Events Missing
Check:
iOS Conversions Not Tracking
Fix:
Performance Benchmarks
Good Tracking Setup Shows:
Event Match Quality:
Pixel Health:
CAPI Performance:
The Bottom Line
Bulletproof tracking requires:
✓Meta Pixel installed on all pages
✓All standard events tracking with parameters
✓Conversions API sending server events
✓Event deduplication via unique event_ids
✓Enhanced Match enabled and working
✓Domain verified for iOS14 compliance
✓Aggregated Event Measurement configured
✓Regular monitoring and testing
With perfect tracking:
Proper tracking is not optional in 2025. It's the difference between guessing and knowing what works.
Apply it to your account
Need help applying it?
Share your website, goal and current setup. We can discuss whether the project is a fit and agree on the scope before work starts.
Get a project review ↗