> 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/setup-tiktok-pixel.md).

# Setup TikTok pixel

### Pixel Config

Firstly, in the Pixel configuration section, please fill in the necessary pixel information, including: &#x20;

Pixel name: Get your TikTok pixel manager&#x20;

TikTok pixel ID: Get your TikTok Pixel manager&#x20;

Target Area: Tracks the Pixel's target

<figure><img src="/files/48mJUGwTgLnUc5UBH7Jq" alt=""><figcaption></figcaption></figure>

> <mark style="color:orange;">**Pixel config information at tiktok pixel manage :**</mark>

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

### Server-Side Config

We strongly recommend that you use both Facebook Pixel and Conversion API (Server-side Config) simultaneously.  You need to provide us with the Access token corresponding to that pixel.

{% hint style="info" %}
Why? If you only use Facebook Pixel, all events will be blocked by Ad Blockers and iOS 14 policies, which is quite risky. However, with Conversion API, this won't be an issue.
{% endhint %}

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

> <mark style="color:orange;">**How to get Access token at your TikTok Pixel manager :**</mark>&#x20;
>
> You can refer to [this video](https://youtu.be/uc9nCB2icEg?si=YPBVCAfYNDz_T-QR) or follow the steps below:

* **Step 1:** Click on the Settings tab.

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

* **Step 2**: Scroll down to find **Access Token Generation** section.

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

* **Step 3** : Click on ***Generate Access Token*** button to create one and copy and paste it into the corresponding pixel in our app.

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

### Events

You can choose the events you want to track. We offer [9 different events](https://zotek.gitbook.io/facebook-multiple-pixel/getting-started/how-zotek-works-track-server-side-or-browser-side-data).

<figure><img src="/files/0WsbO00vau7zRhqHK82a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Finally, don't forget to click **Save** to complete the setup :clap::clap::clap:. You can refer to how to test events [here.](/facebook-multiple-pixel/getting-started/setup-tiktok-pixel-guide/test-tiktok-event.md)
{% endhint %}


---

# 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/setup-tiktok-pixel.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.
