Customizing Infolinks to get the best return on your site
As I covered yesterday, Infolinks appear to be a decent alternative to Kontera. The only problem is, their dashboard is a little light on for information, and makes it easy for people to miss some of the more useful information that they have on customizing Infolinks to get the most out of them on your site.
To find the code you need to include in the footer of your site, you need to click on 'Implementation Guide'. Once there, you have the option of copying the 'Express Installation' code, or an example of an 'Advanced Installation' code. Express is fine if you want to get things up and running and don't mind using the default parameters, but if you want to specify the number of Infolinks that will appear on a page, or help Infolinks better target ads to your content, then the 'Advanced Code' is the way to go. If you're worried about the term 'Advanced', don't be. There's nothing all that scary about it.
Here's an example of the advanced code:

As you can probably tell, this allows you to modify the link color and text color. But there are also other parameters you can modify using the same principles. Here are two of the most useful.
So you want to limit the number of Infolinks that appear on your site?
To do this you'll need to add the variable called infolink_anow. For example, if you only want a maximum of 5 infolinks to appear on a page at once you would add the following line to the advanced code just before the first closing script tag.
var infolink_anow = 5;
So that will limit the maximum number of phrases that Infolinks will underline.
So you want to specify the phrases/keywords that Infolinks will target for linking?
Same principle as above, except you'll need to add the infolink_cat variable. The infolink_cat variable can only be used/populated with the twelve categories listed below:
Adults
Arts
Automotive
Business
Computers
Games
Health
Home
Kids & Teens
News
Recreation
Reference
Science
Shopping
Society
Sports
Say, for example, you wanted to target the keywords belonging to the arts category you would use the following:
var infolink_cat = 'arts';
To summarise
If you wanted to add both the above variables, your final code would look something like this.

So that's it. Hopefully someone finds it useful. If you haven't already, go join Infolinks here.
Semi-related posts
5 Responses to “Customizing Infolinks to get the best return on your site”
Leave a Reply
Be nice. Keep it clean. Stay on topic. No spam.










Thank you so much for this information. I am trying to figure out how to put Infolinks on my blog and not have them appear on posts that I have written for Social Spark. If you have any ideas on how to do this, I’d appreciate your input.
Hi Karen,
If you are using WordPress the quickest and easiest way to control when Infolinks will appear in your posts is to download and install a plugin like Kontera Control. That’s actually the plugin I’ve used to keep links out of posts for the first 30 days after they’ve been published.
Hope that helps you.
Actually Karen, I just reactivated the plugin to make sure that it’ll work and there seems to be a problem. Not sure of the solution just yet. I’ll scratch my head for a bit and think it over.
Could you shoot me an email when you get it figured out? For now I am putting in the code and picking certain categories that it will be allowed to choose from.
Great post. There is little quality information on infolinks around the web so it is good to see. I would like to know if there is a script around similar to this?
I would like to add my own images and links to the pop up boxes.
Thanks again