# How to include "view this email as webpage" (with the link to open in a browser) in email broadcast?

**URL:** <https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897>\
**Category:** Max Classic\
**Tags:** email-builder, email-broadcast\
**Created:** [June 19, 2017, 2:32am UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897 "2017-06-19T02:32:53Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremie\_Diaz](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Jeremie\_Diaz](https://integration.keap.com/u/Jeremie_Diaz)\
**Post date:** [June 19, 2017, 2:32am UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/1 "2017-06-19T02:32:53Z")

</div>

![](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/1X/bd72475981018be9d97b787532893efb9427ade7.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Earl](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/michael_earl/32/300_2.png) [@Michael\_Earl](https://integration.keap.com/u/Michael_Earl)\
**Post date:** [June 19, 2017, 3:36pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/2 "2017-06-19T15:36:15Z")

</div>

Hey Jeremie,

Using our merge fields, you can actually get that text and link merged in by copying and pasting the following into it’s own paragraph block:  
~HostedEmail.Link~

Just put that in the top of your email and it will merge in that text and link so they can view it as HTML!

As seen here:

 ![](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/1X/9f8c46e71b057c41106042645b16d111b5052f9b.png)

Cheers,  
MEarl

---

<div class="post-metadata">

**Author:** ![Jeremie\_Diaz](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Jeremie\_Diaz](https://integration.keap.com/u/Jeremie_Diaz)\
**Post date:** [June 20, 2017, 1:48am UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/3 "2017-06-20T01:48:25Z")

</div>

Thanks Michael Earl for your help. While I have you, can you direct me to any shortcuts or cheat sheets in creating an email broadcast at infusionsoft? I am also looking how to put an managing preferences as an option for email recipients. Thank you.

---

<div class="post-metadata">

**Author:** ![Michael\_Earl](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/michael_earl/32/300_2.png) [@Michael\_Earl](https://integration.keap.com/u/Michael_Earl)\
**Post date:** [June 20, 2017, 3:14pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/4 "2017-06-20T15:14:05Z")

</div>

Not a problem, Jeremie!

I’m not sure of any shortcuts or cheat sheets, but for an email preference center check out our Mastermind video here:

> **[Build a Email Preferences Center in Keap](https://www.monkeypodmarketing.com/build-infusionsoft-email-preferences-center/)**
>
> Building an email preferences center is a great way to let your Keap subscribers choose what types of communication they receive.

Let me know if you have any other questions!

---

<div class="post-metadata">

**Author:** ![Amy\_B\_Breitkreutz](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Amy\_B\_Breitkreutz](https://integration.keap.com/u/Amy_B_Breitkreutz)\
**Post date:** [May 1, 2018, 3:28pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/5 "2018-05-01T15:28:51Z")

</div>

How can I change the text displayed from this ~HostedEmail.Link~? Or, is there another workaround to provide a link to display just a section of the email in a browser?

I am trying to use this feature below an animated gif, to provide Outlook users with easy access to viewing the animation (since Outlook 2000-2016 only displays the first frame of the animation).

Current text: Having trouble viewing this email? Click here  
Desired text: Watch the full animation

Thanks!

---

<div class="post-metadata">

**Author:** ![jpolen](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/jpolen/32/8250_2.png) [@jpolen](https://integration.keap.com/u/jpolen)\
**Post date:** [September 26, 2018, 11:50pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/6 "2018-09-26T23:50:53Z")

</div>

Hi,

Did you ever solve this? I just need the link so I can reference it with “click here” from a text in another language, but this doesn’t work like that. @Michael_Earl, any ideas?

---

<div class="post-metadata">

**Author:** ![Nick\_Drzayich](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@Nick\_Drzayich](https://integration.keap.com/u/Nick_Drzayich)\
**Post date:** [December 3, 2018, 7:38pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/7 "2018-12-03T19:38:23Z")

</div>

not sure how to extract just that link but i’m running into another problem. My issue is that other merge fields (like first name, phone number, etc.) are not being pulled through to the hosted version of the email. they show up in the original version of the email but when i click the link: “Having trouble viewing this email?” the merge fields are blank…any thoughts?

---

<div class="post-metadata">

**Author:** ![Nate\_Mehr](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/nate_mehr/32/3008_2.png) [@Nate\_Mehr](https://integration.keap.com/u/Nate_Mehr)\
**Post date:** [January 8, 2019, 4:49pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/8 "2019-01-08T16:49:19Z")

</div>

> [@Michael\_Earl](#):
>
> ~HostedEmail.Link~

Ay idea why it doesn’t pick up the set hyperlink color for the email? I thought if you set the color in the design then it would be the same as the rest of the email. For whatever reason it doesn’t pick that up at all.

---

<div class="post-metadata">

**Author:** ![Stacia\_Sleight](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stacia\_Sleight](https://integration.keap.com/u/Stacia_Sleight)\
**Post date:** [March 3, 2019, 4:30pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/9 "2019-03-03T16:30:54Z")

</div>

Hi all,

I’m experiencing an issue with this \> ~HostedEmail.Link~. I have inserted this as stated, however it just shows the actual text \> ~HostedEmail.Link~ instead of view in browser. I sent a test email and no View in Browser link was shown.

Any suggestions? Thank you!

---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [March 7, 2019, 6:55pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/10 "2019-03-07T18:55:19Z")

</div>

Is this still not working for you? I just tried it and it was working for me:

`~HostedEmail.Link~`

 ![image](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/e/ec0547971803a02f069540280270f5badd28a99a.png)  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/d/d1ef054e13cb0499abb278d024060ae3fd509df9.png)

---

<div class="post-metadata">

**Author:** ![Stacia\_Sleight](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stacia\_Sleight](https://integration.keap.com/u/Stacia_Sleight)\
**Post date:** [March 8, 2019, 6:34pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/11 "2019-03-08T18:34:24Z")

</div>

Thank you! All working. My coworker sent a screenshot, however it was from the preview page, not a draft send. It works fine in the draft send. Thank you for the reply!

---

<div class="post-metadata">

**Author:** ![Saketha\_Satyavolu](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Saketha\_Satyavolu](https://integration.keap.com/u/Saketha_Satyavolu)\
**Post date:** [May 1, 2019, 3:38pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/12 "2019-05-01T15:38:02Z")

</div>

~HostedEmail.Url~ used to work for us, but now it seems to be broken. We tried ~HostedEmail.Link~ but it seems to have the same issue. When we click on the Click here link We see " Oops! Sorry, something went wrong. Please try again later." instead of the Html version of email.

---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [May 1, 2019, 3:52pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/13 "2019-05-01T15:52:58Z")

</div>

Hi, @Saketha_Satyavolu. I tested it and it’s working for me. Maybe it was a temporary issue? Try copy and pasting this exactly into the template and test it out

`~HostedEmail.Link~`

---

<div class="post-metadata">

**Author:** ![Saketha\_Satyavolu](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Saketha\_Satyavolu](https://integration.keap.com/u/Saketha_Satyavolu)\
**Post date:** [May 10, 2019, 7:44pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/14 "2019-05-10T19:44:41Z")

</div>

I tried copy pasting it, but still it shows the same “oops”.  
I can see this in the email in the place of merge field:  
View this email online:  
This email was sent as HTML-only. To view it, please visit:  
[https://is-hosted-email-api-prod.appspot.com/api/v2/public/email/xxxxxxxxxxx/xxxxxxxxxxxxx](https://is-hosted-email-api-prod.appspot.com/api/v2/public/email/xxxxxxxxxxx/xxxxxxxxxxxxx).  
The xx are numbers.  
When clicked on the link, it shows “Oops! Sorry, something went wrong. Please try again later”

---

<div class="post-metadata">

**Author:** ![Sarah\_Cornacchio](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Sarah\_Cornacchio](https://integration.keap.com/u/Sarah_Cornacchio)\
**Post date:** [July 22, 2019, 3:57pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/15 "2019-07-22T15:57:54Z")

</div>

@Michael_Earl - this link is no longer working: [http://help.infusionsoft.com/mastermind/build-a-true-email-preferences-center](http://help.infusionsoft.com/mastermind/build-a-true-email-preferences-center)

I can’t find a similar article, but I am interested in creating a true email preferences center. Is there a new article?

---

<div class="post-metadata">

**Author:** ![Michael\_Earl](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/michael_earl/32/300_2.png) [@Michael\_Earl](https://integration.keap.com/u/Michael_Earl)\
**Post date:** [July 23, 2019, 5:00pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/16 "2019-07-23T17:00:13Z")

</div>

The most recent one I have been directing people to on chat has been this one, by @Greg_Jenkins:

> **[Build a Email Preferences Center in Keap](https://www.monkeypodmarketing.com/build-infusionsoft-email-preferences-center/)**
>
> Building an email preferences center is a great way to let your Keap subscribers choose what types of communication they receive.

I believe they make use of tags to manage which emails a contact should receive, so you’d just be mindful of that prior to sending (Checking at the beginning of a Campaign or Saved Searches which include / exclude the relevant tags)

Let me know if this works for you!

---

<div class="post-metadata">

**Author:** ![Sarah\_Cornacchio](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Sarah\_Cornacchio](https://integration.keap.com/u/Sarah_Cornacchio)\
**Post date:** [July 23, 2019, 5:33pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/17 "2019-07-23T17:33:24Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Rae\_Carson](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@Rae\_Carson](https://integration.keap.com/u/Rae_Carson)\
**Post date:** [March 25, 2021, 5:04pm UTC](https://integration.keap.com/t/how-to-include-view-this-email-as-webpage-with-the-link-to-open-in-a-browser-in-email-broadcast/897/18 "2021-03-25T17:04:26Z")

</div>

Hi there,  
The Hosted Link copy/paste stopped working for us in January. Anyone know why? Now, when I include it in its own paragraph block like I used to, that block simply appears blank.
