# Liquid Object: request
## Overview
Provides information about the current URL and associated page within Shopify theme templates.
## Properties
### design_mode
**Type:** boolean
Indicates whether the request originates from the theme editor. Returns `true` when accessed from within the editor, `false` otherwise.
Use this property to adjust theme behavior in the editor context, such as disabling analytics tracking. However, avoid using it to alter customer-facing functionality, as the editor preview should match the live store experience.
### host
**Type:** string
The domain hosting the request (e.g., `polinas-potent-potions.myshopify.com`).
### locale
**Type:** shop_locale
The locale associated with the current request.
### origin
**Type:** string
The protocol and host combined (e.g., `https://polinas-potent-potions.myshopify.com`).
**Usage:** Combine with relative URLs to create absolute URLs:
```liquid
{{ product.selected_variant.url | default: product.url | prepend: request.origin }}
```
### page_type
**Type:** string (enumerated values)
Identifies the requested page type. Possible values include: 404, article, blog, captcha, cart, collection, list-collections, customers/account, customers/activate_account, customers/addresses, customers/login, customers/order, customers/register, customers/reset_password, gift_card, index, metaobject, page, password, policy, product, and search.
### path
**Type:** string
The request path (e.g., `/`). Returns `nil` for non-existent pages.
### visual_preview_mode
**Type:** boolean
Indicates whether the request comes from the editor's visual section preview. Remove interfering scripts when `true`.
## Example
```json
{
"design_mode": false,
"host": "polinas-potent-potions.myshopify.com",
"locale": {},
"origin": "https://polinas-potent-potions.myshopify.com",
"page_type": "index",
"path": "/",
"visual_preview_mode": false
}
```