Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Andrew_Clark2
Level 1

How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Hey everyone,

I'm stumped on something which seems minor... but no idea how to edit this. When you send an email and add the "view as webpage" option in the settings, how do edit the title that displays in your browser? I cloned an email from an old program, so information from the old program is displaying when someone clicks "view as page" on the browser tab, but I can't find where to edit this. I don't see it in the HTML code or in any email settings/options.

Anyone have an idea?

Andrew Clark
8 REPLIES 8
SanfordWhiteman
Level 10 - Community Moderator

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

It's the HTML <title> tag.

Gerard_Donnell4
Level 10

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Click on edit code in the email.

Screen Shot 2017-11-07 at 23.47.52.png

Once the code opens up you will see  title tags <title>Your Title </title>. Just change it there and save it.

Screen Shot 2017-11-07 at 23.48.30.png

Andrew_Clark2
Level 1

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Hey Gerard,

Thanks for replying I appreciate your help! Unfortunately, my template won't let me change this. Right now it shows 

<title>${emailTitle}</title> in the code. If I try to put something different in there instead of "${emailTitle}" it won't let me save, it then says I have several errors.

So is there something wrong with this template? Why would just trying to change this give me "Error: Element with no name" messages but not changing it doesn't...

Andrew Clark
Gerard_Donnell4
Level 10

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Could you be referring to a Token?

Go to the tokens tab at the top level of your program and see if the token exits there.

Screen Shot 2017-11-08 at 00.25.47.png

Screen Shot 2017-11-08 at 00.25.29.png

Andrew_Clark2
Level 1

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

I checked the tokens... this email was hardcoded but it was cloned from a program with tokens. I tried adding the value to the token though and didn't see a change... it seems like changing the token value isn't helping the email. I changed the token in the program the email is in AND the token in the program the email was cloned from.

Andrew Clark
Gerard_Donnell4
Level 10

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Have you searched the rest of the email code for ${emailTitle} ? It seems like its a javascript variable that is being pulled from somewhere.  At this stage I would have to defer to Sanford Whiteman​ who would be the master of that realm.

Andrew_Clark2
Level 1

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

Hey Gerard,

So rebuilt the template from scratch and it is now letting me edit the email title, so I can give a new value to this area of the code. I now have the correct title displaying in the browser when the "view as webpage" link is clicked.

Thanks again for pointing me again to the "title" designation in the html!

Andrew Clark
Gerard_Donnell4
Level 10

Re: How To Change What Displays On Browser Tab When Lead Clicks "View As Webpage"

You should also move this to the product board using the move button on the right hand side.

Thanks,

Gerard