link-log

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

Author:Peter Raschendorfer (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.3.2
Plugin version:5.0.2
Added to WordPress repository:25-02-2014
Last updated:12-10-2023
Rating, %:90
Rated by:8
Plugin URI:https://wordpress.org/plugins/link-log/
Total downloads:12 309
Active installs:1 000+
plugin download
Click to start download

The Smart External Link Click Monitor Plugin allows you to track which external links your visitors click on.

Data are stored on your server. No external service needed.

Retired Plugin

Development, maintenance and support of this plugin has been retired in october 2023. You can use this plugin as long as is works for you.

There will be no more updates and I won’t answer any support questions. Thanks for your understanding.

Feel free to fork this plugin.

Usage

The Link Log Plugin changes all your links to external sites. For example https://www.google.com is changed to something like https://www.example.com/?goto=HUESQ2ifGipAlHg4OTUzfihAUgfz1La8. 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 (tracking of tel URLs can be activated optionally). Also attributes (like class or target) are not touched. There is no need to change anything. All links in all posts and pages are changed automatically in front end. When editing a post or page in back end all links appear unchanged.

Settings (optionally)

In ‘Settings’ -> ‘Link Log’ you can change several settings.

Plugin Privacy Information

  • This plugin does not set cookies
  • This plugin stores encrypted IP-addresses of visitors in your database
  • This plugin does not send any data to external servers

For Theme Developers

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>