Skip to Content

Request

Information about the request.

device

Returns information about user device. Please note that the data is based on the user agent string which is modifiable by the user.

location

Returns information about user location. Location is a guess based on the user ip address. Returns null if the location cannot be determined.

host

Returns the current host.

locale

Returns the current locale.

country

Returns the current country.

path

Returns the current request path.

page_type

Returns the page type, i.e. product or frontpage.

uri

Returns the full URL for the current page.

protocol

Returns the protocol of the request.