horse revenue Docs

Integrations

Other attribution

Save ids from your other tools on the customer, so their pages, webhooks and exports can be joined to Horse's revenue. The names match RevenueCat's, so a migrated app's calls port one for one.

These calls are in the HorseKitAttribution library.

import HorseKitAttribution

await Horse.shared.setAppsflyerID(AppsFlyerLib.shared().getAppsFlyerUID())
await Horse.shared.setFirebaseAppInstanceID(Analytics.appInstanceID())
await Horse.shared.setMixpanelDistinctID(Mixpanel.mainInstance().distinctId)

// Campaign facts you know yourself, from a deep link or a referral:
await Horse.shared.setMediaSource("tiktok")
await Horse.shared.setCampaign("summer_launch")
await Horse.shared.setAdGroup(nil)   // nil clears it

There are also setAd, setKeyword and setCreative, and setPhoneNumber, which the server hashes before it reaches an ad network. Horse records the device's IP address and user agent from its own requests, so there's nothing to send for those.