Request

Information about the request.


country

Returns the current country.

device

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

host

Returns the current host.

locale

Returns the current locale.

location

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

page_type

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

path

Returns the current request path.

protocol

Returns the protocol of the request.

uri

Returns the full URL for the current page.