Testing attribution
To make sure that the tracking is set up correctly, test the attribution work before launching the ad campaign.
For more information about attribution, see Attributing app installs.
The section below describes the steps of testing the attribution:
Step 1. Enable the "Reattribution" option or test with a test device
In AppMetrica, same-device installs are attributed to the partner only once. All subsequent installs of the same app are considered reinstalls and are not reflected in reports.
Enabling reattribution allows you to count a reinstall if the previous install was from a different source:
- Go to the settings of the tracker you want to test.
- On the Attribution settings tab, select Reattribution and keep this option enabled while testing the tracker.
- Make sure to disable it after you complete the test.
Warning
If the previous install on the device was from the same tracker, the new install isn't counted a second time even with reattribution enabled. Use a different tracker for testing or add the device to the list of test devices for reattribution.
All installs are considered new for a test device, including reinstalls on the same tracker. To add a test device:
-
Go to Settings and select Test devices.
-
Enter the device name and ID: Google AID and Apple IDFA are available.
How to get Google AID
Open the "Google settings" app on the device and go to Ads in the menu. Google AID is shown on the screen (Your advertising identifier).
Alert
Android grants access to the advertising ID by default, but its availability may be restricted by developers — this can be the case with apps for kids where ID collection is prohibited by the Google Play policy.
How to check that the app is collecting advertising IDs
To check whether an app has access to GAID, export raw install data via the Data export tab or the Logs API. If the
google_aid
field is filled in when installing the latest app version, then ID collection on Android works.Another method is to check the app settings on the device. Find All permissions on your device: there should be the Permission for the advertising ID item. The location of this menu and wording may vary depending on the device firmware.
How to get Apple IDFA
- Install the app The Identifiers on the device.
- In the app, open the Raw tab. Your device's IDFA is shown in Advertising Identifier.
Alert
Starting with iOS 14.5, apps can no longer access Apple's IDFA. If access to it isn't requested before the AppMetrica SDK initialization, adding the device to the list of test devices by IDFA won't work. In this case, testing is possible only via reattribution in the tracker settings.
How to check whether the app is collecting advertising IDs
Check that the app has a tracking permission either in the settings or in the relevant window the first time you run the app after reinstall.
-
Specify the Purpose and click Add.
You don't need to enable reattribution in the tracker when using a test device.
Step 2. Click the tracking URL and install the app
To test the tracker, open the tracking URL on the test device.
-
Send the tracking URL to the test device. For example:
- Save the tracking URL in notes;
- Send the tracking URL to the device via email;
- (recommended) Put the tracking URL on a static web page. In this case, the
rel
attribute of the HTML link should not containnoopener noreferrer
value.
Alert
Don't use messengers to send tracking URL. Some messengers can remove AppMetrica redirects and send users directly to the app store. In AppMetrica, attribution does not work without redirects.
-
Click the tracking URL.
-
Install the app from the app store and launch it. After the start, use the app for a few seconds.
Step 3. Make sure the install appeared in the report
The install should now have appeared in the User Acquisition report. You can view information about installs in the web interface:
- Open the User Acquisition report.
- Select the tracker that you are testing attribution for.
- Make sure that the number of installs for your tracker has changed.
Note
If the install hasn't appeared in the report, wait for 10–15 minutes: there may be a delay when AppMetrica servers experience increased network load.
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.