Web-to-app tracking is the process of monitoring user behavior as they transition from a website to a mobile application, or vice versa. This cross-platform tracking is essential for understanding the complete customer journey and optimizing marketing efforts.
Set up and test web-to-app tracking
To set web-to-app tracking with Affise MMP, follow the steps below:
Add your app to your Affise MMP account in Applications > Add new application.
Integrate Affise MMP SDK to your app.
Check if the SDK operates correctly with the method https://github.com/affise/sdk-ios?tab=readme-ov-file#validate-credentials.
Define the events that you are going to send and add them to the SDK.
Add a partner to the system. This can be a test partner with any name.
Get a click tracking link from this partner, for example:
https://trk.affattr.com/6T2B00DDFRXNV?clickid={clickid}&pid=1129
Make a test install with a test device.
Check the Overview report to see if the install is received by Affise MMP.
Check the Events report to see in-app events coming.
Add pixel code to your landing page.
<script>
function getURLParam(name) {
let urlParams = new URLSearchParams(window.location.search);
return urlParams.get(name);
} let url = ‘https://trk.affattr.com/6T2B00DDFRXNV?clickid={clickid}&pid=1129&format=json’
let fbclidValue = getURLParam(‘fbclid’)
url = fbclidValue !== null ? (url + “&fbclid=” + fbclidValue) : url
fetch(url);
</script>
⚠️ Substitute the link in the let url field with your tracking link.
11. Add the same tracking link to the Download type button in your landing.
12. In your iOS app in Affise MMP interface, select the Enable probabilistic checkbox.
13. Launch a test campaign.
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].