> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# page:ready embed event

> Emitted by Omni when an embedded page starts to listen for events from the parent frame.

Omni emits this event one time for each page load, as soon as the embedded page can receive events from the parent frame. Wait for this event before you [send events to Omni](/embed/events/send). Omni can't receive an event that you send before `page:ready`.

This event tells you that the page can receive events. It doesn't tell you that the page has finished loading.

Omni keeps the events that you send between `page:ready` and the end of the page load. When the page finishes loading, Omni handles these events in the order that you sent them.

<Note>
  Add your event listener before the iframe starts to load. If the listener is added later, your application can miss the `page:ready` event.
</Note>

## Behavior

* **Dashboard filters** - Omni keeps a [`dashboard:filter-change-by-url-parameter`](/embed/events/dashboard-filter-change-by-url-parameter) event until the dashboard on the page is ready. Omni discards the event if the page isn't a dashboard, or if the page changes before the dashboard is ready.
* **Fullscreen** - Omni doesn't keep [`fullscreen:set`](/embed/events/fullscreen-set) events that you send while the page loads.
* **Embed login page** - Omni doesn't emit `page:ready` from the embed login page. Omni emits the event from the content page that loads after login.

## Payload

```json theme={null}
{
  "href": "string",
  "pathname": "string"
}
```

## Properties

<ParamField path="href" type="string">
  The fully qualified URL of the page that emitted the event, e.g., `https://blobsrus.embed-omniapp.co/dashboards/123abc?f--users.state=California`.
</ParamField>

<ParamField path="pathname" type="string">
  The path of the URL (e.g., `/dashboards/123abc`).
</ParamField>

## Example

```json wrap theme={null}
{
  "href": "https://blobsrus.embed-omniapp.co/dashboards/123abc?f--users.state=California",
  "pathname": "/dashboards/123abc"
}
```

## Next steps

* To apply filters each time a dashboard loads, use the [`dashboard:ready`](/embed/events/dashboard-ready) event
* See the [events that you can send to Omni](/embed/events/send)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.