Once you have confirmed that the source platform supports sending events to Revenue Cat, follow these steps:
From your RudderStack dashboard, add a source. Then, from the list of destinations, select Revenue Cat.
Assign a name to the destination and click Continue.
Connection settings
To successfully configure Revenue Cat as a destination, you will need to configure the following settings:
Public API Key: Enter your Revenue Cat public API key.
For more information on getting your Revenue Cat public API key, refer to the FAQ section below.
X-Platform: Select your app platform from the dropdown.
Identify
The identify method lets you identify a user and associate them to their actions. It also lets you record any traits about them like their name, email, etc.
RudderStack uses the identify call to create or update new subscribers in Revenue Cat. It maps userId (a required trait in every event) to Revenue Cat’s app_user_id before sending the data via the subscribers API.
RudderStack maps the following identify traits to the corresponding Revenue Cat attributes:
RudderStack trait
Revenue Cat attribute
userId (Required)
app_user_id
name
$displayName
email
$email
phone
$phoneNumber
apnsTokens
$apnsTokens
fcmTokens
$fcmTokens
context.ip, request_ip
$ip
appsflyerId
$appsflyerId
iterableUserId
$iterableUserId
mparticleId
$mparticleId
onesignalId
$onesignalId
airshipChannelId
$airshipChannelId
clevertapId
$clevertapId
The following identify traits are also mapped to the corresponding Revenue Cat attributes:
Revenue Cat cannot modify these attributes so you must send them only once.
RudderStack trait
Revenue Cat attribute
idfa/ advertisingId
$idfa
idfv/ device.id
$idfv
gpsAdId
$gpsAdId
advertisingId
$androidId
campaign.name
$campaign
creative
$creative
keyword
$keyword
mediaSource
$mediaSource
ad
$ad
addGroup
$adGroup
adjustId
$adjustId
fbAnonId
$fbAnonId
iterableCampaignId
$iterableCampaignId
iterableTemplateId
$iterableTemplateId
mixpanelDistinctId
$mixpanelDistinctId
amazonAdId
$amazonAdId
The values for iterableCampaignId and iterableTemplateId must be valid non-negative, non-decimal integers. Otherwise, RudderStack will reject and skip these fields.
Track
The track method lets you capture user events along with the properties associated with them.
RudderStack maps the Order Completed event to Revenue Cat’s Purchase event before sending it across via the receipts API. To do so, RudderStack requires the userId (mapped to app_user_id) and fetch_token properties to be present in the event.
Property mapping
RudderStack maps the following event properties to the corresponding Revenue Cat attributes:
RudderStack property
Revenue Cat attribute
Comments
userId (Required)
app_user_id
-
fetch_token (Required)
fetch_token
This must be a Base64 encoded receipt file for iOS, receipt token for Android, receipt for Amazon, and subscription token in case of Stripe.
currency
currency
-
payment_mode
payment_mode
-
product_id, products.product_id
product_id
This is required for Google and should be the Apple, Google, or Amazon SKU or product identifier.
price
price
-
introductory_price
introductory_price
-
is_restore
is_restore
-
presented_offering_identifier
presented_offering_identifier
-
FAQ
Where can I find the Revenue Cat public API key?
To find the Revenue Cat public API key, follow these steps:
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.