What is bit.ly linker?
Bit.ly linker is a WordPress plugin that will automatically create bit.ly links for each post that you publish. You can then use that bit.ly link anywhere you want to direct people straight to the specific blog post. Download now!
Why use bit.ly linker?
Bit.ly linker not only automatically creates bit.ly links from your posts but also adds Google tracking code to the link so that Google Analytics can register the link and you can measure visitor stats from the link
Analytics and bit.ly.
Google Analytics traditional hasn’t dealt with bit.ly links very well, they log them as direct traffic and you have no way of knowing how well (or badly) a particular link is doing. Now with bit.ly linker you can add personalised tracking code to the link so that Analytics will register is differently and you will be able to properly track the success of your links.
Setting up Bitly Linker
- Download the plugin
- Activate it from the WordPress plugins menu
- In WordPress settings you will see Bitly Linker Settings
- Enter your Bitly username API Key and Analytics data
- Add the Bitly Linker widget to your sidebar
- Enjoy



Is there any way of including the results of this plugin without using a widget? I’d like the code it into my theme.
Many thanks
Elliott
Hi Elliott yes you can print the bit.ly link directly into a theme by calling the function bitly(). For example:
The bit.ly link for this post is: < ?php bitly(); ?>.
Andy
Absolutely spot on what I was hoping for!
Many thanks
Elliott
I’d forgotten about this until I saw a link from here in my visit logs, a quick tweak of my theme files and voila job done.
Another question: Does this work with pages? Any thoughts on adding a function to work with pages?
Ignore my last question about pages… I experimented and it does.
Gave you some blog love yesterday and a link.
Elliott
Cheers for that – your site looks good. Glad you like the plugin.