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

# Page

> Event payload details and trigger documentation for Page data from Customer Io

<img src="https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/customer_io.svg?fit=max&auto=format&n=EU2WCxuXGIUQcziR&q=85&s=c910616b507232ba0448734924a291f5" alt="images/customer_io.svg" width="40" height="40" data-path="images/customer_io.svg" />

# Events

## Triggering Webhook Types

The following event types are associated with the Page event payload from Customer Io.

* `Customer Io Page`

<RequestExample>
  ```json Example theme={null}
  {
    "anonymous_id": "569a0e86-0484-4a84-afa8-cc55b76fe5c4",
    "locale": "en-US",
    "message_id": "07cf5c9f-fbb0-4877-bfad-e158d86978ee",
    "name": "Product Details Page",
    "path": "/products/123",
    "properties": {
      "any": "value",
      "you": "can have"
    },
    "referrer": "https://google.com",
    "search": "?q=search+term",
    "timestamp": "2024-03-20T15:30:00Z",
    "title": "Product Details",
    "url": "https://example.com/products/123",
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
    "user_id": "569a0e86-0484-4a84-afa8-cc55b76fe5c4"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "anonymous_id": "Anonymous identifier for the user",
    "locale": "Locale of the page view",
    "message_id": "Unique identifier for this message",
    "name": "Name of the page",
    "path": "Path portion of the URL",
    "properties": "Page event properties, free-form dictionary of properties of the event",
    "referrer": "URL of the previous page",
    "search": "Query string portion of the URL",
    "timestamp": "When this page view occurred",
    "title": "Page title",
    "url": "Full URL of the page",
    "user_agent": "User agent string from the client",
    "user_id": "Identifier for the page view (same as anonymous_id for Page events)"
  }
  ```
</ResponseExample>

### Payload Field Details

<ResponseField name="Page" type="Event Payload">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="user_id" type="string" required>
      Identifier for the page view (same as anonymous\_id for Page events)

      ```json CEL theme={null}
      user_id
      ```

      ```json Example theme={null}
      "569a0e86-0484-4a84-afa8-cc55b76fe5c4"
      ```
    </ResponseField>

    <ResponseField name="path" type="string" required>
      Path portion of the URL

      ```json CEL theme={null}
      path
      ```

      ```json Example theme={null}
      "/products/123"
      ```
    </ResponseField>

    <ResponseField name="referrer" type="string" required>
      URL of the previous page

      ```json CEL theme={null}
      referrer
      ```

      ```json Example theme={null}
      "https://google.com"
      ```
    </ResponseField>

    <ResponseField name="search" type="string" required>
      Query string portion of the URL

      ```json CEL theme={null}
      search
      ```

      ```json Example theme={null}
      "?q=search+term"
      ```
    </ResponseField>

    <ResponseField name="title" type="string" required>
      Page title

      ```json CEL theme={null}
      title
      ```

      ```json Example theme={null}
      "Product Details"
      ```
    </ResponseField>

    <ResponseField name="url" type="string" required>
      Full URL of the page

      ```json CEL theme={null}
      url
      ```

      ```json Example theme={null}
      "https://example.com/products/123"
      ```
    </ResponseField>

    <ResponseField name="user_agent" type="string" required>
      User agent string from the client

      ```json CEL theme={null}
      user_agent
      ```

      ```json Example theme={null}
      "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
      ```
    </ResponseField>

    <ResponseField name="locale" type="string" required>
      Locale of the page view

      ```json CEL theme={null}
      locale
      ```

      ```json Example theme={null}
      "en-US"
      ```
    </ResponseField>

    <ResponseField name="timestamp" type="timing.v1.Timestamp" required>
      When this page view occurred

      ```json CEL theme={null}
      timestamp
      ```

      ```json Example theme={null}
      "2024-03-20T15:30:00Z"
      ```
    </ResponseField>

    <ResponseField name="message_id" type="string" required>
      Unique identifier for this message

      ```json CEL theme={null}
      message_id
      ```

      ```json Example theme={null}
      "07cf5c9f-fbb0-4877-bfad-e158d86978ee"
      ```
    </ResponseField>

    <ResponseField name="properties" type="object" required>
      Page event properties, free-form dictionary of properties of the event

      ```json CEL theme={null}
      properties
      ```

      ```json Example theme={null}
      {
      "any": "value",
      "you": "can have"
      }
      ```
    </ResponseField>

    <ResponseField name="anonymous_id" type="string" required>
      Anonymous identifier for the user

      ```json CEL theme={null}
      anonymous_id
      ```

      ```json Example theme={null}
      "569a0e86-0484-4a84-afa8-cc55b76fe5c4"
      ```
    </ResponseField>

    <ResponseField name="name" type="string" required>
      Name of the page

      ```json CEL theme={null}
      name
      ```

      ```json Example theme={null}
      "Product Details Page"
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
