Meta (Facebook) Conversions API
Connect TrackFlow to Meta Conversions API to send purchase events directly from your server, bypassing browser limitations and ad blockers.
Why Use Meta Conversions API?
- Bypass iOS 14+ restrictions: Server-side events aren't affected by App Tracking Transparency
- Avoid ad blockers: Events are sent server-to-server
- Better data quality: ~95% match rate vs ~60-70% with browser pixel alone
- Improved attribution: More accurate ROAS reporting
Step 1: Get Your Pixel ID
- Go to Meta Events Manager
- Select your pixel from Data Sources
- Click Settings
- Copy your Pixel ID (a 15-16 digit number)
Step 2: Generate Access Token
- In Events Manager, go to your pixel's Settings
- Scroll to Conversions API section
- Click Generate access token
- Copy the token (it will only be shown once)
Important
The access token is shown only once. Copy and save it securely before closing the dialog. If you lose it, you'll need to generate a new one.
Step 3: Add Pixel to TrackFlow
- Go to your store in TrackFlow
- Click Pixels tab
- Click Add Pixel
- Select Meta (Facebook/Instagram)
- Paste your Pixel ID and Access Token
- Click Save All Pixels
Step 4: Test Your Integration
Click the Test button next to your Meta pixel. Then verify the event in Meta Events Manager:
- Go to Events Manager → Test Events
- You should see a "Purchase" event with value $99.99
- Event source should show "Conversions API"
Events Sent to Meta
| TrackFlow Event | Meta Event | Parameters |
|---|---|---|
| PageView | PageView | url, user_agent |
| ViewContent | ViewContent | content_ids, value, currency |
| AddToCart | AddToCart | content_ids, value, currency, num_items |
| InitiateCheckout | InitiateCheckout | content_ids, value, currency |
| Purchase | Purchase | content_ids, value, currency, order_id |
User Data for Matching
TrackFlow automatically sends hashed (SHA256) user data for improved matching:
- em: Email address (hashed)
- ph: Phone number (hashed)
- client_ip_address: Customer IP
- client_user_agent: Browser info
- fbc: Facebook click ID (from URL)
- fbp: Facebook browser ID (from cookie)
Troubleshooting
Events Not Appearing
- Verify your Pixel ID is correct (15-16 digits)
- Check that your Access Token hasn't expired
- Ensure the token has the correct permissions
Low Event Match Quality
- Ensure customer email is being captured at checkout
- Verify phone numbers include country code
- Check that fbc/fbp parameters are being passed from landing pages