Set up Xsolla
Xsolla is an analytics partner integrated with Adjust. Our integration lets Xsolla 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 Xsolla for your app. This includes activating the integration and choosing what data Adjust can share with Xsolla.
Before you begin
Requirements
- Admin, Editor, or Custom Editor permissions in Adjust.
- Adjust SDK v4.0.0 and later to map SDK parameters to Xsolla 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
Select Xsolla and your app in Campaign Lab
- Under Campaign Lab, select Partners.
- Select New partner > Xsolla. 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 Xsolla.
- Select Next.
Enable data sharing
Enable data sharing to activate the integration with Xsolla. To enable data sharing:
- Turn on Enabled
Once you enable data sharing with Xsolla, Adjust automatically sends Xsolla the following data, by default:
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 Xsolla by default:
Send additional data
Choose the amount and type of data that you want to share with Xsolla through callbacks. Xsolla may use this information to optimize performance.
To send additional data, you can review and customize the following:
Map parameters
You usually need to map parameters to share custom data with Xsolla.
Partner parameters (available in Adjust SDK version 4.0+) let Adjust collect custom data points from your app and send them to Xsolla. This lets Xsolla 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 Xsolla, 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 Xsolla 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 Xsolla 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.
Partner specific setup instructions
Important: To ensure the data is sent correctly to Xsolla, please make sure the Parameters checkbox is selected.
xsolla_cuid
Xsolla requires that the cuid be configured as a partner parameter in your Adjust SDK or S2S event implementations. Adjust will include this parameter in the callbacks sent to Xsolla. Xsolla then uses the provided cuid to correctly associate purchases with the specific device.
Please note: payloads lacking the cuid parameter will not be processed by Xsolla, as it would prevent proper purchase-to-device mapping.
For further details on this and any other setup requirements, you can refer to Xsolla documentation.
Sending the cuid to Xsolla
The cuid should be set on the login event, signup or another low-frequency event. It must be sent to Adjust as a partner parameter . Adjust will include this parameter in the callbacks it forwards to Xsolla. On Xsolla’s side, the parameter is then used to associate purchases with the specific device.
You can send the cuid parameter in both SDK events and S2S events .
1. Sending cuid via SDK events
To send the cuid as a partner parameter in SDK events, you can use the relevant SDK method for adding partner parameters. Define the key as xsolla_cuid and assign it the value of the cuid.
For details on how to add partner parameters in SDK events, you can refer to the guides linked below:
iOS | Android | Windows | Unity | React Native | Flutter | Adobe Air | Cordova | Marmalade | Xamarin | Cocos2d-x | Titanium | Corona
2. Sending cuid via S2S Events
When sending S2S events, the cuid can be included as a partner parameter within the partner_params parameter. You can use the xsolla_cuid as the key and assign the cuid value accordingly.
For detailed instructions on sending partner parameters via S2S events, you can refer to the relevant section of S2S events documentation .
Xsolla requires you to setup the cuid as custom partner parameters in your Adjust SDK implementation. You can learn more about partner parameters here and here . Note, all payloads without the cuid parameter will not be processed by Xsolla since they'll be unable to attribute those users to the right profile. For more information about this and any other setup requirements, check out the Xsolla documentation