> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.rto.ai/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to get the Facebook test event code?

After you set up server events using the Conversions API, you can use test event code to test events sent from your server through the Conversions API. Here's how you can find the test event code.

Step 1 :Go to [Facebook Events Manager](https://www.facebook.com/events_manager2), make sure you have logged in and chose your business account.

Step 2 : Select the pixel ID you want to test event and choose Test Events.

![](https://storage.crisp.chat/users/helpdesk/website/bf925fddbcd2e800/image_1mds6za.png)

Step 3 : Copy the test event code and paste into the app

![](https://storage.crisp.chat/users/helpdesk/website/bf925fddbcd2e800/image_vn7qgr.png)