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): document snapchat destination #9932

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
57 changes: 57 additions & 0 deletions contents/docs/cdp/destinations/snapchat-ads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
title: Send PostHog conversion events to Snapchat Ads
templateId: template-snapchat-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 Snapchat 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 **Snapchat 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.

Also not available at the moment:

CleanShot 2024-11-25 at 11 39 18@2x


4. Next, get your Snapchat access token and pixel ID. Log in to [Snapchat Ads Manager](https://ads.snapchat.com/) then:

1. Click the menu in the top corner and select **Events Manager**.
2. Click **new event source** and select **Web**.
3. For the connection method, select **Conversions API**.
4. 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.
1. To create a new Pixel, click **Create new Pixel** and enter a name for your Pixel and click **Confirm**.
5. Select **Create new token** and click **Generate**.
6. Select **Set up manually** and click **Next**.
7. You can create an access token by clicking **Generate Access Token**.
8. Configure your Events and copy your **access token**.
9. Select your Pixel from the event sources list and copy your **Pixel ID**.

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 Snapchat 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/snapchat_ads/template_snapchat_ads.py) is available on GitHub.

<PostHogMaintained />

<FeedbackQuestions />

</HideOnCDPIndex>
4 changes: 4 additions & 0 deletions src/navs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2820,6 +2820,10 @@ export const docsMenu = {
name: 'Sendgrid',
url: '/docs/cdp/destinations/sendgrid',
},
{
name: 'Snapchat Ads',
url: '/docs/cdp/destinations/snapchat-ads',
},
{
name: 'Zapier',
url: '/docs/cdp/destinations/zapier',
Expand Down