Integration with Singular
Glossary
Singular
Mobile attribution and marketing analytics platform. Singular enables application developers, marketers, and brands to track, measure, and optimize the effectiveness of their marketing campaigns across various channels and devices to drive faster growth with smarter ROI insights.
Refer to the Singular documentation for detailed information about the platform.
Application ID
Mobile application ID unique for each platform (Android, iOS). It corresponds to the

In-app event
User acquisition
Retargeting
Customer user ID (CUID)
User ID generated and set by the application owner at the time of user registration. The СUID should be the same for Web Shop and Singular. This parameter is used for user matching and attribution.
Postback
SDK key
Integration flow
Singular and Xsolla support mobile application S2S integration that allows you to measure and evaluate the effectiveness of user acquisition and retargeting campaigns for attracting traffic to Web Shop. Xsolla sends information about Web Shop purchases to Singular as mobile in-app events, which Singular then attributes to the corresponding source.
You can configure mobile application integration to get advanced event analytics if you:
The following event is available via the Xsolla and Singular S2S integration:
Event | Description |
---|---|
xsolla-billing-payment | Item purchase. The event parameters contain information about a purchase. |
How it works
The integration includes a bidirectional data flow between Xsolla and Singular. Below is the system interaction scenario when a user makes a purchase.
%%{init: {'themeVariables': { 'noteBkgColor': 'transparent', 'noteBorderColor': 'transparent', 'noteTextColor': '#495C6B' }}}%% sequenceDiagram participant User participant Mobile App participant Web Shop participant Xsolla Backend participant Singular User->>Mobile App: 1. Logs in Mobile App->>Singular: 2. Sends CUID Singular->>Xsolla Backend: 3. Sends postback User->>Web Shop: 4. Logs in using CUID User->>Web Shop: 5. Makes a purchase Web Shop->>Xsolla Backend: 6. Sends purchase event Xsolla Backend->>Singular: 7. Sends xsolla-billing-payment event
- The user (player) signs up or logs in to the mobile application.
- Your application sends an in-app event to Singular, for example,
login
, or any other event that includes the CUID. - Singular sends a postback to Xsolla, which includes the CUID and other data about the user device.
- The user logs into Web Shop using the CUID.
- The user makes a purchase in Web Shop.
- The purchase event is sent to the Xsolla server and matched with the data received from Singular.
- Xsolla’s server sends an in-app event to Singular, which contains parameters required for mapping.
Singular attributes a new event, purchase, and revenue back to the media source that drove the user acquisition or the user re-engagement.
How to set up in Publisher Account
- Open your project in the Publisher Account and go to the Integrations section.
- Click the Singular pane.
- In the Mobile app S2S integration pane, click Configure.
- In the window that opens, make sure that the Enable this integration box is checked.
- Provide the following data:
- Singular SDK key.
- Application ID, unique for each platform (Android/iOS). To add a platform, click Add application ID.
- Click Save.
- Enable the integration in Singular.
Once you save the settings, a green indicator will be displayed on the S2S integration pane.
To make changes to the connected integration:
- Click the Singular pane.
- In the window that opens, make the necessary changes.
- Click Save.
How to set up in Singular
In Singular, you need to:
Get SDK key
- Log in to your Singular account.
- Open the
Developer Tools > SDK Integration section. - Go to the
SDK Keys tab. - Click
Show Keys . - Copy the value in the
SDK Key field.
Activate integration with Xsolla
- Log in to your Singular account.
- Go to the
Attribution Setup > Partner Configuration section. - Click
Add Partner . - In the search bar, enter and select
Xsolla .
- In the window that opens, select an application for which you configure integration.
- Click
Next . - Make sure that in the
Events Postbacks block, theLogin event is selected. - Click
Save .
Event value structure
If you want to set up a specific event or if the current integration options don’t cover your needs, contact your Customer Success Manager or email to csm@xsolla.com.
Item purchase
When a user makes a purchase in Web Shop, Xsolla sends the xsolla-billing-payment
event to Singular. The following purchase information is passed in the event parameters:
Parameter | Description |
---|---|
content_id | Single SKU or array of SKU in the purchase. |
quantity | Quantity of the item with corresponding SKU (one or an array). |
revenue | Purchase amount. Discounts are included. Before taxes and fees. |
currency | Purchase currency. |
Additional data
In addition to parameters passed in the xsolla-billing-payment
event, Xsolla sends the following data:
Parameter | Description |
---|---|
a | Singular SDK key. |
p | Application platform. Example: iOS. |
ip | Public IP address of the user device. |
ve | Operating system version of the user device. |
ma | Brand of the user device. Example: Apple. |
mo | Model of the user device. Example: iPhone 4S. |
lc | Locale of the user device in ^[a-z]{2}-[A-Z]{2}$ format. Example: en_US . |
i | Application ID on the Singular side. |
att_authorization_status | App Tracking Transparency (ATT) status code. |
n | Event name. The maximum length is 32 characters. |
is_revenue_event | Whether the event is linked to revenue. |
amt | Currency amount. |
cur | Currency. Three-letter currency code per ISO 4217. |
custom_user_id | CUID. |
partner | Partner — xsolla . |
e | Other custom parameters (optional). |
Found a typo or other text error? Select the text and press Ctrl+Enter.