Keep Visitor On My Site

  • 1
  • Question
  • Updated 10 years ago
  • Answered
How can I keep people from leaving my site after leaving a link they clicked on?
I picked up this code from an earlier post.

I thought I got this Html right, but it doesn't seem to work.

I used a made up clickbank link for the url. Here's how I did the html:

" target="_blank"



=" target="_blank"">


I highlighted the link words to place the html, but it won't work with the html widget.
Instead the html pops in a text box right above the linked text.

What am I doing wrong?
Photo of SanRamon


  • 6 Posts
  • 0 Reply Likes
  • frustrated

Posted 10 years ago

  • 1
Photo of Kershnee


  • 2087 Posts
  • 152 Reply Likes
Hi SanRamon,

Here are the steps for opening a link open in a new window

1. Add text using the text widget.
2. Select the text that you want the link and then click "insert link" on the text editing toolbar.
3. Create your link to your chosen URL as normal, click "OK".
4. Then click "HTML" - the last icon on the text editing toolbar.
5. You will see the code that looks like this for your link, I have used the text "Visit [Wikipedia]( to see more information", with the link being on Wikipedia:
`Visit <a href=";&gt;Wik...; to see more information<br>`
All you need to do is add in target="blank" as show below:
`Visit <a href="; target="blank">Wikipedia</a> to see more information<br>`

Your link will then open in a new tab or window, depending on what browser your visitor is using.

Please note: current thinking in web usability circles is that links that open in a new window are a bad idea for a number of reasons. See: Beware of Opening Links in a New Window -, for a great article by a leading expert in the field.