I'm trying to add the URL helper function to an SMS.
{{url originalUrl='original_url' type='TRACKED'}}
I'm trying to use personalization in 'original_url', but it won't let me.
{{url originalUrl='context.journey.events.1209875484._floridapowerandlight.journey.url1' type='TRACKED'}}
ERROR Personalization not allowed in domain name. context.journey.events.1209875484._floridapowerandlight.journey.url1. Error beginning at position: Line 1, Character 3
Would like your help to find out if it's not allowed and also how to use the URL helper function, since there is no information about that condition.
Solved! Go to Solution.
Views
Replies
Total Likes
@Jorge_RogelioZe It's complaining about the contextual data being used in the URL advanced function. The function was looking for a domain name and couldn't recognize that from the contextual data.
@Jorge_RogelioZe It's complaining about the contextual data being used in the URL advanced function. The function was looking for a domain name and couldn't recognize that from the contextual data.
In this case, I can't use personalization for the original URL, do you have any documentation where I can see how it works or some similar function that could help me?
Views
Replies
Total Likes
Take a look at the video from this link,
https://experienceleague.adobe.com/en/docs/journey-optimizer/using/channels/sms/get-started-sms
Hi @Jorge_RogelioZe ,
you can use personalization but the shortener requires the domain name in the format https://<domain name> then you can add parameters.
But you can't just pass the whole URL as parameter.
Thanks,
David
@DavidKangni wrote:Hi @Jorge_RogelioZe ,
you can use personalization but the shortener requires the domain name in the format https://<domain name> then you can add parameters.
But you can't just pass the whole URL as parameter.
Thanks,
David
I'm working on some ways that allow me to validate correctly within the SMS, but when I try to publish the journey I get the following error:
@DavidKangni wrote:Hi @Jorge_RogelioZe ,
you can use personalization but the shortener requires the domain name in the format https://<domain name> then you can add parameters.
But you can't just pass the whole URL as parameter.
Thanks,
David
Views
Replies
Total Likes
@Jorge_RogelioZe
Please enter details for all mandatory fields for sms surface.
Thanks,
David
Views
Replies
Total Likes
Hello!
I was wondering if you could help me with this. I've already run some tests, and I can't publish the journey when I add {{url originalUrl='original_url' type='TRACKED'}}.
I was wondering if I need to enable something in the stage environment for it to work. When I just add text, it publishes, but when I add the function, it shows me the error.
Views
Replies
Total Likes
can you please check if you configured a subdomain for SMS. If it's the case check if the SMS subdomain is added to your channel configuration.
Thanks,
David
Hi @Jorge_RogelioZe,
Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'
Thank you!
Views
Replies
Total Likes
Views
Likes
Replies