How to find your Test Event Code
When testing your server-side events, it’s recommended to use a test event code whenever available. This helps prevent test data from polluting your production analytics and event reporting.
Below are instructions for obtaining and using test event codes for:
- Meta Conversions API
- TikTok Events API
For Snapchat Conversions API, a test event code is not required, as Snapchat provides other methods for validating events without affecting production data.
Meta Conversion API
Go to your Meta Events Manager and open the Test Events section.
Inside the Test Events tool, you will find a Test Event Code.
Copy this code.

TikTok Events API
In the top-left menu, select Events Manager.
Under Data Sources, choose your Pixel.
Open the Test Events tab, then locate and copy the Test Event Code from the Server Events section.

Updated on: 17/06/2026
