Page

Explore what information is available for pages.

This type represents a specific webpage visited by a user, such as a product page, a blog post, or a landing page.

Properties

These are the available properties:

title(optional)

The title of the webpage. For example, "Croct Docs".

url(optional)

The URL of the webpage.

path(optional)

The path component of the webpage URL.

This property is a shortcut for the URL path.

query

The query string component of the webpage URL.

This property is a shortcut for the URL query.

anchor(optional)

The fragment component of the webpage URL.

This property is a shortcut for the URL anchor.

referrer(optional)

The URL of the webpage that linked to the current page, if any.

This property is a shortcut for the URL referrer.