With our SplitMetrics Acquire | Formerly SearchAdsHQ integration you can:

  • Accurately track subscriptions generated from Apple Search Ads campaigns, allowing you to know precisely how much revenue your campaigns generate.

  • Send trial conversions and renewals directly from RevenueCat to SplitMetrics Acquire, allowing for tracking without an app open.

  • Continue to follow your cohorts for months to know the long tail revenue generated by your campaigns.

# 1. Send device data to RevenueCat

The SplitMetrics Acquire integration requires that Apple Search Ads attribution data is sent from the device to RevenueCat.

The simplest way to collect this information is by setting the `automaticAppleSearchAdsAttributionCollection` property to `true` **before** configuring the _Purchases SDK_.

ο»Ώ

ο»Ώ

Our guide on [Apple Search Ads attribution](πŸ”—ο»Ώ) outlines this step in more detail.

The integration also accepts some optional device-specific data below:

KeyDescriptionRequired
`$idfa`iOS [advertising identifier](πŸ”—ο»Ώ) UUID❌ (optional)

This data should be sent to RevenueCat through reserved [Subscriber Attributes](πŸ”—ο»Ώ) keys.

ο»Ώ

ο»Ώ

Device identifiers with iOS App Tracking Transparency (iOS 14.5+)

If you are requesting the App Tracking permission through ATT to access the IDFA, you can call `.collectDeviceIdentifiers()` _again_ if the customer accepts the permission to update the `$idfa` attribute in RevenueCat.

# 2. Send RevenueCat events into SplitMetrics Acquire

After you've set up the _Purchases SDK_ to send device data to RevenueCat, you can "turn on" the integration and configure the event names from the RevenueCat dashboard.

  1. Navigate to your project in the RevenueCat dashboard and find the _Integrations_ card in the left menu. Select **+ New**

664
ο»Ώ

ο»Ώ

  1. Choose **SplitMetrics Acquire** from the Integrations menu.

  2. Add your SplitMetrics Acquire Client ID.

  3. Enter the event names that RevenueCat will send or choose the default event names.

  4. Select whether you want sales reported as gross revenue (before app store commission), or after store commission and/or estimated taxes.

1800
ο»Ώ

SplitMetrics Acquire | Formerly SearchAdsHQ configuration screen

Remove any client-side purchase tracking

Make sure to remove all client-side tracking of revenue. Since RevenueCat will be sending events for all revenue actions, tracking purchases yourself directly into SplitMetrics Acquire | Formerly SearchAdsHQ can lead to double counting of revenue.

# 3. Testing the SplitMetrics Acquire integration

You can test the SplitMetrics Acquire integration end-to-end before going live. It's recommended that you test the integration is working properly for new users, and any existing users that may update their app to a new version.

## Make a sandbox purchase with a new user

Simulate a new user installing your app, and go through your app flow to complete a sandbox purchase.

## Check that the required device data is collected

Navigate the the [Customer View](πŸ”—ο»Ώ) for the test user that just made a purchase. If you chose to send the additional data from step 1 above, check it is listed as an attribute for the user.

## Check that the SplitMetrics Acquire event delivered successfully

While still on the Customer View, click into the test purchase event in the [Customer History](πŸ”—ο»Ώ) and make sure that the SplitMetrics Acquire integration event exists and was delivered successfully.

1402
ο»Ώ

ο»Ώ

You've done it!

You should start seeing events from RevenueCat appear in SplitMetrics Acquire

SplitMetrics Acquire


Formerly SearchAdsHQ

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.