Skip to main content

Web-to-app tracking

Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated this week

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:

  1. Add your app to your Affise MMP account in Applications > Add new application.

    Affise MMP 2025-05-29 at 11.54.33 PM

  2. Integrate Affise MMP SDK to your app.​

    Affise · GitHub 2025-05-29 at 11.56.31 PM

  3. Check if the SDK operates correctly with the method https://github.com/affise/sdk-ios?tab=readme-ov-file#validate-credentials.​

  4. Define the events that you are going to send and add them to the SDK.​

  5. Add a partner to the system. This can be a test partner with any name.​

    Affise MMP 2025-05-29 at 11.57.25 PM

  6. Get a click tracking link from this partner, for example:
    https://trk.affattr.com/6T2B00DDFRXNV?clickid={clickid}&pid=1129

    Affise MMP 2025-05-30 at 6.22.34 PM

  7. Make a test install with a test device.

  8. Check the Overview report to see if the install is received by Affise MMP.

    Affise MMP 2025-05-30 at 12.15.05 AM


  9. Check the Events report to see in-app events coming.​

    Affise MMP 2025-05-30 at 12.19.47 AM

  10. 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.

Zight Recording 2025-05-30 at 06.25.35 PM

13. Launch a test campaign.


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?