Online version link for HTML import emails

237 Views Asked by At

We are using Sitecore ECM at our company and will be using the import HTML option for many campaigns. What I am not finding is how to include a 'see online version of this email' for imported HTML. Ideally, the campaign ID and item ID would get automatically added to a link we make in the header in the usual format.

/sitecore/RedirectUrlPage.aspx?ec_camp=223C8C5882A14C46BB3DBFE96E13D6B9&ec_as=85B29C2C3E0A4E9E8042DA09056E25FA&ec_url=%2f%3fsc_itemid%3d%7b054BA733-844B-4FD0-B7DA-983E80119388%7d%26amp%3bsc_lang%3den%26amp%3bsc_pd_view%3d1

Is there specific link syntax for our generalists to use to ensure a link back to the online version?

1

There are 1 best solutions below

4
On

To get the "view online" version to work your URL needs to be in the format:

http://www.yoursite.com?sc_itemid=xxxxxxxxxxxx&sc_lang=en&sc_pd_view=1

All links in ECM emails will have the RedirectURLPage.aspx as their path - this is used to trigger analytics.

Also you need to make sure that all the items are published to the web database for them to be available as "View Online".