Reddit Conversions API (CAPI) for Server-Side Google Tag Manager (sGTM)
Setting up the Reddit Pixel or Conversions API (CAPI) with Google Tag Manager (GTM) lets you share conversions more accurately and optimize your ad campaigns.
Here (opens in a new tab) is original source of Track and share web conversion data directly with our server-to-server solution for Reddit CAPI.
Note: We strongly recommend adding the Reddit Pixel first and then CAPI to GTM for optimal conversion coverage and improved campaign performance.
Before you start
Find your Reddit pixel ID. This will be used to specify which business account should receive your conversions. You can find your pixel ID in the Events Manager (opens in a new tab), and it should match the business account's pixel ID found in Accounts (opens in a new tab).
Create the tag in Google Tag Manager
-
In the workspace of your container, select Tags in the navigation menu and then choose New.
-
Select Tag Configuration, then choose the Reddit template. If you’re setting up a web container, this template will be the Reddit Pixel. If you're setting up a server container, choose Reddit Conversions API.
-
Create an appropriate name for your tag and provide your pixel ID for Pixel ID.
-
Choose the conversion event to share with Reddit Ads by selecting it for the event to fire.
Important: If you’re implementing both the Reddit Pixel and CAPI and the same events are shared across both sources, deduplication (opens in a new tab) is necessary to ensure those events aren’t double-counted.
-
(For CAPI only) Fill out authentication with your conversion access token variable (opens in a new tab).
-
(Optional) Set up advanced matching (opens in a new tab) and event metadata (opens in a new tab).
-
(Optional) Configure additional settings for deeper insights into your conversion performance. Learn more about optional settings (opens in a new tab).
-
Save your tag to create it.
Advanced matching
Advanced matching signals (opens in a new tab) provide more details about the user to help match conversions. Passing these signals is optional but highly recommended, especially for email addresses.
These signals can be shared unhashed or pre-hashed. If you’d like to hash signals, we recommend using SHA-256 and following this guidance (opens in a new tab).
-
Select enable advanced matching.
-
Expand advanced matching parameters.
-
Add the parameters you’d like to share. We recommend adding email at a minimum. To dynamically populate these values, set up the data layer or create JavaScript variables (opens in a new tab).
Event metadata
Important: Consolidate all metadata fields related to a conversion event into one event. Creating multiple tags of the same event with different metadata values can cause deduplication issues. Ensure all relevant metadata is added to the initial tag call to avoid this.
Event metadata (opens in a new tab) is more specific information associated with actions or events. Setting up metadata shares more performance insights, and using a consistent Conversion ID is crucial when using both the pixel and CAPI for deduplication purposes.
-
Check that all your products are listed in product information.
-
Ensure all your event metadata fields are provided, like item count, value, and currency. If you’re integrating CAPI and the Reddit Pixel, provide the Conversion ID.
-
Check the Advanced Settings > Additional Tag Metadata section if you don’t see a metadata field.
-
To dynamically populate these values, set up the data layer or create JavaScript variables (opens in a new tab).