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?
Topic:
App & System Services
SubTopic:
Core OS
Tags: