> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.mythos.new/publishing/analytics/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mythos.new/_mcp/server. # Project analytics > Understand visits, page views, traffic sources, devices, and countries for a published Mythos project. Project Analytics helps you understand how people use a site after it is published. Open the project workspace and select **More → Analytics**. Analytics can collect visits when the project is live, **Visitor analytics** is enabled, and the visitor has chosen **Allow analytics** on that hostname. The project setting is enabled by default, but no analytics event or session cookie is created before the visitor's choice. Preview visits are not counted, and an unpublished project does not collect new traffic. > **Note** > > Analytics uses pseudonymous browser sessions for consented traffic totals. It does not > identify visitors or create a persistent profile that follows someone across > separate visits. ## View your traffic #### Publish the project Analytics needs a live site. If the project is not published, the Analytics page shows a **Publish** action instead of traffic. #### Open Analytics Select **More → Analytics**. Traffic from the project's `*.r21.dev` address and connected custom domains appears in the same dashboard. #### Choose a period Use the period picker to view today, yesterday, the last 24 hours, 7, 14, 30, or 90 days, or the current month. #### Select a metric Choose a summary metric to update the trend chart, then review the source, page, device, and country breakdowns below it. ## Metrics | Metric | What it tells you | | ---------------- | -------------------------------------------------------------------- | | Visitors | Consented browser visits recorded during the selected period. | | Page views | The total number of tracked pages opened. | | Views per visit | The average number of pages opened during one visit. | | Visit duration | The average time between the first and last tracked page in a visit. | | Bounce rate | The share of visits that opened only one page. | | Current visitors | Visits with activity during the last five minutes. | A one-page visit has a recorded duration of zero because there is no second page view to measure against. ## Breakdowns * **Source** shows where a visit began. Visits with no usable external referrer appear as **Direct**. * **Page** shows which paths visitors opened. * **Device** groups visits into Desktop, Mobile, or Tablet. * **Country** shows a coarse country result when one is available, otherwise **Unknown**. These totals describe recorded browser traffic, not every request to the site. Tracking protection, rejected or undecided consent, disabled JavaScript, network failures, and automated-traffic filtering can make Analytics totals lower than server request counts. ## Turn Visitor analytics off or on #### Open Publishing settings Go to **More → Project settings → Publishing**. #### Change Visitor analytics Turn **Visitor analytics** off to stop collecting new visits, or turn it on to allow consented collection for a live project. You do not need to rebuild or republish. When analytics is disabled, **More → Analytics** shows an **Enable Analytics** action. Turning it back on collects new traffic from that point forward; it does not recreate visits from the disabled period. Existing history remains available until it reaches the 90-day retention period or the project is deleted. Unpublishing also stops new collection. ## Visitor choices A live analytics-enabled site offers **Allow analytics** and **Reject analytics** before collection. The choice is remembered on that hostname for up to 180 days. Visitors can reopen **Cookie preferences** and change it at any time. Rejection or withdrawal stops new events and clears the 30-minute session cookie. Clearing or expiring the preference returns collection to the undecided state. The preference applies to Mythos's built-in analytics only. As the site owner, you remain responsible for your application notice and any additional tracking or third-party code you add. See the [Privacy Policy](/legal/privacy), [Cookie Policy](/legal/cookies) and [Data Processing Agreement](/legal/data-processing-agreement). ## Related * [Publish your site](/publishing/publish) — make the project live so traffic can be recorded. * [Custom domains](/publishing/custom-domains) — include traffic from an address you own. * [SEO & AI search](/publishing/seo) — improve how crawlers understand the public site. > Learn how to turn an idea into a working app, improve it in Mythos, and publish it when it is ready.