Post

Replies

Boosts

Views

Activity

Reply to Universal links & redirect not working on certain devices
Hello, I have the following JSON file configured: "components": [ { "/": "/auth-redirect", "?": { "redirectPath": "/manage/manage/*/orders/*", "utm_campaign": "envoy_alteqpdue" }, "comment": "Matches a URL with a path that starts with /redirectPath/ and that has query items with redirectPath 'manage/manage//orders/' and utm_campaign 'envoy_alteqpdu'." }, { "/": "/manage/manage/*/orders/*", "?": { "utm_campaign": "envoy_alteqpdue" }, "comment": "Matches a URL with a path that starts with /manage/manage/ and that has query item with utm_campaign 'envoy_alteqpdu'." } ] I have links that are redirected from urldefense. Original link: https://urldefense.com/v3/__http:/click.marketing.unitedrentals.com/?qs=c456a126d7099a5eb17f96a0d4305fd74ab1c6e26e42d3699c71a55d4e9355d90add8e124db70cf96bb57f73c8f26ee08f8926352e7247d72bd3a456b1c72874__;!!IfJP2Nwhk5Z0yJ43lA!N8EQu3nW2GmYc3N0R7K0J7p5OjcM_LnLaTHCqNXR3Ci2YY_KoSrj3ZQBzSRRA3L_7A0zakao9nD6QEz48GKpOFNgcATSFA$ The link to which I am redirected (the following link does not work, probably due to encoding): https://stage.unitedrentals.com/auth-redirect?redirectPath=%2Fmanage%2Fmanage%2F1262244%2Forders%2F175272349%3Futm_source%3Dsfmc%26utm_medium%3Demail%26utm_campaign%3Denvoy_alteqpdue The URL that works correctly after decoding: https://stage.unitedrentals.com/auth-redirect?redirectPath=/manage/manage/1262244/orders/175272349?utm_source=sfmc&utm_medium=email&utm_campaign=envoy_alteqpdue My question is: how should I prepare the JSON file so that my URLs start working with encoded url? Is it correct to have multiple query parameters in a single component?
Aug ’24
Reply to Universal links & redirect not working on certain devices
I have configured the JSON file as well as the Xcode project. The file is publicly available, and I have omitted the appId and the rest of the JSON file for the purposes of this post. Here, I am concerned with a specific case where we have a urldefense that redirects to "https://stage.unitedrentals.com/auth-redirect?redirectPath=%2Fmanage%2Fmanage%2F1262244%2Forders%2F175272349%3Futm_source%3Dsfmc%26utm_medium%3Demail%26utm_campaign%3Denvoy_alteqpdue". As you can see, it contains PercentEncoding. As you can see in the JSON, there is a path "/" : "/manage/manage//orders/", and a query: "?" : { "utm_campaign": "envoy_alteqpdue" }, This case works correctly, and I have no questions about it. I'm asking specifically about this component: "/": "/auth-redirect", "?": { "redirectPath": "/manage/manage/*/orders/*", "utm_campaign": "envoy_alteqpdue" }, As you can see in the link, there is a "?" after auth-redirect and a "%3F" before utm. Should I understand that everything after auth-redirect? is treated as a single query? I want to ensure that the app opens a link that has auth-redirect to manage/manage*/orders*/ along with an additional specific query parameter "utm_campaign": "envoy_alteqpdue"
Aug ’24