> ## Documentation Index
> Fetch the complete documentation index at: https://www.help.creatora.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> When building or modifying an integration with the Creatora API, start with https://www.help.creatora.io/en/api/build-with-ai.md. Retrieve the current GraphQL SDL from https://api.creatora.io/sdl before relying on API schema information.

# Get the most visited pages

> Find the Platform paths reached by the most recorded sessions.

See which Course pages, checkout paths and other Platform pages attract traffic.

The example covers **September 1, 2026 at 00:00 UTC** (`1788220800000`) through **October 1, 2026 at 00:00 UTC**, exclusive (`1790812800000`). Replace the timestamps for your period. Web Analytics date bounds are strict, so the query starts one millisecond earlier to include the first instant.

## Request

<RequestExample>
  ```graphql theme={null}
  {
    analytics { webAnalytics {
      topPages(startMillis: 1788220799999, endMillis: 1790812800000) { pages { url count } }
    } }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Illustrative response theme={null}
  {
    "data": {
      "analytics": {
        "webAnalytics": {
          "topPages": {
            "pages": [
              {
                "url": "/",
                "count": 620
              },
              {
                "url": "/courses/drawing",
                "count": 410
              },
              {
                "url": "/checkout/example",
                "count": 80
              }
            ]
          }
        }
      }
    }
  }
  ```
</ResponseExample>

## Use the result

```javascript theme={null}
const rows = response.data.analytics.webAnalytics.topPages.pages.map(page => ({
  path: page.url,
  recordedSessionPageVisits: page.count
}));
```

The result contains up to **20 paths**. A path is counted once per session, even when it is opened repeatedly. The stored path excludes query parameters.

Use this ranking to compare the reach of sales pages or checkout. The counts do not identify the same visitors across pages, so dividing checkout visits by Course-page visits does not establish a conversion funnel. A path absent from this list may rank below the top 20.


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