Migrate your Reddit destination integration from Reddit’s API v2 to the new API v3.
2 minute read
This guide walks you through migrating your Reddit destination integration from API v2 to API v3.
The Reddit API v3 introduces updated event mapping and new capabilities while maintaining compatibility with your existing setup.
API v3 overview
The new Reddit API v3 introduces the following changes:
Support for test_id in event properties for testing events in the Reddit dashboard
The deprecated properties.optOut is replaced with properties.modes for data processing options
API v2 is deprecated but not sunset yet..
RudderStack recommends migrating to API v3 to take advantage of the latest features and ensure continued support.
New features
The new Reddit API v3 supports the test_id property in event properties, which you can use to test events on the Reddit dashboard without affecting your production data.
Go to the Configuration tab in the destination page.
Under Connection Settings, go to the API Version dropdown and select v3.
Save your changes.
Update event properties
Review and use the event and property mappings for API v3, as listed in the Reddit destination documentation.
If you are currently using the optOut property in your event properties, update your events to use the new modes property with the value ["LDU"] instead.
The properties.optOut property is deprecated in v3.
After migrating to API v3, send some events to verify that they are being processed correctly in the Reddit dashboard. If you are including the test_id property in your events, verify that test events appear separately.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.