Integrating AppsFlyer with Shopper App for Marketing Attribution
AppsFlyer is a leading mobile attribution and marketing analytics platform that provides actionable insights to help you accurately measure, optimize, and scale your marketing efforts.
This guide walks you through the complete process of integrating AppsFlyer with the SHOPLINE Shopper App, including required setup in the AppsFlyer dashboard and configuration in the SHOPLINE admin panel, to ensure accurate tracking of user acquisition (UA) and in-app events.
With this integration, you can better understand where users come from, how they interact with your app, and how effectively your advertising campaigns drive return on investment (ROI).
Before You Start: Required Setup in AppsFlyer
Before configuring the integration in SHOPLINE, make sure you have completed the following steps in the AppsFlyer dashboard.
Step 1: Create Your Apps in AppsFlyer
You must add both your iOS and Android Shopper App to AppsFlyer before continuing with the integration. Follow these steps:
- Log in to the AppsFlyer dashboard and go to Settings > My Apps.
-
Click + Add app in the top-right corner.
-
Select the appropriate platform:
- iOS, tvOS, MacOS for your iOS app
- Android, AndroidTV, Fire for your Android app
-
Set the app status to Available in store.
-
Enter the corresponding store URL:
- App Store URL for iOS
- Google Play URL for Android
Tip: You can find both the App Store URL and Google Play URL in the SHOPLINE admin panel under Shopper App > App Release > Version release record. - Click Next and follow the on-screen instructions to complete the setup.
- Repeat the steps above until both platforms have been added successfully.
Step 2: Create a OneLink Template in AppsFlyer
A OneLink template is required to support deep linking and correct routing behavior. Follow these steps to create one:
- In the AppsFlyer dashboard, go to Engage > OneLink Management.
-
Create a new OneLink template:
- If no template exists, you will be prompted to create one.
- Alternatively, click + New OneLink Template from the top-right menu.
- Enter a template name (for example, ShopperApp Apps).
-
Select the iOS and Android apps you created earlier.
-
Configure the Subdomain. Choose a subdomain that matches your brand, as it will appear in the OneLink URL.
-
Scroll to the Redirection section and configure the following:
-
When app isn’t installed: Redirect users to App Store and Google Play.
-
When app is installed:
-
iOS:
-
Click Use Universal Links to Launch the app.
-
In the pop-up window, select Launch the app using iOS Universal Links and enter your Team ID.
Tip: The Team ID can be found in your Apple Developer account under Membership Details. -
Click Save.
-
-
Android:
-
Click Use App Links to Launch the app.
-
In the pop-up window, select Launch the app using Android App Links and enter the SHA256 certificate fingerprint.
Tip: You can find the SHA256 certificate fingerprint in Google Play Console > Testing and release > App integrity > Play app signing, then copy the value under sha256_cert_fingerprints from the Digital Asset Links JSON section.
- Click Save.
-
-
iOS:
-
- Click Create template to complete the setup.
Obtaining the Credentials for Integration in AppsFlyer
After completing the AppsFlyer setup above, collect the following credentials in the AppsFlyer dashboard for use in the SHOPLINE admin panel.
Required Credentials
Dev Key:
-
From the left navigation bar, go to Settings > App Settings.
-
Locate your Dev key in the SDK authentication section and copy the key for later use.
OneLink:
-
From the left navigation bar, go to Engage > OneLink Management, click the More icon (...) in the upper-right corner, and select Edit OneLink template.
-
Locate the Subdomain section and copy the full subdomain name (e.g., brandname.onelink.me).
Custom Domain (optional): If you have a custom domain, it is recommended to provide it during the integration:
-
From the left navigation bar, go to Engage > Branded Domains.
-
Copy the full branded domain name (e.g., app.brandname.com).
Make sure to store these credentials securely, as they are required to complete the integration and enable proper data tracking.
Steps to Integrate AppsFlyer with the Shopper App
After obtaining the required AppsFlyer credentials, follow the steps below to integrate AppsFlyer with your Shopper App and enable marketing attribution and in-app event tracking:
-
In your SHOPLINE admin panel, go to Channels > Shopper App > App Settings > App Integrations
-
From the app list, locate AppsFlyer and toggle the switch on.
-
In the pop-up window, enter the Dev Key, OneLink, and Custom Domain (optional), then click Add.
-
After completing the integration, go to Shopper App > App Release. Scroll to the bottom of the page and click Submit version release request.
Once the app update is approved and released on the App Store and Google Play, the integration will take effect. AppsFlyer will then begin attributing app installs and in-app events, helping you analyze user acquisition sources and optimize your marketing campaigns.
|
Important Note on Deep Linking After completing the integration, when creating OneLink links in AppsFlyer:
|