background shape
background shape

Invalid links in email template

When the HTML template is used (loading your own HTML code) all the links that use query parameters (?a=b) will resolve to invalid links when they redirect upon user click. This happens when web analytics UTM tags are being attached to the delivery.

To resolve this issue all the links with additional query parameters has to be written to the href tag with use of AMPScript RedirectTo function.

<a href="%%=RedirectTo("https://martechnotes.com?parameter=1")=%%">Click here</a>

When you are using regular email template where you drag and drop components, the same is happening when you are using URL as variable or attribute in e.g. button component, such URLs will resolve to invalid ones.

Easy and same fix. Just wrap your url in RedirectTo

Redirect to when URL is attribute or variable

Oh hi there 👋
I have a FREE e-book for you.

Sign up now to get an in-depth analysis of Adobe and Salesforce Marketing Clouds!

We don’t spam! Read our privacy policy for more info.

Share With Others

Leave a Comment

Your email address will not be published. Required fields are marked *

MarTech consultant

Marcel Szimonisz

Marcel Szimonisz

I specialize in solving problems, automating processes, and driving innovation through major marketing automation platforms.

Buy me a coffee
Subscribe

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

We don’t spam! Read our privacy policy for more info.

If the form isn't cooperating, don't worry. Just drop us an email at info(at)martechnotes(dot)com with 'Subscribe' in the subject line, and we'll be happy to add you to our list. As a token of our appreciation, we'll also send you a free e-book. Your subscription means a lot to us, and we want to ensure you don't miss out on our valuable content.