# How to test whether your pixel installation is set up correctly

## Setting Up Event Testing

* In the Dataset ID you are using, go to the **Test events tab**

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

* Copy your Test Event Code

{% hint style="info" %}
Please note that simply using the string 'TEST...' is insufficient; in this case, the correct value to use is TEST80162
{% endhint %}

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

* Turn the toggle on and pass the copied code to the app

{% hint style="info" %}
Please note that for the test event code to function properly, you must ensure that the Conversion API Token is configured correctly
{% endhint %}

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

## View Logged Events

**#Checklist**

✅ You’ve done all the required setup steps in TagFly app

✅ You’ve removed all pre-existing scripts outside TagFly

✅ The test feature is turned on and the Test event code is filled correctly

When you’re all set, you can view the logged events in this section.

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

{% hint style="warning" %} <mark style="color:orange;">Important</mark>: Remember to turn off test server-side events after testing to ensure live events are properly recorded.
{% endhint %}


---

# 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-test-whether-your-pixel-installation-is-set-up-correctly.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.
