MIRA FIVE

MIRA FIVE developer docs

Integrate MIRA FIVE analytics, feature flags and experiments with the script tag, JavaScript and PHP SDKs, the HTTP APIs and the MCP server.

These docs show how to send events to MIRA FIVE, read feature flags, and read your analytics from code. Start with the Quickstart to see your first event in about five minutes.

Send events

Pick the package for your stack. Each page takes you from install to a verified first event.

Learn the concepts once

The guides explain each task for every SDK: what to send, what the rules are, and what MIRA FIVE does with it.

  • Track events: pageviews, custom events, properties and revenue.
  • Identify users: user ids, anonymous ids and linking browser to server.
  • Consent: consentless mode without a banner, and full mode behind a consent manager.
  • Feature flags and Experiments: variants, remote config and exposures.
  • Server-side events: batching, flushing in serverless functions, retries and idempotency.

Use the APIs

  • Ingest API: send events and read flags over HTTP from any language.
  • REST API: read projects, people, events, goals, funnels and channels with an API key.
  • MCP server: let Claude, ChatGPT or Cursor answer questions from your analytics.

Hosts

HostUsed for
https://events.mirafive.ioSending events and reading feature flags
https://cdn.mirafive.io/mira.jsThe hosted script
https://app.mirafive.ioThe dashboard: sources, keys, flags and the live view

Every page is also available as Markdown for AI agents. Append .md to the URL, or see Use with AI agents.

On this page