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
Supporting organizations:
Concept and initial development
proudly helps to maintain this module for the Drupal community and developed the 2.x branch
| Attachment | Size |
|---|---|
| image-20201218-182339.png | 65.89 KB |
Project information
- Project categories: Integrations
16 sites report using this module
- Created by criz on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
2.0.0-alpha8
released 29 December 2024
Works with Drupal: ^10.3 || ^11
Install:
Development version: 2.x-dev updated 21 Dec 2024 at 14:21 UTC




