{% macro header(tag, title) -%} <{{ tag }} id="{{ title | lower | replace(' ', '-') }}"> {{ title }} {% endmacro %} Page Variables
{{ header('h2', 'Client Variables') }}
VariableValue
client.address{{ client.address }}
{% if client.message_id is defined -%} {{ header('h3', 'Client Session Variables') }}
VariableValue
client.company_name{{ client.company_name }}
client.email_address{{ client.email_address }}
client.first_name{{ client.first_name }}
client.last_name{{ client.last_name }}
client.is_trained{{ client.is_trained }}
client.message_id{{ client.message_id }}
client.credential_count{{ client.credential_count }}
client.visit_count{{ client.visit_count }}
client.visit_id{{ client.visit_id }}
{% endif %} {% if client.campaign is defined -%} {{ header('h3', 'Client Session Campaign Variables') }} {% for key, value in client.campaign.items() -%} {% endfor -%}
VariableValue
client.campaign.{{ key }}{{ value }}
{% endif %} {% if client.company is defined -%} {{ header('h3', 'Client Session Company Variables') }} {% for key, value in client.company.items() -%} {% endfor -%}
VariableValue
client.company.{{ key }}{{ value }}
{% endif %} {{ header('h2', 'Request Variables') }}
VariableValue
request.command{{ request.command }}
request.cookies
    {% for key, value in request.cookies.items() -%}
  • {{ key }} = {{ value }}
  • {% endfor -%}
request.headers
    {% for key, value in request.headers.items() -%}
  • {{ key }} = {{ value }}
  • {% endfor -%}
request.parameters
    {% for key, value in request.parameters.items() -%}
  • {{ key }} = {{ value }}
  • {% endfor -%}
{% if request.credentials is defined -%} {{ header('h3', 'Request Credentials Variables') }} {% for key, value in request.credentials.items() -%} {% endfor -%}
VariableValue
request.credentials.{{ key }}{{ value }}
{% endif %} {% if request.user_agent -%} {{ header('h3', 'Request User Agent Information') }} {% set ua_info = parse_user_agent(request.user_agent) %}

Parse the request's User Agent to obtain details.

set ua_info = parse_user_agent(request.user_agent)
VariableValue
request.user_agent{{ request.user_agent }}
ua_info.os_name{{ ua_info.os_name }}
ua_info.os_version{{ ua_info.os_version }}
ua_info.os_arch{{ ua_info.os_arch }}
{% endif %} {{ header('h2', 'Server Variables') }}
VariableValue
server.address{{ server.address }}
server.hostname{{ server.hostname }}
{{ header('h2', 'Time Variables') }}
VariableValue
time.local{{ time.local }}
time.utc{{ time.utc }}
{{ header('h3', 'Time Filters') }}
VariableValue
yesterday{{ time.local | yesterday }}
tomorrow{{ time.local | tomorrow }}
strftime{{ time.local | strftime('%A, %d %B %Y %I:%M%p') }}
{{ header('h2', 'Miscellaneous Variables') }}
VariableValue
version{{ version }}