Why links in the email template are not properly redirected to respective URLs

Vaibhavi_Chinch
Level 2

Hello Team,

I have created one email template and in that given all the links that are required and scheduled this template. After it got sent, I went through all the links and they are not properly redirecting to their respective page, they all are redirected to Home Page only.

Every link in the template they all are redirected to Home Page only even social links also.

Please help me to solve this problem.

Thank you!!!

23 REPLIES 23
SanfordWhiteman
Level 10 - Community Moderator

As I asked on your other thread (please delete that thread now, you could've just moved it): provide an example URL exactly as it appears in the received email.

Vaibhavi_Chinch
Level 2
SanfordWhiteman
Level 10 - Community Moderator

Really?

It begins with https:​//www.google.com?

Vaibhavi_Chinch
Level 2

Yes

SanfordWhiteman
Level 10 - Community Moderator

If you actually copied that from the raw source ("view original", etc.) of a received email, that means you entered the Google search engine as the link in your email.

Show the relevant HTML <a> tag in the Marketo email editor now.

Vaibhavi_Chinch
Level 2

Below is the source code that we have added for the links.

<div style="align: center;">

<div class="m_-6489914734443872482mktoText" id="m_-6489914734443872482text456033e86-40c8-4f19-9d41-e34ca16ecf96" align="center">

<p style="text-decoration: none;"><span style="color: #ffffff; font-family: arial,helvetica,sans-serif;"><span style="font-size: 14px;"><span style="font-size: 12px; color: #ffffff;"><a style="color: #ffffff;" href="https://www.rahisystems.com/data-center-services/audio-and-video/" target="_blank"><span style="text-decoration: underline;">A/V SERVICES</span></a>      <a style="color: #ffffff;" href="https://www.rahisystems.com/data-center-products/audio-and-video/" target="_blank"><span style="text-decoration: underline;">A/V PRODUCTS</span></a>      </span></span></span><span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.rahisystems.com/data-center-solutions/integrated-environments/productivity/" target="_blank"><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 14px;"><span style="font-size: 12px;">PRODUCTIVITY</span></span></span></a><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 14px;"><span style="font-size: 12px;"> </span></span></span></span><span style="color: #ffffff; font-family: arial,helvetica,sans-serif;"><span style="font-size: 14px;"><span style="font-size: 12px;">     <span style="text-decoration: underline;"><a style="color: #ffffff;" href="https://www.rahisystems.com/contact-us/" target="_blank" id="">CONTACT US</a></span></span></span><br /></span></p>

</div>

</div>

SanfordWhiteman
Level 10 - Community Moderator

You may also send me an email (not sample, real email) if you are confused about where to find the source.

SanfordWhiteman
Level 10 - Community Moderator

And now show me a screenshot of the received HTML body (View Original in Gmail, for one example) for that same part of the email.

Again you must be looking at the source view to troubleshoot this.

Vaibhavi_Chinch
Level 2

Please refer below image.Capture.PNG

SanfordWhiteman
Level 10 - Community Moderator

Based on what you've shown so far, you've mixed up the DNS CNAME records that are required for Marketo LP domains and Marketo branding (click tracking) domains.

Your go.rahisystems.com is an alias for rahisystems.mktoweb.com. It should be an alias for mkto-sj220081.com.

Your click.rahisystems.com is an alias for mkto-sj220081.com. It should be an alias for rahisystems.mktoweb.com.

Reversing these will cause all visits to the branding domain to be redirected to your homepage, since the branding domain is in fact the LP server, and the fallback page for nonexistent LPs is your homepage.

Vaibhavi_Chinch
Level 2

As you suggested we did DNS settings. The email template that I have sent you is working properly, but email which has been sent earlier they are not working properly. They are getting redirected to the homepage. Is there any other way to fix it?

Please guide us as soon as possible.

Thank you!!!

SanfordWhiteman
Level 10 - Community Moderator

I see you've switched the DNS back now -- so you're back where you started.

SanfordWhiteman
Level 10 - Community Moderator

If you're seeing different results with old and new emails, here's the problem: most likely you switched the LP domain and branding (tracking) domains at some point in the Marketo UI.

Your previous DNS settings may have been "correct" for a previous domain setup.

When you opened your thread yesterday, the DNS was clearly wrong/reversed for the current domain setup, given the example email you provided.

You can't have it work for both setups, old and new, simultaneously, unless you know how to set up a reverse proxy that can switch contexts based on the URL (itself a matter of guesswork, but can work 99% of the time).

Vaibhavi_Chinch
Level 2

When we opened this thread yesterday, DNS settings were correct according to this document https://docs.marketo.com/display/public/DOCS/Configure+Protocols+for+Marketo but links in the email templates are not getting redirected properly and then when you suggested at that time only we switched the LP domain and branding (tracking) domains. Now we did DNS settings as it was earlier, now Still getting the same issue with the email that I have sent you. We didn't do any changes since the setup we did for the first time except for yesterday.

SanfordWhiteman
Level 10 - Community Moderator

When we opened this thread yesterday, DNS settings were correct according to this document https://docs.marketo.com/display/public/DOCS/Configure+Protocols+for+Marketo

That was absolutely not the case. Your DNS settings were and are clearly wrong.

The trackable links in the email you sent me (and also posted here) were rewritten to the domain go.rahisystems.com. That means you had go.rahisystems.com as your branding domain in the Marketo UI, but (both then and now) the DNS entry for go.rahisystems.com does not point to the tracking server, it points to the LP server (.mktoweb.com is always the LP server).

; <<>> DiG 9.11.1 <<>> go.rahisystems.com

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20214

;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1280

;; QUESTION SECTION:

;go.rahisystems.com. IN A

;; ANSWER SECTION:

go.rahisystems.com. 120 IN CNAME rahisystems.mktoweb.com.

rahisystems.mktoweb.com. 300 IN A 192.28.156.97

If you don't understand the technical side here, that's fine, but you need a DNS and HTTP expert on (or available to) your team.

Vaibhavi_Chinch
Level 2

What should be the exact settings according to you to get this email work? Where should go.rahisystems.com and click.rahisystems.com be pointing?

SanfordWhiteman
Level 10 - Community Moderator

Where should go.rahisystems.com and click.rahisystems.com be pointing?

The one that's your Marketo LP domain points to rahisystems.mktoweb.com.

The one that's your Marketo branding domain points to mkto-sj220081.com.

It's a very simple set of rules.

SanfordWhiteman
Level 10 - Community Moderator

If you refuse to provide what I asked, I cannot provide help. Not Developer Tools » Inspector. I asked for "View Original" in Gmail or comparable.

(In fact what you've shown here contradicts the first thing you said. You didn't copy the href. You copied the data-saferedirecturl.)

Vaibhavi_Chinch
Level 2

Above code is added in the template.

SanfordWhiteman
Level 10 - Community Moderator

I don't understand your response.

Need to see the source of the received email, exactly as received. No clicks. Just a screenshot.

What you're reporting is bizarre and almost certainly resulted from user error. Have to figure out exactly what that error was.