With this plugin you can:
- Create simple URL redirects like http://example.com/a/blue-product/ or http://example.com/visit/red-product/.
- Track clicks in your Google Analytics account.
- Reduce load on your server — this plugin handles redirects in a very efficient way.
Requirements: I tested the plugin with WordPress 3.1 and PHP 5.3. It may still work with older versions. Your site must be using pretty permalinks. To get click tracking, your site must be pre-configured with Google Analytics.
How to Use
The plugin menu is found under “Links” in your WordPress admin sidebar.
Simply go to “Add an affiliate link” page (screenshot below). Enter a human-friendly name for your link. Enter the original affiliate link that you get from the vendor. Enter a short link. Click “Add link”.
Now your short link will redirect to your original affiliate link. And when your short link appears on your WordPress site, the clicks it receives will be tracked in Google Analytics.
A few things to keep in mind for short links
The plugin will notify you when you try to do something undesirable with your short links, but just in case, here are two things you need to keep in mind:
For performance reasons, your short link must be, at least, two levels.
Also good: http://example.com/level-one/level-two/level-three
If you have a web page on your WordPress site whose permalink begins with, say, articles — like http://example.com/articles/7-tips-to-dominate-planet-earth, do not use the word articles as the first level of your short links, i.e. a short link like http://example.com/articles/some-product would be bad.
How Tracking Works
Whenever you enter a new short link, the plugin saves the first level as a “trigger.” For example, in http://example.com/a/product/ the trigger is /a/. The plugin will save as many triggers as you are using in your affiliate links.
So, if you have a link like:
<a href="http://example.com/a/product/">affiliate link</a>
The plugin will transform it into:
And that’s how clicks are recorded in your Google Analytics account.
This is how the Google Analytics report will look like:
And this is how your affiliate links will be listed inside Walm:
If you have questions, bug reports, or feature requests — post in the comments.
(If you wanna say thanks, I’d really love it if you linked to WinkPress from your site.)