View as webpage link not getting truncated in text version | Community
Skip to main content
June 14, 2018
Solved

View as webpage link not getting truncated in text version

  • June 14, 2018
  • 2 replies
  • 3666 views

Here is the code that I use for the text version of our emails:

To view this email as a web page, click here <[[{{system.viewAsWebpageLink}}]]>

And this is what you see in your inbox.

Normally the links in our text versions get shortened.

For example, this is how another link in our body copy looks:

Why not the view as webpage link too? Is this the same result everyone sees? Am I doing something wrong here?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

It's because view as webpage is a system token that doesn't get tracked

That's correct!  But not because it's a system token. It's because it's a token, period.

If you simply check the automatically managed "Include View as Web Page" option on the email --

-- then clicks on the View as Web Page link will be tracked.

A link like

<a href="{{system.viewAsWebpageLink}}">

doesn't get tracked for the same reason any (non-Velocity) token that contains a full URL doesn't get tracked: if the protocol is in the token, Marketo doesn't rewrite the link.

If you want a self-managed Web Page link that still is tracked, build the link to

<a href="https://pages.example.com/index.php/email/emailWebview">

2 replies

Grégoire_Miche2
New Participant
June 15, 2018

I am not sure I would like to count clicks on the "view as web page" as clicks, though...

-Greg

June 20, 2018

Good point. Since the problem was  that we were getting huge garbled links in the text version, I've updated this link only in our text versions and not in the HTML version. This way it will (I think) have only a minor impact on click count.

Thanks everyone.

Jay_Jiang
New Participant
June 15, 2018

It's because view as webpage is a system token that doesn't get tracked and thus doesn't get rewritten using the branding domain. If you hover over the link in the HTML version, it's the same situation.

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
June 15, 2018

It's because view as webpage is a system token that doesn't get tracked

That's correct!  But not because it's a system token. It's because it's a token, period.

If you simply check the automatically managed "Include View as Web Page" option on the email --

-- then clicks on the View as Web Page link will be tracked.

A link like

<a href="{{system.viewAsWebpageLink}}">

doesn't get tracked for the same reason any (non-Velocity) token that contains a full URL doesn't get tracked: if the protocol is in the token, Marketo doesn't rewrite the link.

If you want a self-managed Web Page link that still is tracked, build the link to

<a href="https://pages.example.com/index.php/email/emailWebview">

June 15, 2018

OK, Thanks for the info re tokens as links - I appreciate that.

We haven't yet switched to 2.0 but we will soon so that is an option to consider. However when I experimented with that in our sandbox it created a layout issue. I don't imagine there's a way to position that exactly where I want? I don't think it's worth sacrificing the layout view to help the text version if this is what we have to live with. Note how it creates big white gaps above the gray columns on the right.