# Website analytics

See how visitors reach and use your company or project website. Website collection is separate from game telemetry. It does not need a game environment, create player identities or join form contact details to visits.

## Company and project scope

Company home shows your project titles, their environments, existing game activity coverage, company website status and company form totals. It works before you create a game. Open website setup from the Company website card to configure your company website in a dialog. Choose View full website analytics on that card to see its reports.

For a game's website, select its project and open Game website under Live data. The website belongs to that title across all its environments. Its domains, tracking key and reports stay separate from your company website and other games.

Owners, admins and members can read and configure websites. Shared-game access and the viewer role do not grant access to company or project website records. A project-restricted agent token can read only its allowed projects. With explicit write permission, its website tools can configure only those titles; company scope and studio-wide writes remain unavailable.

## Connect a website

1. For your company, open website setup from the Company website card on Company home. For a game, select its project, open Live data > Game website and choose Setup. Enter a website name.
2. Add each allowed origin, such as `https://studio.example`. Use exact origins without a path, query or wildcard.
3. Choose whether collection waits for your consent control, and whether to enable heatmaps.
4. Copy the installation snippet into your website. Use the generated public website key, separate from any game ingest key.
5. Check installation status after an accepted event arrives. A copied snippet alone does not count as a verified installation.

The website tracker supports client-side navigation and named custom events. Do not put personal information in event names or campaign tags. Browser Do Not Track and Global Privacy Control stop collection. Bots are excluded. Your studio remains responsible for deciding when visitor consent is required and providing the appropriate control and notice.

To record what happens on your own servers, such as an account created or a payment confirmed, create a server key in the website's setup and send [server events](https://ravensight.io/docs/server-events/) from your backend. They appear only in the website's Server events tab and its MCP tool, never in Events, goals, funnels or any other report, and they do not mark the website as installed. The server key is secret: keep it on your server, never in the snippet.

For a private signup or checkout flow, the SDK's outcome-only mode can explicitly report the registered events `signup_form_viewed`, `signup_failed` and `checkout_failed`. It observes no page, form values, account identity or attribution. Failures carry only approved reason categories and, for checkout, an optional monthly or annual plan. These are anonymous observations, not verified signups or purchases. They follow the same consent, privacy and one-event collection rules. Ordinary auth-page tracking remains excluded.

## Read reports

Overview shows visitors, pageviews, sessions and bounce rate. Pages adds entry and exit counts. Sources separates referring hosts and campaign tags, while Audience groups broad browser, device and country values. Realtime shows the last five minutes of accepted activity. Reports use normalized addresses, not full query strings or fragments.

Imported history may lack active time or other engagement measurements. When newer visits have measurements, the overview shows the available values as a measured portion and explains its coverage. Engagement and bounce rates use only sessions with complete engagement evidence. Missing history is never counted as zero; a range with no measurements stays unavailable.

Save a goal for a path or named event. Save a funnel with ordered steps and a completion window to see where sessions stop progressing. Campaigns adds aggregate outcomes and marketing timeline entries from the same permitted scope. There is no person-level attribution between website visitors, contacts and gameplay.

Explicit private-flow outcomes appear in Events and event goals or funnels. They do not create a homepage visit, a page-list row or a page session. Realtime event counts include them, while its page list shows observed addresses only. Deliberately absent pages are separate from missing imported history.

Events your own backend sends with the website's server key have their own Server events tab: each event name with its count, how many different actors sent it and when it was first and last seen, and for one event its daily counts and one property's 20 most frequent values, for up to 90 days. They never appear in Overview, Pages, Sources, Audience, Events, goals, funnels, retention, heatmaps or Realtime. See [where server events show](https://ravensight.io/docs/server-events/#server-events-reports).

Raw website reports support up to 90 days. Daily heatmaps use UTC; the other reports use the selected reporting time zone. Company home includes all authorized game environments, with an environment filter. Campaign summaries show coverage indicators when they include only a bounded selection of game environments.

## Read heatmaps safely

Heatmaps are off until you enable them. They record coarse percentage cells for clicks and ten scroll-depth buckets, grouped by page and small, medium or large viewport. They do not record a session, capture typed values, collect page text or take screenshots. Form fields and private regions are excluded.

Choose a recorded page and viewport to see click density and scroll depth without uploading an image. You may add a reference image to provide visual context. Remove private information before uploading it. The image is available only through authenticated website access; it is not an automatically captured visitor page. You can remove it independently of the aggregate heatmap.

## Usage and deletion

Each accepted pageview, custom event or server event uses one event from the existing shared included allowance and then available prepaid capacity. One combined heatmap summary uses one event. An engagement summary, the active time on a page sent when the page is hidden or left, also uses one event, at most six per page view. A typical visit therefore uses about two events: for example, 50,000 one-page visits in a day use about 100,000 events, which is 5 cents once the included allowance is used. When a page loads, the website tracker asks for a short-lived page token, and a page view is billed only when it carries a token held for at least a second, the same check a hosted form uses: a page view sent sooner, or with a token from another website, is counted as bot traffic instead. Trackers that do not send the token yet keep working as before. Automated visits from known bots and automation tools use no events: they are counted per day, with no visitor, page or address detail, and shown as Bot traffic on the Overview, apart from your visitor numbers. Stable event identifiers deduplicate uncertain retries. Invalid, blocked and rejected events do not use events.

When included allowance and available prepaid capacity are exhausted, new collection pauses before storage. The tracker clears its queue on a funding pause; it does not keep unfunded collection for later. Existing account-owner usage alerts identify affected website and form collection.

Raw events expire after 90 days. Daily aggregate heatmaps remain until the website is deleted. Deleting a website retires its collection identity and removes its analytics and reference images. Minimal usage and retired-identity records remain so retries cannot revive the deleted site. A new website receives a new collection identity.

## Agent setup and aggregate reports

The game analyst can read the current title's aggregate website and form results when the caller has the required permission. Its tools cannot switch to a different company or title. The [MCP server](https://ravensight.io/docs/mcp/#mcp-sites-forms) exposes scoped setup, installation, verification, goals and funnels with website write permission. `get_site`, `verify_site`, `get_site_report` and `get_server_events` need `site:read`; `get_server_events` reads the website's server events, which no other tool or report includes: names with counts, actors and first and last seen, and for one event its daily counts and a property's 20 most frequent values. Reports include events and permitted property breakdowns, engagement, retention, diagnostics, history coverage and aggregate CSV exports. Use `heatmap_pages` to discover recorded pages and viewports. These tools return configuration and aggregates, never raw visitor records, private reference images or contact entries. MCP calls use the existing programmatic event meter, funding requirement and token budget.

Source: https://ravensight.io/docs/websites/
Last updated: 2026-11-19
