# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tagfly.io/facebook/how-to-find-the-facebook-test-event-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
