What Gets Synced
Ad Performance Data (From Meta):- Campaign, ad set, ad stats
- Spend, impressions, clicks
- CPM, CPC, CTR
- Conversions reported by Meta
- Purchase events with revenue
- Lead gen events
- Signup/registration events
- Add to cart, begin checkout events
- Page view events
- Custom events you configure
How It Works
Conversion Flow
1. User Clicks Meta AdSetup
1. Connect Meta Account
- Navigate to Settings → Sources in DATALYR
- Click “Connect” next to Meta Ads
- Log in to Facebook/Meta account
- Select Business Manager and ad account
- Grant permissions:
- Read ad insights
- Manage ads
- Access Conversions API
- Click “Authorize”
2. Select Primary Ad Account
After connecting:- DATALYR shows all accessible ad accounts
- Select your primary ad account for conversions
- Select the Meta Pixel to use for CAPI events
- Click “Save”
3. Configure Conversion Events
- Go to Settings → Conversion Rules
-
Map your events to Meta standard events:
purchase→ Purchaseadd_to_cart→ AddToCartbegin_checkout→ InitiateCheckoutsignup→ CompleteRegistrationlead→ Lead
-
Set conversion values (optional):
- Use order total for purchases
- Fixed value for leads
- LTV for signups
4. Verify Integration
Test Conversion:- Click a Meta ad (use test ads if available)
- Complete a conversion on your site
- Go to Meta Events Manager
- Check “Test Events” tab
- Verify conversion appears with CAPI badge
- View conversion in DATALYR Event Stream
- Verify fbclid is present
- Confirm conversion sent to Meta (check logs)
Meta Conversions API (CAPI)
Why CAPI Matters
Browser Pixel Limitations:- iOS 14+ tracking restrictions
- Ad blockers prevent pixel loading
- Cookie consent requirements
- Browser privacy features
- Server-side tracking (no browser required)
- Bypasses iOS tracking restrictions
- Immune to ad blockers
- More accurate attribution
- Better event matching
How CAPI Works
Browser Pixel:Deduplication
DATALYR automatically deduplicates between browser pixel and CAPI: Event ID Matching:- Browser pixel:
fbq('track', 'Purchase', {...}, {eventID: 'evt_123'}) - CAPI:
event_id: 'evt_123' - Meta deduplicates if event_id matches
Enhanced Matching
DATALYR sends hashed customer data to improve match rates:Customer Data Sent
Always Hashed (SHA-256):- Email address
- Phone number
- First name
- Last name
- City, state, zip code
- Country
Browser IDs
_fbp (Facebook Browser Pixel):- First-party cookie set by Meta Pixel
- Identifies browser/device
- Format:
fb.1.{timestamp}.{random}
- Contains fbclid from ad click
- Tracks which specific ad was clicked
- Format:
fb.1.{timestamp}.{fbclid}
- Appended to URL by Meta ads
- Unique identifier for each ad click
- Used for attribution and conversion matching
Attribution
Cross-Device Attribution
DATALYR attributes conversions across devices using identity resolution: Example: Mobile (Day 1):Attribution Windows
Meta Default Windows:- 7-day click attribution
- 1-day view attribution
- 30-day attribution window (default)
- Configurable per workspace
Event Mapping
Standard Events
Map your events to Meta standard events for better optimization:| Your Event | Meta Event | Use Case |
|---|---|---|
purchase | Purchase | E-commerce checkout |
add_to_cart | AddToCart | Add item to cart |
begin_checkout | InitiateCheckout | Start checkout |
signup | CompleteRegistration | User registration |
lead | Lead | Lead form submission |
view_content | ViewContent | Product page view |
search | Search | Site search |
add_payment_info | AddPaymentInfo | Payment details entered |
Custom Events
Send custom events for specific business needs:Advanced Features
Action Source
DATALYR automatically sets the correctaction_source:
website: Web-based conversions (default)
Limited Data Use (LDU)
For California (CCPA) and other privacy-restricted regions:Test Events
Test conversions before going live:- Enable test mode in DATALYR
- Create test conversion
- Check Meta Events Manager → Test Events
- Verify data is correct
- Disable test mode for production
Troubleshooting
Conversions Not Appearing in Meta
Check:- Integration is connected and active
- Meta Pixel ID is correct
- Event has fbclid or _fbp cookie
- Event is within attribution window (30 days)
- Check Events Manager for errors
- Missing fbclid: User didn’t come from Meta ad
- Duplicate event IDs: Check deduplication
- Invalid user data: Email/phone must be hashed
Low Match Rate
Improve matching by:- Send email with every conversion
- Include phone number when available
- Send full address data (city, state, zip)
- Ensure _fbp and _fbc cookies are captured
Attribution Discrepancies
DATALYR vs Meta Numbers: Common reasons for differences:- Attribution windows differ (DATALYR: 30d, Meta: 7d)
- View-through attribution (Meta counts, DATALYR doesn’t by default)
- Conversion time differences (DATALYR uses event time, Meta uses ad time)
Data Privacy
Customer Data:- All emails, phones, names are SHA-256 hashed
- No plaintext PII sent to Meta
- GDPR and CCPA compliant
- Opt-out respected
Next Steps
Google Ads
Send conversions to Google Ads
TikTok Ads
Track TikTok ad performance
Conversion Rules
Configure custom conversion rules
Customer Journeys
View complete customer paths