This module makes HTTP Referrer tokens available for the current page
Requirements
Token module 7.x
Installation
- Unpack the module folder into your modules directory
- Go to /admin/modules
- Enable the module
Configuration
None - enabling it is enough.
Usage
After enabling the module, the following two tokens are made available:
- [server:HTTP_REFERER]
- [server:HTTP_USER_AGENT]
For use in a hidden field using the Webform module, select the hidden type to be
"Hidden Element" rather than "Secure value" to see the correct result submitted.
Credits
Based on code from helmo in the following Token module issue:
https://www.drupal.org/project/token/issues/2021969
Module created by James Forbes Keir
Sponsored by Opencentric Ltd.
Supporting organizations:
Sponsorship
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Automation, Developer tools
- Ecosystem: Token, Webform
6 sites report using this module
- Created by jamesfk on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

