The Reference session agent can parse the HTTP_REFERER
value in the REQ buffer into a more accessible set of name-value pairs.
Consider the following example name-value pair:
HTTP_REFERER=[http://www.yourdomain.com/parent/first_child/second_child/
page.html?id=1234&req=25&page_id=2]
The [referrer]
section in the REQ buffer looks like this:
[referrer]
REFERRER_DOMAIN=yourdomain.com
REFERRER_FILEPATH=/parent/first_child/second_child/page.html
req=25
page_id=2
id=1234
This configuration allows Tealeaf to generate events on and collect data for values within certain referring URLs of your choosing.
- First Hit: The referrer parsed from the first hit of a session is used as input for the session attribute that tracks referrer values. This value is the referrer for the session.
- Each Hit: The Reference session agent also detects the referrer value for each hit in the session.
To enable referrer parsing in the Reference session agent, set ReferrerParsing=True
in the session agent configuration through TMS.
If ReferrerParsing is not enabled, the pattern Referrer Domain
provided by Tealeaf does not capture any data.