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 (Android only)
You can define the store information as metadata in the app’s AndroidManifest.xml file. The Adjust SDK reads and tracks this information during its initialization.
To configure this, add the following entries inside the <application> tag of your AndroidManifest.xml file:
<application> ... <meta-data android:name="ADJUST_STORE_NAME" android:value="NameOfTheStore" /> <meta-data android:name="ADJUST_STORE_APP_ID" android:value="AppIdForTheStore" /> ...</application>Configuration object
public AdjustStoreInfo? StoreInfo { get; set; }Alternatively, you can provide store information through the SDK’s configuration object.
You can configure store information for your app. This is useful for apps distributed through alternative app stores. Create an AdjustStoreInfo object with the store name and optional store app ID, then assign it to the StoreInfo property on your AdjustConfig instance.
AdjustConfig adjustConfig = new AdjustConfig("{YourAppToken}", AdjustEnvironment.Sandbox);//...AdjustStoreInfo storeInfo = new AdjustStoreInfo("NameOfTheStore");storeInfo.StoreAppId = "AppIdForTheStore"; // OptionaladjustConfig.StoreInfo = storeInfo;//...Adjust.InitSdk(adjustConfig);