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

  1. Go to Meta Events Manager
  2. Select your pixel from Data Sources
  3. Click Settings
  4. Copy your Pixel ID (a 15-16 digit number)

Step 2: Generate Access Token

  1. In Events Manager, go to your pixel's Settings
  2. Scroll to Conversions API section
  3. Click Generate access token
  4. 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

  1. Go to your store in TrackFlow
  2. Click Pixels tab
  3. Click Add Pixel
  4. Select Meta (Facebook/Instagram)
  5. Paste your Pixel ID and Access Token
  6. 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:

  1. Go to Events Manager → Test Events
  2. You should see a "Purchase" event with value $99.99
  3. Event source should show "Conversions API"

Events Sent to Meta

TrackFlow EventMeta EventParameters
PageViewPageViewurl, user_agent
ViewContentViewContentcontent_ids, value, currency
AddToCartAddToCartcontent_ids, value, currency, num_items
InitiateCheckoutInitiateCheckoutcontent_ids, value, currency
PurchasePurchasecontent_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

Next Steps