Set up Amplitude
Amplitude is an analytics partner integrated with Adjust. Our integration lets Amplitude receive data measured in Adjust through automated callbacks. Use this data with the partners' tools for analytics and insights.
In this article, learn how to set up measurement with Amplitude for your app. This includes activating the integration and choosing what data Adjust can share with Amplitude.
Before you begin
Requirements
- Admin, Editor, or Custom Editor permissions in Adjust.
- Adjust SDK v4.0.0 and later to map SDK parameters to Amplitude parameters. Follow the guides linked below to use this feature.
iOS | Android | Windows | Unity | React Native | Flutter | Adobe Air | Cordova | Marmalade | Xamarin | Cocos2d-x | Titanium | Corona
Credentials
API KEY
- For help finding your credentials, contact your Amplitude representative.
Select Amplitude and your app in Campaign Lab
- Under Campaign Lab, select Partners.
- Select New partner > Amplitude. Select Next to move to the next screen.
- In the App selection screen, choose the app for which you want to create the link, and enable the integration to share data with Amplitude.
- Select Next.
Enable data sharing
Enable data sharing to activate the integration with Amplitude. To enable data sharing:
- Enter your API KEY.
Once you enable data sharing with Amplitude, Adjust automatically sends Amplitude the following data, by default:
- click
- install
- session
- uninstall
- reinstall
- reattribution
- event
Set your data sharing options
If you’re working with a multi-platform app with data sharing enabled for multiple platforms, you can:
- Separate data sharing options at the platform-level by selecting Use platform-specific settings.
- Set the same data sharing settings for multiple platforms by selecting Use global settings.
Now, under What will be shared by default?, review the activities that Adjust shares with Amplitude by default:
- click
- install
- session
- uninstall
- reinstall
- reattribution
- event
Send additional data
Choose the amount and type of data that you want to share with Amplitude through callbacks. Amplitude may use this information to optimize performance.
To send additional data, you can review and customize the following:
Ad spend
Ad spend sharing lets Amplitude receive user ad spend data. This lets Amplitude use ad spend data to optimize your campaigns.
Adjust sends Amplitude the ad spend data received through callbacks only. This data comes from the following solutions that you’ve set up, as applicable for Amplitude:
If Amplitude wants complete ad spend data, then you can set up Ad spend third-party storage exports for Amplitude.
This feature is available with Adjust’s SpendWorks package. To purchase our SpendWorks package, contact your sales representative.
Sessions
Adjust does not automatically send session callbacks due to the high volume of sessions. Sharing sessions means Amplitude will receive your app’s session activity.
Uninstalls or reinstalls
Sharing uninstalls or reinstalls lets Amplitude receive your app’s uninstall and/or reinstall data measured by Adjust.
For iOS apps, you might expect a low record of uninstalls and/or reinstalls. For more information, visit Uninstall and reinstall measurement.
In-app revenue (from in-app purchases)
Sharing in-app revenue lets Amplitude receive revenue amounts along with your revenue event data. You need to map events that generate revenue to share this data.
Map events
Map events that you want to share to the values that Amplitude can receive. Data for unmapped events is not shared with Amplitude.
Map individual events
If you have a multi-platform app, you can choose to share different events per platform with Amplitude. This lets you:
- Set individual events to manage campaign strategies for each platform.
- Customize data sharing per platform.
Under Map events, follow these steps to choose the in-app events you want to directly send to Amplitude.
- Select Map event.
- In the Adjust event list, choose the Adjust event that you want to share with Amplitude.
- Under Partner event, you need to select the Amplitude event that corresponds to the Adjust event.
- For single platform apps and multi-platform apps with data sharing enabled for a single platform only, you map events for that platform only. For multi-platform apps with data sharing enabled for multiple platforms, you can:
- Select Use platform-specific mapping to map separate events at the platform-level or to not map events for certain platforms.
- Select Use global mapping to map the same events for all platforms.
- In the Partner event list, choose or enter a custom event name, that you want to map the Adjust event to.
- For single platform apps and multi-platform apps with data sharing enabled for a single platform only, you map events for that platform only. For multi-platform apps with data sharing enabled for multiple platforms, you can:
- Select Apply.
Now Amplitude will receive in-app event data for each of your linked events.
Map all events
If Amplitude supports mapping all events automatically, under Map events, select Map all events. This saves time in mapping individual events.
Now Amplitude will receive in-app event data for all your linked events.
Map parameters
You usually need to map parameters to share custom data with Amplitude.
Partner parameters (available in Adjust SDK version 4.0+) let Adjust collect custom data points from your app and send them to Amplitude. This lets Amplitude receive custom event details for each of your linked events.
Before adding new partner parameters to the Adjust SDK, make sure no pre-existing partner parameters already fit your requirements.
To share partner parameters to Amplitude, follow these steps.
- Set up partner parameters within the Adjust SDK.
- Check Before you begin for all SDK development platform links.
- Under Set your data sharing options, select Parameters.
- Under Map parameters, you can specify how you want to send partner parameters defined in the SDK to the network:
- Select Map parameter.
- In the SDK parameter field, enter the name of the SDK parameter you want to share with the network.
- In the Partner parameter field, enter the network parameter that corresponds to the SDK parameter.
If you set up partner parameters within the Adjust SDK without setting up parameter sharing in the dashboard, Adjust forwards the parameters as named in the Adjust SDK.
Enable Amplitude for your app
In the Setup review screen, you can review your choices. You can also go back and make changes to:
- Your selected app
- Data sharing options
Select Enable partner to enable Amplitude for your app. Analytics partners don't work with links for campaigns. Once enabled, our integration sends attribution and in-app event data via automated callbacks.
List of all parameters forwarded to Amplitude
Amplitude requires Adjust to send the following parameters (data points) with your callbacks:
Placeholder | Information |
{android_id} | Android ID (Android only) |
{cost_amount} | Cost of the user engagement (available for ad spend tracking only) |
{cost_currency} | ISO 4217 currency code of the cost data (available for ad spend tracking only) |
{cost_type} | The campaign pricing model (available for ad spend tracking only) |
{fire_adid} | Fire OS advertising identifier |
{idfa||gps_adid} | IDFA, or GPS ADID if IDFA is empty |
{idfv} | Uppercase iOS ID for vendors |
{os_name} | Device operating system |
{revenue} | Revenue, as sent from Adjust SDK in cents |
{adgroup_name} | Adgroup name, as taken from the tracker |
{app_version} | App version number (Android), build-version-number for the bundle (iOS) |
{campaign_name} | Campaign name, as taken from the tracker |
{created_at} | Activity timestamp |
{creative_name} | Creative name, as taken from the tracker |
{network_name} | Network name, as taken from the tracker |
{tracker_name} | Current tracker name |