webform_tracking adds tracking information to your webform-submissions. In general the data is accumulated over a user's visit to your site. The data can be accessed via the webform results table / download.

Data being tracked

  • Internal & external referer.
  • The form-URL
  • IP-address
  • country (based on GeoIP - if the PHP geoip module is available)

Several URL parameters:

  • utm_source, source, s
  • utm_medium, medium, m
  • utm_content, version, v
  • utm_term, term, t
  • utm_campaign, campaign, c
  • other, o
  • refsid

Do Not Track (DNT)

By default this module does respect DNT. If you want the tracking-data to gathered regardless of the DNT-header you can override this behaviour using a configuration variable:

variable_set('webform_tracking_respect_dnt', FALSE);

Dependencies

  • webform (obviously).
  • psr0 a tiny module for autoloading classes.

Installation / configuration

Install and enjoy!

Supporting organizations: 
developed and published this module.

Project information

Releases