Free WordPress Pluginlink-logThis WordPress Plugin allows you to find out where your visitors leave to by tracking clicks on external links.

Free WordPress Plugin to track clicks on external links.

Current Version1.3
Last Change2014-10-26
Released2014-02-25
Downloads393
Download

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 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.

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>

Screenshots

Settings

Settings

Click Stats

Click Stats

Changelog

1.3 (2014-10-26)

  • 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

1.2 (2014-09-19)

  • Omit search engines and other bots

1.1 (2014-06-25)

  • Omit multiple clicks from same IP

1.0 (2014-02-20)

  • Initial Release

Download View Changelog