WPMarketer Link Examples
December 1st, 2008 Posted in Blog
WPM Links can be any type of link or ad, whether it’s a plain old HTML link, an image or banner link or even a JavaScript code snippet such as many Affiliate Networks offer. Here are examples of the three basic link types you can use to set up your WPM Links:
HTML Text Links
Inserted manually, dofollow, no link masking: Grant Research1
Inserted with Auto Linking, nofollow link masking and open in new window enabled: Grunt Research
Image Links
Inserted manually, no link masking:
Inserted manually with link masking and open in new window enabled:
JavaScript Links
Adsense Example:
Amazon Product Widget Example:
CJ JavaScript Button:

Thanks for making this available for free — for anyone with affiliate links, this is awesome!
Thanks Claude,
Glad you are finding it useful. Please be sure to let us know if you have thoughts on how we can improve this tool.
BTW – Our road map includes adding a module called “Ad Director” next, which will let you define ad zones, manage all your ad inventory and placements, affiliate offers, direct advertiser program and more. Using dynamic sidebar widgets, Ad Director will allow you to manage all your “in content” ads and your header, sidebar, footer ad space together in one interface.
We hope to introduce Ad Director shortly after the 1st of the year.
Regards,
Steve
I’ve been doing loads of testing on all of the different “auto-linking” plugins I can get my hands on. One feature that no one has (lack of demand I guess) that I would really like is the option to add dynamic subid/tid data into a link via php code.
For the sake of explanation, I’ll use Clickbank, but similarities abound. You’ve got your link, and whether you use YOURID.MERCHID.hop.clickbank.net, or some other solution like GoTryThis (my personal fave); it’s very useful to be able to append a dynamic TID such as one might get from Xtreme Conversions, Keyword Radar, Affiliate Prophet and etc.
This way, you can track your conversions back to the keyword that brought the visitor.
So, in the end, I want to be able to upload a plugin, specify a number of words that it will then use to automatically create anchor text to the link I specify (a’la Cross-Linker)…Then, automagically, all those keywords will be linked to my affiliate offer with a link similar to the following: my.aff.link.com/?tid=(dynamic php code here)…my tracking solution will add a tid dynamically.
Hi Ron,
Yep, me too! As soon as we finish tidying up a few last bugs with the current feature set we’ll be adding a LOT of new tracking features to WPMarketer, including SUBID tracking. Thanks for the input as this is very helpful to us in how to implement the feature. Look for it in an upcoming release once we complete the next module, Ad Director, which will basically add the functionality of Google Ad Manager and/or OIO Publisher. Tracking is the next module we’ll be addressing after Ad Director is complete.
Regards,
Steve
Hi Guys,
Thanks for the great plugin. It’s working well, with the exception of a few bugs:
1. If I have this, and only this plugin enabled on the site, I see this in the html
<!DOCTYPE html PUBLIC
Which, obviously isn’t right. So, I went in and changed a line in mescalero.php from
echo “”.$content = str_replace(‘]]>’, ‘]]>’, $content);
to
echo $content = str_replace(‘]]>’, ‘]]>’, $content);
Now, We no longer have the paragraph tag prepended to the doctype, however, it’s also cutting this out of the content too. I’m not sure what else to do to fix this?
2. There was a space before the doctype, that could also potentially cause issues, this was also fixed in mescalero.php with the following changes:
$contentValueis=$contentValueis.” “;
became
$contentValueis=$contentValueis.”";
3. It looks like when the plugin is enabled, it breaks “the_excerpt” for some reason?
Other than that, great work guys. I’m happy to help test it if you have a svn repo or something.
Thanks,
Matt
sorry that’s supposed to be a paragraph tag prepending the doctype in the first example.
Oh, and a couple more things:
1 – when unzipping the plugin, it goes into “wpmarketer” directory, but it should be “wp-marketer” otherwise the css/js files throw a bunch of 404’s.
2 – I “fixed” the excerpt by commenting out the empty function
// add_filter(‘get_the_excerpt’, ‘excerptFunction’);
thanks,
matt
It would also be cool if there was a way to randomize the links in a page automatically. Ie: if i have 6 keywords, instead of the first 3 being linked, if it did 1, 4 and 6.
Thanks for the plugin (I think) I want to add google adsense to my blog, but I need a step by step guide to do so as I’m very new to Wordpress. Do you have a guide to do this? It seems possible from the AdSense example in this post, but how?
Hi Guys,
Updated to 1.0.5 today. Thanks!
1. The paragraph tag is still being inserted before the doctype declaration. The problem is the_content hook is called twice and the first time its called is at the
very beginning of the document.
So, basically the paragraph tag shouldn’t be echoed out to the file if the_content() is empty.
2. The function for the excerpt is still blank. I had to comment this out for it to work.
3. You may want to mention somewhere in your documentation that article.php and index.php are both required for this to work correctly
Otherwise, great update guys, and great plugin. With these fixes applied it’s working wonderfully.
Thanks,
Matt
Thanks for the great detail Matt. We’re investigating the p tag issue again now and should have a fix shortly.
Thanks,
Steve
Hi Guy,
Great plugin when i read about. I download to test, but I have some problem about Outbound link. This is a explanation about the problem: -
Outbound link: I put my affiliate link.
anchor text: ebook
When i go to my artikel about ebook there showing ebook permalink, then when i click ebook permalink, it not going to my affiliate page but go to my other artikel about ebook.
Is there any way to fix it?
I think that a problem b’coz of link masking, when i not choose the link masking, the link is funtion good.
Thanks for reporting this palihapiz; we’ll look into it further.
How i put text links in comments?
Dont´t have this option?
Thanks from Brazil!
Hi Wagner. Good catch! Currently we only place links in the WP Content Loop, not in comments. We may change that in the future but there are some technical challenges. We’ll put it on the wish list though.
How can i use different anchor texts for the same link?
for example I wanna link to http://www.test.com/test/test and added this to wp marketer.
Now i have one article where user may click and – how can I handle that?
I am having a problem with this plugin – the links show up fine for excerpts but they do not show up when you view the full post. I`ve tried a variety of themes, with the same result.
I have installed , activated, setup, but the links are not showing up in the postings. Meaning the anchor text is not linked or highloghted in any way.
Any ideas?
Thanks
This plug in is really very useful but some time it shows error says Outbound link error: Is there any way to fix it?