Opt Out of First-Party Cookies
First-party cookies are strong signals that help match conversions and improve campaign performance. They’re enabled by default once the Reddit Pixel is integrated.
First-party cookies can be disabled if you need to align with certain policies or privacy regulations or prioritize transparency.
Opting out may impact conversion tracking and campaign performance measurement.
Manually opt out of first-party cookies
- Find the pixel base code inside the
<head>
tags where conversion events are tracked and your ad’s landing page. This might be in the header of your ad's website or the header template of your web platform. - Locate the
PageVisit
conversion event. - Add
rdt('disableFirstPartyCookies')
immediately beforePageVisit
. This will disable cookies before attempting to track a page visit. Your code should look something like this:rdt('disableFirstPartyCookies');
rdt('track', 'PageVisit');
Opt out of first-party cookies in Google Tag Manager
- In Google Tag Manager, select your container to open its workspace.
- In the left-hand menu, select Tags and then select New.
- Select Tag Configuration, then choose your tag.
- Uncheck Enable First Party Cookies.
- When finished, save your changes.