This modules integrates web tracking solution from etracker:

etracker is a leading provider of solutions and services for web analysis and optimisation of online marketing campaigns. etracker solutions are designed to meet the needs of your online business model and are 100% compliant with data privacy requirements.

Versions

7.x-2.x

This branch is not active maintained. Update come from time to time from the community.

8.x-3.x

This branch is actively maintained and supports D9 too.

Dependencies

An etracker account, which comes for a fee, is required.

Features

This modules comes with a comprehensive list of features and is yet easy to use.

  • Support for etracker API version 5.0
  • No-script fallback implemented with limited functionality
  • Configurable scope of tracking code, header or footer
  • Enhanced customization
    • Alter default parameters with hooks
    • Alter tracking parameters with hooks
    • Modify or enhance tracking with rules
    • Tracking code themeable
  • Tracking parts
    • Pagename, optionally with appended language code on multi-lingual sites
    • URL of the current page if clean URLs are turned off or if the current URL has query parameters. In all other cases etracker recognizes the URL automatically
    • Areas
      • Taxonomy: Supports taxonomy_term_reference fields for entities and outputs all terms and their hierarchy as an area - triggered for each entity view
      • Breadcrumb: Outputs the breadcrumb of the current page as a hierarchical area, either including (default) or excluding the page root
    • Targets: Set tracking target with rules, the history of targets gets stored in cookies and can be appended to or reset if a "final" target got reached
    • Segments: user roles and current language supported as segments - note: segments are only available in some of the etracker packages and have to be pre-defined in the etracker account for them to be tracked properly
  • Alter pagename, target and interest level on entity edit forms if the etracker field is attached to the entity type
  • Multi-lingual site support: include current language code as tag, as prefix or suffix for areas or as a suffix to the page name
  • Privacy:
    • DND: do not track visitors with this browser setting - can be turned off
    • Allow registered users to opt-in or out of tracking
  • Track click event:
    • Clicks on mailto-links
    • Clicks on external links
    • Clicks on download links with configurable extensions (using regular expression)
  • Track system messages (optionally), this helps to identify usability issues on your site
  • Track site internal search
  • Tracking specific sites only
  • Tracking users with specific roles only

Customization

This module simply works after installing and enabling it and by providing your etracker account key in the settings. The default settings have been carefully designed to meet the needs of the majority of web site owners.

However, as people have very different requirements and expectations this module was designed from day one to be customizable. It offers many ways like it is usual with Drupal.

Settings

Go to admin/config/system/etracker where you can find all options that can be modified through the UI. For each of the available options there is inline documentation just next to the field and should you wonder about the meaning of them, please file a support request in the issue queue (https://www.drupal.org/project/issues/etracker).

Hooks

Not only the extension modules listed above but maybe even other contrib or custom modules may want to influence the tracking code of etracker for all or some pages or circumstances. That's why this etracker module comes with an API and as usual, the available hooks are documented in etracker.api.php which is part of the package that you can download and install.

Tracking code theming

When all the settings are parameters for each page request have been processed, before the tracking code gets delivered to the browser it has to be put together. This modules uses Drupal's theming layer to get this done which allows the site administrator or other developers to hook into this theme layer by the well known Drupal functions to alter the final output of that code.

Getting started

To install this module just follow instructions that apply to all contrib modules for Drupal 7. Detailed documentation is available her: https://www.drupal.org/documentation/install/modules-themes/modules-7

Once installed, goto admin/config/system/etracker and provide your "Account Key 1" in the section "Tracking code". Save your changes and all should be working just fine.

Only for special requirements get back to admin/config/system/etracker and adjust the settings there or use the customization tools described in the previous section.

Contact and Support

More details about etracker can be found on their website: http://www.etracker.com

We love to hear back from you, either with feature request, support requests or bug reports or even patches. The etracker issue queue at https://www.drupal.org/project/issues/etracker is the best place for all this kind of feedback.

Supporting organizations: 
Sponsoring development and maintenance.
Sponsoring development and maintenance.

Project information

Releases