Forcing links to open in a new window


When setting up a campaign content, our client needs the hyperlinks to open in a new window when the user is viewing the template in a web browser.

There seems to be no option to select this when inserting the hyperlink inside the campaign builder content boxes.

Is there a way to force this elsewhere besides adding target="_blank" manually to all the <a> tags in the content?


Stig Stig, 9 years ago

Hi Mike, welcome to the forums!
On the web, this would be done by adding this line to the head-section of the HTML:
<base target="_new" />

I have no idea, however, if email clients support it. You'd have to try it out, and if it doesn't work, target="_new" on all links is the only way.

The Campaign Monitor Blog – HTML email smarts to go with your good looks.

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free