-
Notifications
You must be signed in to change notification settings - Fork 8
User Variables
Callum Newman edited this page Sep 26, 2024
·
3 revisions
This section defines variables related to the user’s browser or device, focusing on the userAgent
variable, which captures information about the user's device and browser.
Description: This variable captures the HTTP_USER_AGENT
from the server variables, which provides details about the user's browser and operating system. It is useful for determining compatibility or tailoring the experience based on the user's device.
<xsl:variable name="userAgent" select="/Page/Request/ServerVariables/Item[@name='HTTP_USER_AGENT']"/>