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

# TikTok

> Send wishlist saves to your TikTok pixel through the Events API, for TikTok ads retargeting.

Loveful sends wishlist saves to your TikTok pixel through the Events API, so your TikTok ads can reach people who saved products. TikTok needs **Loveful Plus**. Open it under **Settings › Integrations › TikTok**.

You need your pixel's ID and an Events API access token.

## Connect

**1. Open your pixel**

In TikTok Ads Manager, open **Tools**, then **Events**, and choose your store's web pixel. **Open Events Manager** in Loveful takes you there.

**2. Copy its pixel ID**

It's shown under the pixel's name. TikTok also calls it the pixel code. It's letters and numbers, like `C1A2B3C4D5E6F7G8H9I0`.

**3. Generate an access token**

Open **Settings** and, under **Events API**, click **Generate access token**. Copy the token.

**4. Paste both into Loveful and save**

Enter them as **Pixel ID** and **Access token**. The token is stored encrypted and only shown masked afterwards.

### Send a test event

Under **Test the connection**, paste the code from the **Test events** tab of your pixel in TikTok Events Manager into **Test event code**, then choose **Send test event**. The code is only used for this test, so the event shows in the Test events tab and not in your live data.

The page shows when the last event was sent. To stop sending, choose **Disconnect**.

## What Loveful sends

Each save is sent as TikTok's standard **AddToWishlist** event, so you can build audiences and retarget people who saved products. Removes and shares aren't sent, because TikTok has no standard event for them.

Each event carries:

* The saved variant's ID as the content ID, with the product's name, price and your store's currency.
* The page the shopper saved from.
* The shopper's browser: user agent, IP address, and TikTok's own browser cookie (`_ttp`) and click ID (`ttclid`) when present.
* For signed-in shoppers, their email and Shopify customer ID, both hashed, so TikTok can match them.

> [!NOTE]
>
> Purchases aren't sent here: Shopify's TikTok app already sends them.

## Consent

Saves are only sent for shoppers who allow marketing in your store's cookie banner. This covers guests as well as signed-in shoppers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.