Universal links via tracking URL redirection not working for iOS

In our company, we are sending campaigns to our users via a marketing tool called "braze". Braze uses SendGrid for tracking of URL clicks.


When we send an email we are adding a URL for universal linking of the app to the button inside this mail.

After the email is sent the URL converted to a tracking URL.


The problem is that redirection from the tracking URL to the mobile app is not working. (but it is working for Android devices.)

If I disable tracking everything is working fine.


Is there any limitation of iOS for 2 times redirection?

Replies

Waiting for help for this 🙂

Waiting for help for this

Keep in mind that DevForums is not a formal support channel. If you need formal support, you should open a DTS tech support incident.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

There is no specific limitation in iOS for multiple redirections. However, there are certain factors that could affect the redirection process and cause issues when tracking URLs on iOS devices. Here are a few potential causes to consider:

Universal Link configuration: Universal Links require proper configuration on both the server and the app side. Ensure that the Universal Links are set up correctly and that the associated domains and entitlements are properly configured in your app's capabilities and on your server.

App association file: Make sure that the app association file (AASA file) is correctly configured and hosted on your server. The AASA file is responsible for mapping the domain to the associated app.

Deep linking implementation: If the redirection is meant to open a specific page or screen within the app, verify that the deep linking implementation is correctly set up. This includes handling the incoming URL and navigating to the appropriate content within the app.

SSL certificate and HTTPS: Check that your server is using a valid SSL certificate and serving the tracking URLs over HTTPS. iOS requires secure connections for Universal Links to work properly.

iOS version compatibility: Ensure that the iOS version on the devices you are testing is compatible with the features and configurations used for redirection. It's possible that certain versions of iOS may have specific bugs or limitations related to Universal Links or URL handling.

Testing and debugging: Test the tracking URLs and redirection process on multiple iOS devices and versions to identify any inconsistencies or issues. You can also examine the logs and console output on the server and within the app to check for any error messages or unexpected behavior.

If you have already verified the above factors and are still experiencing issues, it might be helpful to consult with the Braze support team or the developers responsible for the app's deep linking implementation. They can provide more specific guidance based on the configurations and tools you are using.

Remember to test the redirection process thoroughly on various iOS devices and versions to ensure compatibility and a smooth user experience.

I hope this helps! Let me know if you have any further questions.