link-log

PLUGIN DOC

The link-log Plugin allows you to track clicks on external links. This allows you to analyze where visitors of your website leave to.

There is no need to change anything. All links to external websites are changed automatically in front end. In back end all links appear unchanged.

The link-log Plugin changes all your links to external sites. For example http://www.google.com is changed to something like http://www.example.com/?goto=HUESQ2ifGipAlHg4OTUzfihAUgfz1La8. This represents the encrypted link. The encryption produces different results on different websites to prevent phishing attacks. 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.

Basic mode

The Plugin basically works out of the box without any configuration. After activating the plugin the link tracking starts immediately. It is recommended to change the IP Lock Setting and the Search Engines Setting as desired.

Custom mode

Advanced settings allow customization of how the Plugin works to adapt it to your needs. In most cases this it not necessary.

Menu items

The Plugin adds two menu items named link-log to your WordPress Admin. The first one is added to the Settings menu and is visible only for Administrators (resp. to users with the capabilitymanage_options to be exact). Here the settings can be changed. The second one is added to the Tools menu and is visible also for Editors (resp. to users with the capabilitypublish_pages to be exact). Here the Click Analysis is shown. Both the menu item title and the page title for the Click Analysis Page can be customized.

Trailing Slashes

For the browser it makes no difference if you add a slash at the end of a link or not. But for link-log this could result in duplicate entries if you would have multiple links to the same website – some with a slash at the end and some without. To avoid this the link-log Plugin removes all trailing slashes automatically.

Analysis

The Link Click Analysis can be found in Tools -> link-log (if the menu title is not changed). The result can be filtered by several periods. The corresponding reference period is also shown. The table can be sorted by any column.

free WordPress Plugin link-log by smartware.cc - Link Click Analysis Screenshot

 

Settings

The Plugins Settings can be found in Settings -> link-log. The settings are arranged in five sections.

General

free WordPress Plugin link-log by smartware.cc - General Settings Screenshot

Parameter Name to use in URL

The link-log Plugin changes all links to external sites like e.g. https://www.google.com is changed to http://www.example.com?goto=HUESQ2ifGipAlHg4OTUzfihAUgfz1La8. You can change the used Parameter Name goto to anything desired. Please ensure that this does not conflict with a Parameter Name used by another Plugin. If you are using a Caching Plugin you’ll have to clear the cache after changing this setting. To encrypt the target URL the link-log Plugin uses a very simple method. As key the NONCE_SALT constant is used to produce different strings on different sites.

IP Lock Setting

This settings controls the period in which multiple clicks on the same link from the same IP address should not be counted to avoid multiple clicks. To achieve the best performance on the one hand and to respect privacy on the other hand the link-log plugin does not use cookies to identify accessing devices. Only the IP address is used. Keep in mind that e.g. big companies with lots of computers may use only one single IP address for all of them and most private persons are using dynamic addresses which means the IP address changes. This must be remembered to find the right setting. Counting all clicks without IP locking is not recommended because this may falsify the results.

Exclude Search Engines and other Robots

It is highliy recommended to activate this feature so search engines following the external links on your site are not counted as clicks. Based on the detection list all common search engines and several bots are recognised.

Advanced

Free WordPress Plugin link-log by smartware.cc - Advanced Settings Screenshot

Add rel=”nofollow” to processed links

The attribute rel="nofollow" added to a link instructs search engines that the link should not influence the target’s site ranking. See nofollow attribute at Wikipedia for more information.

Automation

Free WordPress Plugin link-log by smartware.cc - Automation Settings Screenshot

Process links

This setting allows you to control which links should be processed. Possible settings:

  • Process all links fully automated
    This is the recommended setting to automatically process all links to external sites without any need for action
  • Only process links on specified posts or pages
    With this setting activated an option box is added to the Post and Page edit screen that allows you to choose if the links on that post or page should be processed
  • Never process links automatically
    Activate this setting to only use link-log inside your theme by using the functions get_linklog_url() and the_linklog_url()

Analysis Page

Free WordPress Plugin link-log by smartware.cc - Analysis Page Settings Screenshot

Title for Link Click Analysis page to show in menu

This setting allows you to customize the item title for the Analysis Page to be shown in the admin menu. The default setting is link-log. If sometime you want to restore the default just leave this textbox blank and save the settings.

Page Title for Link Click Analysis page

This setting allows you to customize the title to be shown on the Analysis Page. The default setting is link-log Link Click Analysis. If sometime you want to restore the default just leave this textbox blank and save the settings.

Link Descriptions

Free WordPress Plugin link-log by smartware.cc - Link Description Settings Screenshot

Edit Link Descriptions

This Section allows you to add a description for each link to be shown in the Analysis instead of the URL. A new link automatically appears in the list after it is clicked the first time.

Theme functions

For developers there are two functions to use in theme files.

get_linklog_url( $url )

This function gets the tracking URL for a given URL.

Example:
<?php $google = get_linklog_url( 'http://www.google.com' ); ?>

the_linklog_url( $url )

This function echoes the tracking URL for a given URL.

Example:
<a href="<?php the_linklog_url( 'http://www.google.com' ); ?>" target"=_blank">Google</a>

Uninstallation

The link-log Plugin comes with an uninstaller to clean up all data. So think carefully before you delete the plugin. Deleting the plugin will also delete all collected data. Deactivate the plugin to keep all data for a future use.

View related Plugin

Short URL to this page: http://p12.click/433kv