Adding "View as Webpage" Anywhere in your email

Anonymous
Not applicable

Adding "View as Webpage" Anywhere in your email

In my adventures trying to get the emails in the Marketo platform to work the way I wanted, I uncovered a method of allowing users to view emails as a webpage without using the stock Marketo features. This seems to be un-documented as I couldn't find a single article on how to do this so I'm posting it so that it might help someone in the future.

If you want to have flexibility on where and how you place the "View in webpage" link in your emails, you can use the following bit of code to place the link anywhere:

<a href="{{system.viewAsWebPageLink}}">View as Web Page</a>

Note that the way to call the web version of the email is by linking to {{system.viewAsWebPageLink}}.

Be sure to disable this function in the Admin panel by placing a comment (ex: <!--Comment--> in the field - otherwise you will have a duplicate link at the top of the page.

Test it out! It works beautifully.
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Adding "View as Webpage" Anywhere in your email

Nice writeup Garrett.