WixRouterRequest
An object representing an incoming page request received by a router. Learn more.
Additional information about this section
Store values associated with an object
- baseUrl
Returns the base URL of the router request.
- env
Returns the current environment the router rendering process is running in.
- formFactor
Returns the form factor of the device used to make the router request.
- ip
Returns the remote IP address of the router request.
- pages
Returns the names of the pages associated with this router.
- path
Returns the path of the router request URL.
- prefix
Returns the router prefix of the router request URL.
- protocol
Returns the protocol of the router request URL.
- query
Returns the query fields and values of the request URL.
- referrer
Returns the referrer header from the router request.
- url
Returns the full URL of the router request.
- user
Returns the details of the current site user who is logged in.
- userAgent
Returns the user-agent header as sent from the device used to make the router request.