Skip to main content

Set Up Third-Party Measurement

Third-party trackers let you share data on impressions and clicks and validate delivery using an approved third-party partner. We'll tell you how to set them up. We'll also explain how to add dynamic parameters to your trackers with Reddit-supported macros.

Here are some of the measurement partners we're working with that are approved to track impressions and clicks on Reddit:

  • Adjust
  • AppsFlyer
  • Branch
  • Flashtalking
  • Foursquare
  • Gamesight
  • Google
  • Kochava
  • Nielsen
  • Singular

Add verification and tracking

When you create an ad on Reddit, you can add impression and click trackers from one of Reddit's approved measurement providers. We recommend adding both click and impression tracking:

  • Click trackers: Record the number of times users click links in the ad.
  • Impression trackers: Record the number of ad views.

Add a tracker by providing its URL and setting its type in Tracking to improve measurement and performance. These URLs should be customized to include macros. If you're using Google Campaign Manager, you should add campaign parameters instead. You can add more trackers or remove them by selecting Delete.

Tracking example

For more on measuring app install campaigns, check out:

Add macros to your tracker

With a little copy-and-paste action, you can match the parameters from your tracking partner's tag URL with Reddit-supported macros. These macros are little bits of code that will dynamically capture the data you specify and integrate it into your tracker URL. This lets you track impressions and clicks but doesn't directly track conversions.

1. Identify required parameters

Before adding macros, identify the parameters you need to pass on to the tag URL provided by your tracking partner. These parameters could include:

  • Campaign ID
  • Ad group ID
  • Creative ID
  • Timestamp

2. Select your macros

Once you've identified the parameters, select the corresponding macros from the list provided below. These macros will dynamically capture the data you specify and integrate it into your tracker URL.

The following table lists all possible supported macros:

All macros are case-sensitive.

Reddit macroDescriptionExample
{{ADVERTISER_ID}} (string)Reddit advertiser IDt2_2abc03r6
{{ADVERTISING_ID}} (string)iOS IDFA or Android GAIDd123679f-3b60-48e5-ac8b-912984af0629
{{IOS_ADVERTISING_ID}} (string)iOS IDFA4ECE627C-5969-40C6-9DF1-19BC9212A222
{{ANDROID_ADVERTISING_ID}} (string)Android GAIDd123679f-3b60-48e5-ac8b-912984af0629
{{CAMPAIGN_ID}} (integer)ID of the campaign903951710329754359
{{ADGROUP_ID}} (integer)ID of the group903951230329754359
{{ADGROUP_NAME}} (string)Name of the ad groupExample_campaign_Name
{{AD_ID}} (integer)ID of the ad903951730488115583
{{AD_NAME}} (string)Name of the adExample_ad_name
{{POST_ID}} (string)ID of the postt3_6lebsh
{{CLICK_ID}} (integer)Reddit's click ID3001238223506745143
{{COUNTRY}} (string)Country where the user is located. This should be the 2-letter ISO country code.
  • United States: US 
  • United Kingdom: UK
{{OS_GROUP}} (string)Operating system of the device. We replace this macro with exact values highlighted in bold in the example section
  • iOS: osgrp,IOS
  • MacOS: osgrp,MACOS
  • Android: osgrp,ANDROID
  • Windows: osgrp,WINDOWS
  • Linux: osgrp,LINUX
{{DEVICE_GROUP}} (string)Device type. We replace this macro with exact values highlighted in bold in the example section.
  • Mobile Phone: devgrp,PHN
  • Tablet: devgrp,TAB
  • Desktop: devgrp,DSK
  • Unknown: devgrp,UNWN
{{PLATFORM_GROUP}} (string)Platform type. We replace this macro with exact values highlighted in bold in the example section.
  • Mobile: plt,MBL
  • Desktop: plt,DSK
{{CACHEBUSTER}} (integer)Current UNIX or system timestamp in UTC1588918613259841324
{{CREATIVE_H}} (integer)Height of the native ad post.250
{{CREATIVE_W}} (integer)Width of the native ad post.300
{{DEVICE_OPT_OUT}} (boolean)User has chosen to opt out of passing their advertising ID.
1 is true and 0 is false.
1 or 0

3. Add macros to your click and impression trackers

Paste the macros into the tag using the parametername=[REDDIT_MACRO] format. Connect parameters with an ampersand (&) to ensure proper formatting. parametername should match the name of the parameter in your third-party tracker.

For example, to install a macro that matches the campaign, ad group ID, creative ID, and timestamp:

Remember to check your integrations to ensure there aren't any errors.

https://tag.demo.com/ads?campaign={{CAMPAIGN_ID}}&advID={{ADVERTISING_ID}}redditadgroup={{ADGROUP_ID}}&creative={{CREATIVE_ID}}&timestamp={{CACHEBUSTER}}

Set up the Campaign Manager tracker in the destination URL

This step should only be used if you're measuring conversions in Google Campaign Manager. For clicks and impressions, use the dedicated tracker fields as shown above.

You can set up the CM360 tracker in the destination URL to track conversions, such as completing a purchase or filling out a form. We recommend this if you'd like to see your metrics in the CM360 dashboard.

1. Check your destination URL

If you don't see an option to change your destination URL, create a new ad with the ad type set to image or video.

You'll need to set the destination URL to the CM360 domain before redirecting to the final landing page. Routing through the CM360 domain ensures accurate tracking and ad click attribution.

To find this URL, navigate to CM360 and go to the tags for your ad. Your URL should look similar to the following: 

https://ad.doubleclick.net/ddm/trackclk/N7480.131843REDDIT.COM/B9916847.380155424;dc_trk_aid=571094499;dc_trk_cid=204640122;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;ltd=;dc_tdv=1

Check that the URL contains /trackclk. If you don't use /trackclk, tracking may be limited, which can affect your campaign performance retargeting, audiences, and reporting metrics like conversions.

2. (Optional) Set the display URL

By setting a display URL for your ad, you can enhance trust and clarity, leading to a smoother and more effective browsing experience for potential customers. You can change the display URL by selecting Edit Display URL

Set display URL

Set this value to show the final landing page. This will be the link that redditors see for your ad. Unless you're using an approved click tracker, this must match the destination domain.

A preview of the display URL will be visible in the post preview.

Check display URL

3. Add click ID persistence

Before you start tracking your ad, it's important to add click ID persistence. This way, you can track conversions accurately. Without it, Reddit's click ID won't be attached to the destination URL for any Reddit ad, which can result in reporting conversion metric inaccuracies on the Reddit Ads dashboard.

To add click ID persistence, navigate to CM360. At the Advertiser or Campaign level, change the landing page URL suffix.). Ensure that it includes &rdt_cid=%prdt_cid=!;. Learn about the pattern match macro.

Add click ID

Add custom campaign parameters to the URL

This step is necessary if you're measuring conversions in Google Analytics or similar platforms. For clicks and impressions, use the dedicated tracker fields as shown above.

Add utm_source = Reddit to your advertising URL. This will let you identify traffic from Reddit in your Google Analytics data, helping you understand the effectiveness of your Reddit ads. Learn about URL builders or start using Google's Campaign URL Builder.

Add utm_source

We're here to help

Our Reddit Ads team is ready to support you from setup to success.

Snoo Punch Up