# Reddit Pixel

[**Reddit Pixel**](https://ads.reddit.com/) is a JavaScript snippet that, once added to your website, lets you track user actions on your website after interacting with your ad on Reddit. You can also leverage Reddit Pixel to retarget your visitors and boost your conversions.

You can now seamlessly send your event data to Reddit Pixel by adding it as a destination in RudderStack.

## Getting Started

Before configuring Reddit Pixel as a destination in RudderStack, verify if the source platform is supported by Reddit Pixel by referring to the table below: ̦

| **Connection Mode** | **Web**       | **Mobile** | **Server** |
| ------------------- | ------------- | ---------- | ---------- |
| **Device mode**     | **Supported** | -          | -          |
| **Cloud mode**      | -             | -          | -          |

To know more about the difference between Cloud mode and Device mode in RudderStack, refer to the [RudderStack connection modes](https://rudderstack.com/docs/rudderstack-cloud/rudderstack-connection-modes/) guide.

Once you have confirmed that the source supports sending events to Reddit Pixel, perform the steps below:

* From your [**RudderStack dashboard**](https://app.rudderstack.com/), add the source. From the list of destinations, select **Reddit Pixel**.
* Give a name to the destination and click on **Next**. You should then see the following screen:

![](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-e46758f2397cbd4def2e0bc343ea737c2ba555f5%2FRedditPixel-1.png?alt=media)

* Enter your **Reddit Pixel Advertiser ID**.

For more information on how to find your Reddit Pixel Advertiser ID, refer to the FAQs below.

## Identify

In Reddit Pixel, the `identify` call updates the Reddit Pixel with the user's signup information.

For more information on the `identify` call, check out the [**RudderStack API spec**](https://rudderstack.com/docs/rudderstack-api/api-specification/rudderstack-spec/identify/).

A sample `identify` call is as shown:

```javascript
rudderanalytics.identify()
```

## Page

When the `page` call is made, the `track` event is sent as `PageVisit` to `rdt('track,'PageVisit')`. RudderStack ignores any parameter sent to `rudderanalytics.page()`.

For more information on the `page` call, check out the [**RudderStack API spec**](https://rudderstack.com/docs/rudderstack-api/api-specification/rudderstack-spec/page).

A sample `page` call is as shown:

```javascript
rudderanalytics.page()
```

## Track

The `track` call lets you track custom events in your website.

A sample call looks like the following code snippet:

```javascript
rudderanalytics.track("Product Added")
```

RudderStack transforms the following events to Reddit Pixel's Standard Events:

| **RudderStack Event Name**  | **Reddit Pixel Standard Event** |
| --------------------------- | ------------------------------- |
| `Product Added`             | `Add to Cart`                   |
| `Product Added to Wishlist` | `Add to Wishlist`               |
| `Order Completed`           | `Purchase`                      |

In addition, RudderStack also supports mapping the following custom events:

| **RudderStack Event Name** | **Reddit Pixel Standard Event** |
| -------------------------- | ------------------------------- |
| `Lead`                     | `Lead`                          |
| `View Content`             | `ViewContent`                   |
| `Search`                   | `Search`                        |

Reddit Pixel does not support any other custom events apart from the ones mentioned above.

## FAQs

**Where can I find the Reddit Pixel Advertiser ID?**

To get your Reddit Pixel Advertiser ID, go to your Reddit Ads Manager account. Under **Reddit Pixel Setup**, select the Reddit **Pixel** button. Here, you can find the advertiser ID in the `rdt('init', <advertiserID>)` line of the snippet code, as shown below.

![](https://876606571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lq5Ea6fHVg3dSxMCgyQ%2Fuploads%2Fgit-blob-fc983e469545326bddf80306662bcc6bc39d80f6%2FRedditPixel-2.png?alt=media)

## Contact Us

If you come across any issues while configuring Reddit Pixel with RudderStack, feel free to [**contact us**](mailto:%20docs@rudderstack.com). You can also start a conversation in our [**Slack**](https://rudderstack.com/join-rudderstack-slack-community) community.
