Skip to content

Verify that AnyTrack sends conversion data correctly to Facebook by using Meta Test Events. Copy the test event code from Events Manager, paste it into your Facebook Pixel settings in AnyTrack, and inspect server events in real time.

After connecting your Facebook Pixel and enabling the Conversion API in AnyTrack, you need a way to confirm that conversion data is actually reaching Meta and that the event payload contains the right parameters.

Meta provides a Test Events tool inside Events Manager that shows server-side events in near real-time. AnyTrack supports this with a test session. You paste the test event code into your Facebook Pixel settings, and AnyTrack gives you a session URL. AnyTrack sends the events of that session to the Conversion API as test events.

Play YouTube video

Meta Events Manager includes a Test Events tab that listens for incoming events tagged with a specific test code. When you open your website through the session URL from AnyTrack, the server-side events of that session include the test_event_code parameter. Meta then routes those events into the Test Events view instead of processing them silently, giving you a near real-time feed of what AnyTrack is sending.

This lets you validate your setup without waiting for data to appear in Events Manager (typically up to 20 minutes for event parameters) or Ads Manager (which can take several hours to report attributed conversions).

  1. Open Meta Events Manager
  2. Select the pixel (data source) connected to AnyTrack
  3. Click the Test Events tab
  4. Copy the test event code displayed at the top of the page (e.g., TEST12345)
  1. Go to your AnyTrack Dashboard
  2. Navigate to Tracking Pixels and open your Facebook Pixel
  3. Scroll to the Facebook Conversion API section. The test session controls show only when Enable server-to-server tracking is on.
  4. Click Session with test code to expand the section
  5. Paste the test event code into the Session Test Code field
  6. Click Copy URL to copy the session URL
AnyTrack documentation screenshot

Open the session URL in your browser. Then generate a real event on your website or landing page: submit a form, complete a checkout, or click an affiliate link. The event should appear in Meta Events Manager, under the Test Events tab, marked as a Server event.

Once your test event appears in Events Manager, click into it to review the details:

Confirm the event name matches what you expect (e.g., Purchase, Lead, AddToCart). If you use custom Event Mapping, verify that your custom events appear under the correct Facebook event name.

Meta shows which customer information parameters were included in the event payload. These directly affect your Event Match Quality score. Look for:

  • Client IP Address and Client User Agent: collected automatically by the AnyTrack Tracking Tag
  • Facebook Click ID (fbclid): collected from the ad click URL when the UTM template is configured
  • Facebook Browser ID (fbp): first-party cookie set by the Meta Pixel
  • Email or Phone: available when passed through form submissions, CRM integrations, or webhooks

For events that carry monetary values (Purchase, InitiateCheckout), confirm:

  • Value and Currency match the actual transaction
  • Content IDs and Content Type are present for product-level events

Incorrect revenue values will skew ROAS calculations in Ads Manager.

Test Mode is most useful in these situations:

  • Initial setup: After connecting your Facebook Pixel for the first time, confirm events flow correctly before running ads.
  • Custom event mapping changes: After modifying your event mapping, verify that custom events appear under the correct Facebook event names.
  • New property onboarding: When adding a new website or funnel, confirm the AnyTrack Tracking Tag fires events and that they reach Meta.
  • Debugging match quality: When your EMQ scores are lower than expected, inspect the payload to see which parameters are missing.
  • After troubleshooting: After resolving issues from the Troubleshooting Guide, confirm the fix by checking that events appear correctly in Test Events.

You do not need to remove the test event code. AnyTrack does not save it in your Facebook Pixel settings. The code applies only to the session that you open through the session URL, and AnyTrack does not add it to the events of later sessions.

Playbook

  • Shopify
  • Facebook Ads

Send Shopify Purchases to Meta Conversions API

The 20-minute fix for iOS signal loss. Full-funnel checkout events, sent server-side and deduplicated by AnyTrack before they reach Meta.

Facebook CAPI Test Mode FAQ

FAQ was last reviewed on 2026-12-02

Where do I find the test event code in Meta?
Open Meta Events Manager, select your pixel (data source), and click the Test Events tab. The test event code is displayed at the top of the page. Copy it and paste it into the Session Test Code field in your Facebook Pixel settings in AnyTrack. Then open the session URL that AnyTrack shows.
How quickly do events appear in the Test Events tab?
Events typically appear within 30 seconds after the conversion triggers. This is much faster than standard Events Manager processing, which typically takes up to 20 minutes for event parameters to display.
Why do I see hashed values for email and phone?
AnyTrack hashes customer data, such as email, phone, and name, before it sends the data to Meta, as the Facebook Conversion API requires. It sends the IP address, user agent, fbp, and fbc as they are. The hashed values reflect exactly what Meta receives. This is expected and does not affect match quality.
Can I use AnyTrack test mode and the Meta Test Events tool at the same time?
Yes. They work together. AnyTrack sends the events of your test session with the test event code, and Meta Test Events shows those events when they arrive at Facebook.
Do test events count toward my event totals?
Yes. Events sent with a test event code are real Conversion API calls. They appear in Events Manager and count toward your event totals. Use the session URL only for tests, so that test data stays apart from production traffic.
Some events appear in the Test Events tab and others do not. Why?
The Test Events tab shows only the events that carry the test event code. AnyTrack delivers an event that does not carry the code as a live event, and Meta does not list that event in the Test Events tab. If you see InitiateCheckout in the Test Events tab but you do not see Purchase, the Purchase event can still be delivered. Open Meta Events Manager and select the Overview tab to find the event. Event parameters can take up to 20 minutes to display. The Test Events tab is a validation view, not a proof of delivery. Contact support at support@anytrack.io to confirm the outbound Conversion API status of a specific event.
The test event code expired. What do I do?
Meta generates a new code each time you open the Test Events tab. If your code expired, go back to Events Manager and copy the new code. Paste it into the Session Test Code field in your Facebook Pixel settings in AnyTrack, then open the new session URL.