> For the complete documentation index, see [llms.txt](https://zotek.gitbook.io/facebook-multiple-pixel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zotek.gitbook.io/facebook-multiple-pixel/getting-started/setup-tiktok-pixel-guide/test-tiktok-event.md).

# Test TikTok event

TikTok Pixel Helper extension detects only browser events, which are often blocked by iOS 14 and Ad Blockers. To ensure optimal pixel performance, Zotek uses both the Conversion API (server-side) and  TikTok Pixel (browser-side) to track events. ([How Zotek works](https://zotek.gitbook.io/facebook-multiple-pixel/getting-started/setup-tiktok-pixel-guide/tiktok-pixel-for-shopify-how-it-work)).

You can verify events accurately and visually by following the steps below.

### Get Test Event code

Firstly, we need to retrieve the **Test Event Code** from TikTok Pixel management page.

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

In **Test Server Events** section, copy **Test Event Code**, which is typically formatted as '**TEST...**'"

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

### Add Test event code to Zotek App

Next, return to the Zotek app and click 'Edit Pixels.

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

At **Server Side Config** section, please click on **Test Server Side Event**.

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

Finally, paste the code you just copied. Don't forget to click **Save** to apply the settings.

<figure><img src="/files/2xss6IfiNwFSXfl0Jv22" alt=""><figcaption></figcaption></figure>

Now, go to your store and trigger some test events. You will see the events being sent in real-time to the **Test Events** screen on TikTok.

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

{% hint style="warning" %} <mark style="color:orange;">Important: After testing, you must remove the 'Test Event Code' from our app. Otherwise, TikTok will not store any events, as they will only be recognized as test events.</mark>

![](/files/4CLhgS0nPW95iJ64hZqn)
{% endhint %}

To make it easier to understand, you can refer to the quick tutorial video below:

{% embed url="<https://youtu.be/mc1gfDqPSDw?si=9camDkH2uSwjTu46>" %}

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://zotek.gitbook.io/facebook-multiple-pixel/getting-started/setup-tiktok-pixel-guide/test-tiktok-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
