Drupal is a registered trademark of Dries Buytaert

This module checks GET and HTTP Request parameters (like utm_source, utm_medium, HTTP_REFERER) from anonymous visitors, and saves those in a cookie for further processing.

When the visitor is going further on your website and is taking some actions like doing a purchase this information can be used for analytics. It makes initial paramaters persisistent for a session.

FEATURES

  • Can read GET and HTTP Request parameters, and store them into cookie
  • Cookie lifetime is configurable (current session, custom, forever)
  • Respects browser DNT Setting (Do-Not-Track) (configurable)
  • Other modules can easily read cookie data using integrated cookie_manager service

Version 2.x

  • Supports multiple storage methods: Session, Private Temp Storage, Session, None (disabled)
  • Better integrates Registration tracking submodule to log the (UTM / Referrer / Form) source of registered users.

HOW TO USE

  • Configure module here: `admin/config/persistent-visitor-parameters`
  • Read already saved cookies using \Drupal::service('persistent_visitor_parameters.cookie_manager')->getCookie() inside your module, and process this data further as you need it

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Release cadence
2 days
Stability
100% stable

Releases

Version Type Release date
1.0.1 Stable Dec 11, 2024
1.0.0 Stable Dec 9, 2024