> 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/tiktok/how-to-find-the-tiktok-test-event-code.md).

# How to find the TikTok Test Event Code

## Step 1: Access to your TikTok Events Manager

Log in to your [TikTok Ads Manager](https://ads.tiktok.com/). From the top navigation bar, go to Tools then select Events

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

## Step 2: Select the pixel you are using then go to the Test Events tab

<figure><img src="/files/8kUoTX2w9bWLUuMjSWza" alt=""><figcaption></figcaption></figure>

## Step 3: Copy the test event code

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

## Step 4: Paste the test event code in the TagFly App

Make sure that the conversion API Token is properly configured to run the test event code

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

## Step 5: View logged events

After completing all the required steps in the TagFly app, you can view the logged events in this section.

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

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