Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cdp): add tiktok ads documentation #9931

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions contents/docs/cdp/destinations/tiktok-ads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: Send PostHog conversion events to TikTok Ads
templateId: template-tiktok-ads
---

import Requirements from "../_snippets/requirements.mdx"
import FeedbackQuestions from "../_snippets/feedback-questions.mdx"
import PostHogMaintained from "../_snippets/posthog-maintained.mdx"

<Requirements />

You'll also need access to the relevant TikTok Ads account.

## Installation

1. In PostHog, click the [Data pipeline](https://us.posthog.com/pipeline/overview) tab in the left sidebar.

2. Click the **Destinations** tab.

3. Search for **TikTok Ads Conversions** and select the destination.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem to be available yet?
CleanShot 2024-11-25 at 11 28 53@2x


4. Visit the [TikTok Events Manager](https://ads.tiktok.com/i18n/events_manager/home).
1. Note: If you’ve already set up a Pixel for your website, we recommend that you use the same Pixel for your browser and server events.
MarconLP marked this conversation as resolved.
Show resolved Hide resolved
1. To create a new Pixel, click **Connect data source** and select **Web**.
2. Skip the **Add your website** step.
3. For the connection method, select **Manual setup** and **Events API**.
4. Enter a name for your Pixel and click **Create**.
2. Go to your Pixel via **Data sources**.
3. Switch to the **Settings** tab and your Pixel ID will be listed as **ID**.
4. You can create an access token by clicking **Generate Access Token**.

5. Back in PostHog, add the Pixel ID and Access token to the destination configuration.

6. Set up your event and property filters to remove unnecessary events. You only want to send events that are conversions. Filter out unrelated events or ones missing required data.

7. Press **Create & enable**, test your destination, and then watch your conversions get sent to TikTok Ads.

<HideOnCDPIndex>

## Configuration

<TemplateParameters />

## FAQ

### Is the source code for this destination available?

PostHog is open-source and so are all the destination on the platform. The [source code](https://github.com/PostHog/posthog/blob/master/posthog/cdp/templates/tiktok/template_tiktok_ads.py) is available on GitHub.

<PostHogMaintained />

<FeedbackQuestions />

</HideOnCDPIndex>
Loading