Reddit Pixel is a JavaScript snippet that you can add to your website to track user actions on your website after interacting with your ad on Reddit.
Getting started
RudderStack supports sending event data to Reddit Pixel via the following connection modes:
Connection Mode | Web | Mobile | Server |
---|---|---|---|
Device mode | Supported | - | - |
Cloud mode | - | - | - |
https://www.redditstatic.com/
domain. Based on your website's content security policy, you might need to allowlist this domain to load the Reddit Pixel SDK successfully.Once you have confirmed that the source platform supports sending events to Reddit Pixel, follow these steps:
- From your RudderStack dashboard, add the source. Then, from the list of destinations, select Reddit Pixel.
- Assign a name to your destination and click Continue.
Connection settings
To successfully configure Reddit Pixel as a destination, configure the following settings:
- Advertiser ID: Enter your Reddit Pixel Advertiser ID. Refer to the FAQ section for more information on obtaining the Advertiser ID.
- Mapping to trigger the Reddit Pixel events for the respective events set here: Use this setting to map custom event names to the standard Reddit Pixel events.
- Client-side Events Filtering: This setting lets you specify which events should be blocked or allowed to flow through to Reddit Pixel. Refer to the Client-side Events Filtering guide for more information.
- Use device mode to send events: As this is a web device mode-only destination, this setting is enabled by default and cannot be disabled.
- OneTrust Cookie Categories: This setting lets you associate OneTrust cookie consent groups to Reddit Pixel.
Identify
You can use the identify
call to update the user's signup information.
A sample identify
call is as shown:
rudderanalytics.identify()
Page
When you make a page
call, the track
event is sent as PageVisit
to rdt('track,'PageVisit')
. RudderStack ignores any parameter sent to rudderanalytics.page()
.
A sample page
call is as shown:
rudderanalytics.page()
Track
The track
call lets you capture user events along with the properties associated with them.
A sample track
call is shown below:
rudderanalytics.track("Product Added")
Property mappings
The following table lists the event mapping from RudderStack to Reddit Pixel's standard events:
RudderStack event | Reddit Pixel standard event |
---|---|
Product Added | Add to Cart |
Product Added to Wishlist | Add to Wishlist |
Order Completed | Purchase |
The following table lists the custom events mapping from RudderStack to Reddit Pixel's standard events:
RudderStack event | Reddit Pixel standard event |
---|---|
Lead | Lead |
View Content | ViewContent |
Search | Search |
FAQ
Where can I find the Reddit Pixel Advertiser ID?
To get your Reddit Pixel Advertiser ID, follow these steps:
- Login to the Reddit Ads Manager account.
- Under Reddit Pixel Setup, select the Reddit Pixel button. Here, you can find the advertiser ID as shown:
Contact us
For more information on the topics covered on this page, email us or start a conversation in our Slack community.