# 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="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2Ftm3gvd2GDn4do7QQLBC4%2Fimage%20(1).png?alt=media&#x26;token=5ad4d7c1-6681-4e25-a4d3-07a536130882" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FPaaPRtIv8py5zQklVVKP%2Fimage%20(2).png?alt=media&#x26;token=56b80555-6c92-4759-ab98-0cba4814802e" alt=""><figcaption></figcaption></figure>

## Step 3: Copy the test event code

<figure><img src="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FdOEbg9cbhWJ20mCzyakx%2Fimage%20(3).png?alt=media&#x26;token=871a6318-06d7-47d8-868c-aa910ccb9698" 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="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FxqlPcx7qdXn93r9moOSI%2Fimage%20(4).png?alt=media&#x26;token=bb2c030d-c1bf-420e-bb4e-7fd06cd71cca" 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="https://1144253429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MBfYCwydxsHKqFQVY7j%2Fuploads%2FLiVaNHhQcNWAVbROQ9Rl%2Fimage%20(5).png?alt=media&#x26;token=a2145c1d-7361-4a96-b074-8543730916b8" 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 %}
