> For the complete documentation index, see [llms.txt](https://docs.tagfly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tagfly.io/facebook/how-to-find-the-facebook-test-event-code.md).

# How to find the Facebook Test Event Code

## Step 1: Access Facebook Events Manager

Access [Facebook Events Managers](https://business.facebook.com/events_manager2) and select Data sources from the left navigation

<figure><img src="/files/IdqXfwn9kQoxPFuikUvi" alt=""><figcaption></figcaption></figure>

## Step 2: Select the Dataset you are using and go to the Event Testings tab

<figure><img src="/files/PHSkAKyLaw4GxOBXdgO6" alt=""><figcaption></figcaption></figure>

## Step 3: Copy your Test Event Code

Please note that simply using the string 'TEST...' is insufficient; in this case, the correct value to use is **TEST80162**

<figure><img src="/files/LTfxC1cfvKr0avDHTP4m" alt=""><figcaption></figcaption></figure>

## Step 4: Update Your Test Event Code in the TagFly App

Please note that for the test event code to function properly, you must ensure that the Conversion API Token is configured correctly

<figure><img src="/files/3y58gK2HBcla1339ksoc" alt=""><figcaption></figcaption></figure>

## Step 5: View Logged Events

After installing and testing the event, you can view the logged events in this section.

<figure><img src="/files/6NgPLZNZIZO9kxefxRVR" alt=""><figcaption></figcaption></figure>
