The following HTTP headers are available to you in requests in owntag Server Side GTM containers:
| Header | Description | Additional Information |
|---|---|---|
| x-owntag-userip | The complete IP address of the user, which can be either IPv4 or IPv6. | |
| x-owntag-usercountry | The ISO 3166-1 alpha-2 country code, determined by the owntag geolocation | owntag Geolocation |
| x-owntag-host | The hostname to which the request was originally sent. Useful if your SGTM container is accessible under multiple hostnames. | |
| x-request-id | A random, unique ID of the incoming request in UUIDv4 Format | |
| x-owntag-browser-fingerprint | A browser fingerprint as an alternative to cookie-based client IDs | owntag Browser Fingerprint |
| x-owntag-is-bot | Indicates whether the request is from a bot. true if it is a bot, false otherwise. | owntag Bot Detection |
| x-owntag-device-mobile | "true" if the device is a mobile phone, "false" otherwise (tablets are "false") | owntag User Agent Info |
| x-owntag-device-os | Operating system name (e.g. “Windows”, “macOS”, “Android”, “iOS”) | owntag User Agent Info |
| x-owntag-device-browser | Browser name (e.g. “Chrome”, “Safari”, “Firefox”) | owntag User Agent Info |
| x-owntag-device-browser-version | Full browser version string (e.g. “120.0.6099.109”) | owntag User Agent Info |
| x-owntag-device-engine | Rendering engine (e.g. “Blink”, “WebKit”, “Gecko”) | owntag User Agent Info |
| x-owntag-device-engine-version | Rendering engine version | owntag User Agent Info |
| x-owntag-device-platform | Platform type (e.g. “desktop”, “mobile”, “tablet”) | owntag User Agent Info |
Accessing the HTTP Headers in Server Side GTM
To utilize the information transmitted in the headers, you can create corresponding “Request Header” type variables in Server Side GTM:
Then, you enter the name of the header as the variable name, such as x-owntag-userip here: