In this post, I’ll show how to quickly and efficiently set up a new pixel for Reddit Ads.
The Reddit Ads pixel uses the same mechanism as other standard pixels, so its setup is pretty simple.
Creating a Reddit Ads Pixel
Creating your pixel can be done only after setting up an active Reddit Ads account.
- In your account, navigate to ‘Conversion’.
- Click on ‘REDDIT PIXEL’
- You can then select how you want to install the pixel, manually or via Google Tag Manager
Manually installing the Reddit Ads Pixel
Step one: Base code
After selecting the Manual installation option, you will see your pixel’s code snippet.
To properly install Reddit Ads Pixel, add the snippet on all pages of your website, preferably as high up as possible on the <head> tag. Adding the pixel to the <body> tag will also work, but might result in discrepancies in tracking, as some users might leave the page before the pixel snippet has fully loaded.
Reddit’s base pixel event, marked as Page Visit, is the equivalent of Google and Facebook’s Pageview event.
The Advanced Match option can be used if your site requires a log in and users can be identified based on their email. This can lead to better pixel matching.
The Image Pixel option at the bottom of the screen if for sites that can’t run Javascript, and is generally not recommended to use.
Step two: Additional events & Conversions
After adding the base pixel, you can optionally add additional events to track user interactions and conversions on your site.
As with similar platforms, to fire these events, you only need to trigger the event code on the user’s action (assuming the base code has been loaded on the page).
For example, to track a Purchase event, you need to fire:
rdt('track', 'Purchase')
The available events for Reddit Ads are:
- Page Visit
- View Content
- Search
- Add To Cart
- Add To Wishlist
- Purchase
- Lead
- Sign Up
The events naming convention removes whitespaces, so Add To Cart will be tracked as AddToCart.
rdt('track', 'AddToCart')
Custom events are not supported at this time.
Installing the Reddit Ads Pixel using Google Tag Manager
Similar to other major platforms, Reddit Ads has a built-in tag in Google Tag Manager, however, this tag isn’t (yet) an official GTM tag an is offered as a Community Template.
To create this tag you will need to import it into your account, which will open some scary looking windows asking for permissions to your GTM container. In many cases, I would advise against these, but since this template was developed by the Reddit team, I can rest assure it is both pixel perfect and contains no malicious code.
First, select the the ‘Install with a partner’ option and then copy the Pixel ID.
- Go to your GTM account and open the relevant container
- Click “Add a new tag”
- Name the tag something memorable, e.g. Reddit Ads Pixel Page View
- Under Tag Configuration select “Discover more tag types in the Community Template Gallery”
- Search for ‘Reddit’ and select the Reddit Pixel tag by ‘reddit’
- Grant all the required permissions
- Paste the Reddit Pixel ID you copied
- Under ‘Event to Fire’, verify that ‘Page Visit’ is selected
- Under Triggering, choose a new trigger. The default trigger is “All Pages”, which will load the Reddit tag on all website pages
- Click Save
The final tag should look like this:
Be sure to publish the changes in your GTM container by clicking Submit and then Publish
You can also implement other user events with this tag, such as Purchases or Add To Cart, by selecting the relevant event type in the dropdown. Be sure to add a trigger that captures that specific user action.
The available events for Reddit Ads are:
- Page Visit
- View Content
- Search
- Add To Cart
- Add To Wishlist
- Purchase
- Lead
- Sign Up