How to make your affiliate link open in a new tab in text editor

8
3
919 followers

Some people seem to have issues with adding affiliate links using the visual editor. Regardless, I personally feel it is generally better to add links using the text editor as it is easier to make sure your links are wirking properly if you can monitor the backend side.

There are already existing trainings on how to insert affiliate links but I feel like it may help someone if I dedicate one blog post to just fixing the issues of not being able to insert links using the visual editor.

So here goes!

I'm gonna assume you already have an affiliate account and you're logged in. For Amazon Affiliate program, normally the links for "image only" and "text and image" tabs will open in a new tab by default when you add them inside your post. You can tell by looking at the affiliate link provided:



The code snippet " link _ opens _ in _ new _ window = true " indicates that it will open in a new tab by default so you don't have to change anything.

The link for "text only", however, does not have the code snippet. So these links will not open in a new tab by default. This is where generally people run into problems if they can't insert links using the visual editor.

You can, however, modify the code to make it open in a new tab.

So for instance, here is the code snippet for a product I'd like to promote in the "text only" tab:


I want to incorporate this code into my blog post like this: I will indicate the price and that it is on sale at Amazon, and I want the link to open in a new tab when my reader clicks on "Amazon".

So my text will be "Price: $149.99 from Amazon" and the word "Amazon" will have a link embedded to it.

The default text provided by Amazon is the name of the product ("Focusrite Scarlett 2i2 2 In/2 Out USB Recording Audio Interface"). I'd want to delete the default text and change it to "Amazon".


Change the underlined text to "Amazon" so that the link opens when the reader clicks on "Amazon".

After that, insert the code snippet (space) target = " _ blank " > before the text (i.e. Amazon).


Now your link will open in a new tab.

The end result looks like this:


I hope this post helps someone resolve their issues.

8
3
Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

3

Hello Ginax, Does this method work now? Do amazon allow code modifications? Thanks in Advance.

1

Hi Van, I have written a step by step tutorial about this, might be helpful too,

1

Thank you Loes, great training as always :)

1

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training