Set up in one line.
Add one script tag to your site, or give a ready prompt to your coding agent. Then ask in plain words which visits, ads and channels bring sales.
Script tag
<script async src="https://cdn.mirafive.io/s.js" data-key="pk_live_…" crossorigin="anonymous"></script>
Prompt for your coding agent
Add the MIRA FIVE analytics script to my website acme.example. Add the tag to the <head> of every page, ideally once in the shared layout or template: <script async src="https://cdn.mirafive.io/s.js" data-key="pk_live_…" crossorigin="anonymous"></script> Rules: - Use the values exactly as given; do not change data-key. - Load it once on every page, not inside a component that renders more than once. - Without the visitor's consent it stores nothing on the device; do not add cookies or storage for it. - If the site sends a Content-Security-Policy, allow script-src https://cdn.mirafive.io and connect-src https://collect.mirafive.io. When it is deployed, open https://acme.example once in a browser so Mira can confirm the first visit.
The example shows acme.example and a key that starts with pk_live_. The app writes both for your site.
Which stack do you use?
Each page has the exact prompt that the app gives for that stack, and where the line goes.
Code
Site builders
AI app builders
What does the script do on my site?
- Size
- The script is under 3 KB.
- Loading
- It loads with async, so it never holds up your page.
- Cookies
- It sets no cookie. It stores nothing on the visitor's device without statistics consent.
- IP address
- The IP address is never stored.
- Security policy
- If the site sends a Content-Security-Policy, allow script-src https://cdn.mirafive.io and connect-src https://collect.mirafive.io.
What a setup collects, and why, decides whether it is lawful. A tool does not decide it.
Start with one line.
Create your account, then add the line.