You can use the Adjust SDK to record information about the store from which an app was installed on a user’s device. Adjust supports a predefined list of store types, defined here.
The SDK supports two methods for providing this store information:
Manifest metadata
You can define store information as metadata in the Android app’s AndroidManifest.xml
file. The Adjust SDK reads and tracks this information during initialization.
Add the following entries inside the <application>
tag of your AndroidManifest.xml
file:
<application> <meta-data android:name="ADJUST_STORE_NAME" android:value="StoreName" /> <meta-data android:name="ADJUST_STORE_APP_ID" android:value="StoreAppId" /></application>
Configuration table
Alternatively, you can provide store information through the SDK’s configuration table.
To configure this, follow the steps below:
local adjust = require "plugin.adjust"
adjust.initSdk({ appToken = "YourAppToken", environment = "SANDBOX", logLevel = "VERBOSE", storeInfo = { storeName = "StoreName", storeAppId = "StoreAppId" }})