View 'Web Version' Link
Add a link so Users can click to view a version of an Email Campaign in their web browser. A benefit of using this merge tag is that it removes the need for creating a separate static copy of the Email Template and then externally hosting it.
Using this tag also ensures that all tracking, personalisation and conditional content still gets applied, resulting in the content being an exact replica of what the User has in their inbox.
Web Version Link Coding
Drop the {?$view_online?}
tag into your content and it will be rendered as a URL in Campaigns and test emails. For example:
Not displaying correctly? <a href="{?$view_online?}">Click here</a> to view in your browser
Embedded in a Web Page
If you would like to embed the View Online page within your own branded website you could pass the {?$view_online?}
tag as a parameter to a page on your website.
For example:
In the email
<a href="http://www.example.com/link.php?content={?$view_online?}">Click here</a> to view in your browser
link.php (on your website)
Note this is a very basic example with no security precautions and should not be copied verbatim.
<!DOCTYPE html>
<html>
<head>
<title>Example company</title>
</head>
<body>
<h1>Example brand</h1>
<iframe src="<?php echo $_REQUEST['content'];?>">
</body>
</html>