Plugin Directory


Find out where your visitors leave to. Track clicks on external links.

This Plugin allows you to track which external links your visitors click on.

To achieve this the link-log Plugin changes all your links to external sites. For example http://www.google.com is changed to http://www.example.com/?goto=http://www.google.com. The link change takes place when a post or page is displayed. Internal links to pages on your domain are not changed, also URLs not starting with "http" or "https" are not changed. Also attributes (like class or target) are not touched.

There is no need to change anything. All Links in all posts (even custom post types) and pages are changed automatically in front end. When editing a post or page in back end all links appear unchanged.

New in Version 1.3

Works now with WPML, performance improvement, remove trailing slashes
See Changelog for details and update notice

Settings (optional)

In 'Settings' -> 'link-log' you can set the name of the parameter (default ?goto), the duration of the IP-lock (default none) and whether to omit search engines or not.

Theme functions

There are two functions you can use in your theme files:

get_linklog_url( $url ) to get the tracking URL, e.g. <?php $google = get_linklog_url( 'http://www.google.com' ); ?>

the_linklog_url( $url ) to echo the tracking URL, e.g. <a href="<?php the_linklog_url( 'http://www.google.com' ); ?>" target"=_blank">Google</a>

More Information

Visit the Plugin Homepage

Do you like the link-log Plugin?

Thanks, I appreciate that. You don't need to make a donation. No money, no beer, no coffee. Please, just tell the world that you like what I'm doing! And that's all.

Requires: 3.0 or higher
Compatible up to: 4.0.1
Last Updated: 2014-10-26
Active Installs: 100+


4 out of 5 stars


0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1