Eloqua Asynchronous Visitor Tracking

Component ID

2790231

Component name

Eloqua Asynchronous Visitor Tracking

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

525

Component created

Component changed

Component body

Integration module for Eloqua Asynchronous Visitor Tracking script. This module allow you to track visits to your website seamlessly without affecting the page load time for your visitors.

The module add the Eloqua tracking scripts to all pages on the site. It also provide an helper function in PHP to push items in the _elqQ JavaScript object (eloqua_tracking_push()).

Configuration and usage

Basic Page View Tracking

$conf['eloqua_tracking_sites'] = array('site ID');

Basic Page View Tracking with First-Party Cookies

$conf['eloqua_tracking_sites'] = array('tracking.mysite.com' => 'site ID');

Tracking to Multiple Eloqua Instances

$conf['eloqua_tracking_sites'] = array('123', '456');

Tracking Custom URLs/Referrers

Implements hook_alter_eloqua_tracking_url(&$url, &$referer, $site) in a custom module or theme.

Outbound Link Tracking

Not supported, please submit patch.

Reposting Externally Hosted Forms

It is the form responsibility to include the require hidden inputs (elqFormName, elqSiteId, elqCustomerGUID and elqCookieWrite). The module's JavaScript will insert the customer GUID in any elqCustomerGUID form input.

Data Lookups

Data Lookups are provided as an optional library, see below.

Strict Mode Tracking

Not supported, please submit patch.

Opting-In/Out

Not supported, please submit patch.

Web Data Lookups

An optional JavaScript library is provided to help with Web Data Lookup. When used, JavaScript generated by the Eloqua application can not be used in the page. Mixing both will cause serious breakage and unwanted results.

To use the library, it must be added as dependency of your own library defined with hook_library(), or inserted in the page with drupal_add_library('eloqua_tracking', 'datalookup') or
$element['#attached']['library'][] = array('eloqua_tracking', 'datalookup').

For usage, see the documentation of the Drupal.Eloqua.DataLookup constructor and the Drupal.Eloqua.dataLookup function.

Floe design + technologies may be contacted for paid customizations, improvement or Drupal 8 port of this module, or for the development of a similar module.