> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eykdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok destination

> Conversion tracking

The TikTok Ads destination in Eyk sends both Client-side and Server-side event data to TikTok.

## Setup instructions

<Steps>
  <Step title="Open Pixels">
    Go to [TikTok Business Center](https://business.tiktok.com/manage/assets/pixels) and navigate to **Assets** >> **Pixels**.
  </Step>

  <Step title="Add or select a pixel">
    Choose **Add a pixel** to create a new pixel, or continue to step 4 below to select an existing pixel.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/01-pixels-add-pixel.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=5f4c5e1df7ef51b03c510d3bafd33b38" alt="Add a pixel in TikTok Business Center" width="959" height="436" data-path="images/destinations/tiktok-ads/01-pixels-add-pixel.png" />
    </Frame>
  </Step>

  <Step title="Create a new pixel">
    If you selected **Add a pixel**, complete the flow with the following steps:

    1. Select **Manual setup**
    2. Select **TikTok Pixel + Events API**
    3. Create pixel: give your pixel a name, like `Eyk - Pixel`
    4. Install base code: click **Next**
    5. Manage configurations: select **Enable Automatic Advanced Matching (AAM)** and select **Allow automatic event setup**, leave the other toggles enabled. Then click **Next**
    6. Set up events: click **Next**
    7. Verify pixel setup: click **Next**
    8. Set up business funnel: in the **Choose a template** drop-down, select **E-commerce**. Then click **Next**
    9. Implement Events API: click **Generate access token**, and copy the access token for later use in Eyk. Then click **Next**
    10. Verify eAPI setup: click **Finish**
    11. On the next screen, copy the **Pixel ID** for later use in Eyk

    <Frame>
      <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/02-new-pixel-id.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=3fbed080924547c79c1d1110624a897d" alt="Pixel ID after creating a new pixel" width="781" height="303" data-path="images/destinations/tiktok-ads/02-new-pixel-id.png" />
    </Frame>
  </Step>

  <Step title="Or use an existing pixel">
    \[SKIP this step if you created a new pixel] To select an existing pixel:

    1. Click on the pixel in the list, then click on **Open in Events Manager**

    2. Copy the **Pixel ID** for later use in Eyk

           <Frame>
             <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/03-existing-pixel-id.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=150e5852e4eea341df2593b590af0f20" alt="Pixel ID for an existing pixel" width="781" height="303" data-path="images/destinations/tiktok-ads/03-existing-pixel-id.png" />
           </Frame>

    3. Navigate to the **Settings** tab, then scroll down to **Data connection**

    4. Find the **Events API** section and click on **Generate access token**. Copy the access token for later use in Eyk

           <Frame>
             <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/04-existing-generate-access-token.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=6b48aa1bd2cf1490c5cf6f4104da065e" alt="Generate access token for an existing pixel" width="1574" height="416" data-path="images/destinations/tiktok-ads/04-existing-generate-access-token.png" />
           </Frame>

    5. Scroll down to **Privacy and safety** and ensure **Enable Automatic Advanced Matching (AAM)** and select **Allow automatic event setup** are toggled ON
  </Step>

  <Step title="Add the destination in Eyk">
    In your Eyk environment, go to **Tracking** and click the **+ Add destination** button.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/05-add-destination-button.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=7e15d1a1f9e04eaf7e660aa0c6c1b539" alt="Add destination button in Eyk" width="1341" height="972" data-path="images/destinations/tiktok-ads/05-add-destination-button.png" />
    </Frame>
  </Step>

  <Step title="Select TikTok Ads">
    Select **TikTok Ads** from the list of destinations.
  </Step>

  <Step title="Enter the Pixel ID and Access token">
    Enter the **Pixel ID** and **Access token** collected in the previous steps.
  </Step>

  <Step title="Select an Item ID source">
    Select an **Item ID source** to determine what product identified should be reported to TikTok. If you have an active product feed to TikTok, make sure this matches the identifier type used there.
  </Step>

  <Step title="Start verification">
    Then click **Start verification**.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/images/destinations/tiktok-ads/06-tiktok-ads-verification.png?fit=max&auto=format&n=003HpFVjXCLV8bE-&q=85&s=1d022e7356f95047d249c1b13b6f464a" alt="TikTok Ads verification screen" width="1329" height="974" data-path="images/destinations/tiktok-ads/06-tiktok-ads-verification.png" />
    </Frame>
  </Step>
</Steps>

All done! ✅

<Warning>
  Once you publish this destination, you should pause or remove all existing TikTok tracking. Leaving these on will lead to duplicate tracking.
</Warning>
