Adjust
Lion is using Adjust as the attribution solution; see here for more.
Integrating Adjust SDK is required to enable attribution. Additionally, the Adjust SDK is a required dependency of Lion Analytics.
Lion Core offers the optional capability to handle Adjust initialization for you. We recommend using this way, rather than handling initialization on your own, to ensure that other adjust-dependent Lion SDK packages are initialized properly.
Install Lion SDK
- Complete the steps in Getting Started
Install Adjust SDK
Open the
LionStudios/Settings Manager
windowGo to the
Adjust
tabIf Adjust is not installed, you will see the
Install Adjust
buttonClick the
Install Adjust
button
Setup
- Open the Adjust settings in
LionStudios/Settings Manager
menu - Fill in the following settings:
- Required:
- iOS Adjust Sdk Key - Set the value using the App Token retrieved from Portal Test Submission
- Android Adjust Sdk Key - Set the value using the App Token retrieved from Portal Test Submission
- Optional:
- Adjust Environment - Be sure to set this to production in production builds, and sandbox for development builds
- Adjust Log Level - This is used to control the amount of detail the logs coming from adjust show.
- Allow Suppress Log Level - This will disable all adjust related logs
- Set Send in Background - This allows you to continue sending network requests when the app is in the background
- Required:
- Click
Setup Adjust
button- This will enable all the required permissions in the AdjustSettings.asset
![](/docs/2_Features/Adjust/Screenshot_2023-09-21_at_3.37.15_PM.png)
Additional Android Setup
- If your project uses a proguard file, refer to this section in the official Adjust documentation for the setup regarding proguard settings.
Initialization
In order to have Lion SDK handle Adjust initialization for you, click “Enable auto-initialization” from the Lion settings menu under the “Adjust” section.
![](/docs/2_Features/Adjust/Screen_Shot_2023-08-17_at_5.00.34_PM.png)
🚨 | We strongly recommend enabling this, rather than handling initialization on your own, to ensure that other Adjust-dependent Lion SDK packages are initialized properly. |
💡 | Adjust initialization will only occur after Max has been initialized. Lion Core can also handle Max SDK’s initialization as well (MAX SDK). |
Ad Revenue Tracking Event Implementation
If your game has ads, refer to this section, copy and paste the method into your code, and subscribe to your ad provider SDK’s (Applovin MAX SDK) revenue-paid callback
Extra Notes
⚠️ | Adjust SDK is inactive while in Editor; when testing on the device, you can use the Logging features: https://github.com/adjust/unity_sdk#adjust-logging |
⚠️ | The portal will check your integration in the final step of this submission process. Continue the submission process until you reach the final step, where the integration check will confirm if you’ve successfully integrated Adjust. |