Free WordPress Plugin to track clicks on external links.
|I like this!|
Find out where your visitors leave to! This Plugin allows you to track which external links your visitors click on. Multiplce clicks from the same IP-address can be omitted.
To achieve this the link-log Plugin changes all your links to external sites. For example
http://www.google.com is changed to
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
https are not changed. Also attributes (like
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.
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.
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>
- Works now with WPML
The WPML Plugin changes the Home URL by adding the language to it – link-log now can handle that to work with WPML and other Plugins that change the Home URL (thanks to GREIFF for testing)
- Performance Improvement
The browser is now forced to redirect to the target URL before the data is stored to the databse
- remove trailing slashes
To avoid duplicate entries for e.g. example.com and example.com/ all trailing slashes are removed now
Update Notice: when updating to version 1.3 all trailing slashes from all existing entries in the database are removed automatically
- Omit search engines and other bots
- Omit multiple clicks from same IP
- Initial Release