TransWikia.com

Link is not rendering correctly for non-English emails

Salesforce Asked by Mike Marks on January 3, 2021

First time encountering this issue! Super weird. So, it seems that when I do a simple

<a href='%%=RedirectTo(@url)=%%'>click here</a>

The resulting URL is fine when the email is English.
enter image description here

But, when the email is any other language, here’s what I get. See the URL that is prepended before the "kytracing.link" URL? This only happens for non-English emails. Any ideas why this might be happening? As you can expect, clicking the erroneous email results in a 404 Not Found error.

enter image description here

One Answer

If the protocol and domain doesn't change (It's the same for every record in your DE). You can use just the endpoint as variable in your DE.

Personalization strings with attributes can be used when the protocol and domain are included in the href value in the static message content.

Dynamic Link

So you can change your <a> tag to

<a href='https://kytracing.link/%%RebrandedUrl%%'>click here</a>

And in your DE you should change the values from the RebrandedUrl field to contain just the string after the /

kytracing.link/mcgg -> mcgg

Answered by Leto on January 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP