Link Click Count module allows users to find the number of clicks happened on the particular link.

Drupal 8

Installation

  1. Link Click Count module depends on Link module, Views module.
  2. Copy the whole Link click count directory to your modules directory (e.g. DRUPAL_ROOT/modules) and enable the Link Click Count module at [admin/modules]

Configuration

  1. Visit any link fields manage display field section, and select the field formatter as "Counts the click happened on this link.", then Save.

Getting statistics
You can view statistics on tracked links using the views module. By default, the link click count module creates a view for you to use named Link Click Count Stats, which can be displayed at this link http://www.yourdomain.com/link-click-count-stats

Drupal 7

Installation

  1. Link Click Count module depends on Link module, Views module and Views Distinct module.
  2. Copy the whole Link click count directory to your modules directory (e.g. DRUPAL_ROOT/sites/all/modules) and enable the Link Click Count module at [admin/modules#edit-modules-fields]

Configuration

  1. Visit manage field page on any of your content type. [admin/structure/types/manage/(content-type)/fields/].
  2. Edit the field which have field type as "link". [admin/structure/types/manage/(content-type)/fields/(any-link-field)].
  3. Under "Link Clicks Count Configuration" section - select "Save the clicks happened on this link."
  4. Visit that Manage Display page. [admin/structure/types/manage/(content-type)/fields/(any-link-field)/display]
  5. Goto to the appropiate field, for which you have saved the configuration, Then select the field formatter settings to "Counts the click happened on this link."

Getting statistics
You can view statistics on tracked links using the views module. By default, the link click count module creates a view for you to use named Link Click Count Stats, which can be displayed at this link http://www.yourdomain.com/link-click-count-stats