# Asuito: full text > Know where your site stands. The guides, product pages, free tools and integrations of https://asuito.com in one file. > The short brief is at https://asuito.com/llms.txt. Plans and prices are at https://asuito.com/pricing and are not repeated here. ## Product pages - [How Asuito works](https://asuito.com/how-it-works): One script, four sources, and a schedule. What gets read, how often, and where the numbers come from. - [What people use it for](https://asuito.com/use-cases): Migrating off GA4, proving traffic to a sponsor, catching a ranking drop, and finding out whether the assistants recommend you. - [Your analytics, readable by an agent](https://asuito.com/ai-agents): An MCP server and a REST API, so Claude, Cursor or ChatGPT can answer questions about your traffic directly. - [Pricing](https://asuito.com/pricing): current plans, allowances and prices. - [Questions people actually ask](https://asuito.com/faq): Cookie banners, GA4 discrepancies, what the AI visibility feature costs, and what happens if you cancel. - [Live demo](https://asuito.com/demo): the real dashboard with sample data, no sign-in. ## What people use it for ### Moving off Google Analytics You suspect GA4 is under-counting, and you cannot prove it. Run both for a fortnight. The GA4 tab puts the two series on one axis and states the ratio, so you can see the gap rather than argue about it. Content blockers strip a third-party tag and do not strip a first-party one — that is usually the whole difference. Where it lives: Monitoring → GA4, Visitors. ### Proving an audience A sponsor, investor or customer wants numbers, and you do not want to hand them a login. Publish a dashboard at a public URL, or drop a live visitor badge into a README. The badge is an image, so it works anywhere an goes — a forum signature, an HTML email — and needs no key. Where it lives: Settings → Public page, Badge. ### Watching your rankings A page slips four places and you find out a month later from a traffic dip. Search Console pulled daily, positions checked against the rivals who actually outrank you, and an alert the day it moves — as a Slack message or a Linear issue. An issue survives; a Slack message scrolls away. Where it lives: Keywords, Competitors, Alerts. ### Being found by AI Buyers ask ChatGPT for a recommendation and you have no idea whether you come up. The five assistants are asked the questions your buyers ask, and the answers are recorded with who was cited — you, or somebody else. You also get a share of voice against named rivals, and the exact cost per assistant. Where it lives: AI visibility. ### Publishing content You publish, and never learn whether it was indexed or whether it quietly died. Indexing shows whether Google actually indexed a page rather than whether you submitted it. Decay lists pages that used to bring traffic and no longer do — the cheapest SEO work there is, and invisible without a time series. Where it lives: Content → Indexing, Content → Decay. ## Common questions ### Do I need a cookie banner? Not for the tracker. It sets nothing on the visitor's device and stores no identifier that lasts beyond the day — the identifier is a hash of IP and user agent salted with a secret replaced every night, so yesterday cannot be linked to today by anyone, including us. That is a description of the default, not legal advice. Switching a site to identified mode changes it, and that consent becomes your responsibility. ### Why do your numbers not match Google Analytics? They will not, and neither is wrong. GA4 is removed by content blockers on a large share of traffic, samples big reports, and withholds rows for privacy thresholds. A first-party script is not blocked the same way and counts sessions by different rules. The GA4 tab shows both on one axis; the useful reading is whether the ratio between them stays steady. ### Can an AI agent read my analytics? Yes — there is an MCP server at https://asuito.com/api/mcp with read-only tools for traffic, sources, revenue, funnels, goals, events, speed, site audits, keywords and brand mentions, so Claude, Cursor or ChatGPT can answer "how was traffic this week?" directly. A read-only API key is enough. ### Do you do session replay or heatmaps? Not the kind that records the page. A site can switch on click heatmaps and a replay of the pointer, both off by default: they keep positions as numbers and nothing about what was on the screen, what was clicked or what was typed, so there is no video of anyone’s visit. If you need to watch the page itself, this is the wrong tool. ### Which platforms do you monitor for brand mentions? X, YouTube, Hacker News and Bluesky work today. Reddit and LinkedIn both require approval from those companies — Reddit for commercial data use, LinkedIn for its Community Management API — and until that is granted the Integrations panel shows them as not connected rather than pretending they are quiet. ### Do you have SOC 2, or a data-processing agreement? No. This is a small product run by one person. If your procurement needs those, it is the wrong tool, and saying so here is cheaper for both of us than saying it after a trial. ## Free tools ### SEO and AI readiness checker https://asuito.com/tools/seo-checker Paste a page, see what a crawler and an AI assistant see. Checks one page for the technical problems that keep it out of search and out of AI answers: titles, structured data, llms.txt, AI crawler access and server speed — each with the fix. Results can be shared by link. ### Campaign link builder https://asuito.com/tools/utm-builder Clean, consistent UTM links. Builds campaign links with normalised UTM parameters, so every click and sale ties back to its source and one campaign does not become three rows you can never merge. ## Integrations Hub: https://asuito.com/integrations ### Google Search Console https://asuito.com/integrations/google-search-console Connect Google once and Asuito reads your Search Console data every day. The connection is read-only: nothing is written to your Google account, and the same consent covers GA4. - Reads your Search Console data daily - Lists the searches where one of your pages already sits on page two, in Keywords → Opportunities - Shows your Search Console rows in the dashboard, beside the keywords you track What you need (a connection): Connect Google on the Keywords tab of your site. One consent covers Search Console and GA4. Search Console data arrives on Google’s two-to-three day delay, so the newest rows are always a few days old. Guide: https://asuito.com/docs/search ### Google Analytics 4 https://asuito.com/integrations/google-analytics-4 The Google connection that reads Search Console also reads GA4. Asuito puts the GA4 series beside its own count on one axis and states the ratio, so the gap between the two is something you can see. - Puts the GA4 series and Asuito’s own series on one axis - States the ratio between the two, so you can tell a steady gap from one that moved - Reads GA4 without writing anything to your Google account What you need (a connection): Connect Google on the Keywords tab of your site. One consent covers Search Console and GA4. The two numbers will not match. GA4 is removed by content blockers, samples large reports and withholds rows under privacy thresholds; a first-party script counts sessions by different rules. Guide: https://asuito.com/docs/traffic ### WordPress https://asuito.com/integrations/wordpress One plugin installs the Asuito script on a WordPress site and reports what a script alone cannot see. The download from your dashboard carries your site token, so there is nothing to configure. - Records pageviews and page speed with the same first-party script every install uses - Reports AI crawlers from the server, because they never run JavaScript - Connects logged-in customers by their WordPress user number, never by name or email - Records each paid WooCommerce order as a purchase event from the thank-you page What you need (a plugin): Download the plugin from the Crawlers tab of your site’s dashboard, upload the zip under Plugins → Add New → Upload Plugin, and activate it. Each feature has an off switch under Settings → Asuito Analytics. Visits from logged-in administrators are skipped by default. Guide: https://asuito.com/docs/install-wordpress ### Anthropic (Claude) https://asuito.com/integrations/anthropic Asuito runs its AI features on your own Anthropic key, and can ask Claude the questions you track for AI visibility. Anthropic bills you for the tokens directly. - Runs the assistant, reports, keyword research, briefs, drafts, inbox replies and labelling - Adds Claude as an AI visibility engine, asked the questions you track What you need (your own key): Paste your API key under Your account → Integrations. You find it at console.anthropic.com → API keys. Asuito never falls back to a key of its own: a feature whose key is missing says so and links to the Integrations page. Billing: Anthropic bills you for the tokens directly. Guide: https://asuito.com/docs/ai-visibility ### OpenAI https://asuito.com/integrations/openai Asuito can run every AI feature on your own OpenAI key, and can ask ChatGPT the questions you track for AI visibility. OpenAI bills you for the tokens directly. - Runs every AI feature, including the assistant - Adds ChatGPT as an AI visibility engine, asked the questions you track What you need (your own key): Paste your API key under Your account → Integrations. You find it at platform.openai.com → API keys. Asuito never falls back to a key of its own: a feature whose key is missing says so and links to the Integrations page. Billing: OpenAI bills you for the tokens directly. Guide: https://asuito.com/docs/ai-visibility ### Google Gemini https://asuito.com/integrations/google-gemini Asuito can run every AI feature on your own Gemini key, and can ask Gemini the questions you track for AI visibility. Google bills your AI Studio or Cloud project directly. - Runs every AI feature, including the assistant - Adds Gemini as an AI visibility engine, asked the questions you track What you need (your own key): Paste your API key under Your account → Integrations. You find it at aistudio.google.com → Get API key. Asuito never falls back to a key of its own: a feature whose key is missing says so and links to the Integrations page. Billing: Google bills your AI Studio or Cloud project directly. Guide: https://asuito.com/docs/ai-visibility ### DataForSEO https://asuito.com/integrations/dataforseo DataForSEO is the paid source behind Asuito’s SEO data. With your own DataForSEO account connected, every live lookup runs on it and is billed by DataForSEO. An answer Asuito already has cached costs nothing. - Backlink data for a domain - Domain overviews - Keyword difficulty - Google rank checks - Brand lookups What you need (your own key): Paste your API login and API password under Your account → Integrations. You find them at app.dataforseo.com → API access. A key of your own is always used when you have one, and Asuito never swaps it for another. Without one, a feature that needs live data says what it needs and links to the Integrations page. Billing: Every live lookup is billed by DataForSEO; cached answers are free. Guide: https://asuito.com/docs/search ### Google PageSpeed Insights https://asuito.com/integrations/google-pagespeed-insights Site audit reads Lighthouse scores and Core Web Vitals from Google PageSpeed Insights. A key is optional: with your own, checks run on your Google quota and the limit of 30 a day per site no longer applies. - Lighthouse scores in Site audit - Core Web Vitals in Site audit What you need (your own key): Paste your API key under Your account → Integrations. You find it at console.cloud.google.com → APIs → Credentials (enable PageSpeed Insights and Chrome UX Report). The key is optional. Without one, checks are limited to 30 a day per site. Billing: Optional: checks run on your own Google quota, and the 30-a-day limit per site no longer applies. Guide: https://asuito.com/docs/monitoring ### Amazon SES https://asuito.com/integrations/amazon-ses Your own AWS account. The cheapest at volume; you pay AWS directly. Connect it under Audience → Email setup and a site sends its mail through your own Amazon SES account. - Sends your Audience mail through your own Amazon SES account - Adds your sending domain and reads its DNS records through the provider’s API - Registers delivery events for you when you connect - Takes replies in through the provider’s inbound feature What you need (your own key): Paste your access key ID, secret access key and region under Audience → Email setup. Guide: https://asuito.com/docs/audience ### Resend https://asuito.com/integrations/resend A developer-friendly API. A full-access key lets Asuito add your domain for you. Connect it under Audience → Email setup and a site sends its mail through your own Resend account. - Sends your Audience mail through your own Resend account - Adds your sending domain and reads its DNS records through the provider’s API - Receives delivery events once you add the events URL in Resend and paste back its webhook signing secret - Takes replies in through the provider’s inbound feature What you need (your own key): Paste your API key under Audience → Email setup. Guide: https://asuito.com/docs/audience ### Postmark https://asuito.com/integrations/postmark Known for fast transactional delivery. Uses a server token; an account token adds domains for you. Connect it under Audience → Email setup and a site sends its mail through your own Postmark account. - Sends your Audience mail through your own Postmark account - Adds your sending domain and reads its DNS records through the provider’s API - Registers delivery events for you when you connect - Takes replies in through the provider’s inbound feature What you need (your own key): Paste your server API token under Audience → Email setup. Guide: https://asuito.com/docs/audience ### SendGrid https://asuito.com/integrations/sendgrid Twilio SendGrid. One API key with Mail Send and Sender Authentication. Connect it under Audience → Email setup and a site sends its mail through your own SendGrid account. - Sends your Audience mail through your own SendGrid account - Adds your sending domain and reads its DNS records through the provider’s API - Receives delivery events once you add the events URL in SendGrid and paste back its verification key What you need (your own key): Paste your API key under Audience → Email setup. Guide: https://asuito.com/docs/audience ### Mailgun https://asuito.com/integrations/mailgun Sending and receiving in one account, in the US or EU region. Connect it under Audience → Email setup and a site sends its mail through your own Mailgun account. - Sends your Audience mail through your own Mailgun account - Adds your sending domain and reads its DNS records through the provider’s API - Receives delivery events once you add the events URL in Mailgun and paste back its HTTP webhook signing key - Takes replies in through the provider’s inbound feature What you need (your own key): Paste your private API key and region under Audience → Email setup. Guide: https://asuito.com/docs/audience Also listed on the hub, without a page of their own: OpenRouter, Ollama, Alibaba Cloud (Qwen), Perplexity, xAI (Grok), Moz, Brave Search, Google Programmable Search, Context.dev, Cloudflare Browser Run, Google Indexing API, X (Twitter), YouTube Data API, Hunter, Apollo, Unipile, Twilio, X (posting and DMs), Prospeo, QuickEnrich, MoltSets, Mailtester Ninja, Apify, Replicate, ElevenLabs, HeyGen, Pexels, Amazon S3, Cloudflare R2, Backblaze B2, Smartlead, Instantly, Success.ai, GoHighLevel, LeadConnector, Notion, ZapMail, Cloudflare, Asuito Mail, My mailboxes (SMTP). ## Guides ### Getting started https://asuito.com/docs/getting-started (Start here, updated 2026-09-30) Add one script to your site and watch the first event land. #### 1. Add a site Sign in at https://asuito.com/dashboard and add your domain. The site page gives you a ready-made tag with that site’s token already filled in. The token only identifies which site events belong to. It is safe in page source: it can write events to that site and never read anything back. #### 2. Paste the script Put it in the ``. `defer` means it never blocks rendering. The file is about two kilobytes. ```html ``` #### What if my site uses a Content-Security-Policy? This is the most common reason a correct tag records nothing. A CSP that does not name this host blocks the script silently — the page looks fine and the dashboard stays empty. Add `asuito.com` to both `script-src` and `connect-src`. The first loads the file; the second posts the event. Adding only the first is the failure that looks most like success. ```text script-src 'self' https://asuito.com; connect-src 'self' https://asuito.com; ``` #### How do I confirm the script is working? Load a page on your site, then open the dashboard Overview. The first pageview usually appears within a couple of seconds. If nothing arrives, use view-source rather than the element inspector. The inspector shows the DOM after scripts run, so a CSP-blocked tag can still appear there; view-source shows what the server sent. Dashboard path: https://asuito.com/dashboard/yourdomain.com #### Do I need a cookie banner? The tracker is cookieless by default. It sets nothing on the visitor’s device and stores no identifier that persists across days, which is why most sites do not need a consent banner for the default mode — this is a description of the product, not legal advice. Identified mode (Settings) changes that: you become responsible for the consent that mode requires. See also Privacy at /privacy. #### How do I clear the data collected so far? The site owner can delete everything collected — events, page speed, visitors, daily totals and crawler hits — from Settings → Danger zone → Reset collected data. You type the domain to confirm. Your token, tracker snippet, goals, funnels, exclusions, share links and members stay as they are, so nothing on your site needs changing. Recorded revenue receipts are kept so a repeated payment webhook is not counted twice. A reset cannot be undone. #### What to do next On WordPress, Shopify, Wix, Squarespace, Webflow, Framer, Ghost, or Carrd? The next three guides give exact click paths — WordPress gets a one-click plugin that needs no code at all. Then browse the product guides for traffic, revenue, identify, AI crawlers, Audience, and alerts. Developers: Events, REST API & MCP, then Forms API if you embed contact or subscribe forms. ### Install on WordPress https://asuito.com/docs/install-wordpress (Start here, updated 2026-09-30) One plugin: tracking, AI crawler reporting, logged-in customers, and WooCommerce revenue — no code. #### The short version Download the plugin from your site’s dashboard (the Crawlers tab has the button), upload it to WordPress, activate it. Done — the download from your dashboard carries your site token inside it, so there is nothing to configure. No dashboard yet? The generic build at https://asuito.com/api/integrations/wordpress downloads the same plugin; it asks for your token on its settings page instead. #### Step by step 1. Sign in at https://asuito.com/dashboard, open your site, open the Crawlers tab, and click “Download the plugin.” You get a file called `asuito-analytics.zip`. Do not unzip it. 2. In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip, and click Install Now. 3. Click Activate. That is the whole install. 4. Open any page of your site in a new tab, then check your Asuito dashboard — the first pageview usually lands within seconds. #### What does the WordPress plugin record? Pageviews and page speed — the same first-party script every install uses, cookieless by default. AI crawlers — ChatGPT, Claude, Perplexity, and the rest never run JavaScript, so a script alone cannot see them. WordPress answers every request in PHP, so the plugin reports them from the server. This is the feature that normally needs edge code; on WordPress it is a checkbox. Logged-in customers — connected by their WordPress user number, never by name or email. WooCommerce revenue — each paid order’s total is recorded as a `purchase` event from the thank-you page. Orders awaiting bank transfer are not counted until paid. Every one of these has an off switch under Settings → Asuito Analytics. #### Why don't my own visits appear? Visits from logged-in administrators are skipped by default, so your own editing sessions do not inflate the numbers. There is a checkbox to include them. #### Reading the source The plugin is one readable PHP file with no build step. What it sends is exactly what you can read in it: a path, a referrer, and whatever the settings enable — nothing more. ### Install on Shopify https://asuito.com/docs/install-shopify (Start here, updated 2026-09-30) Paste the script in your theme, add a customer-events pixel for revenue. #### 1. Add the tracking script In Shopify admin: Online Store → Themes → on your current theme click ⋯ (or Actions) → Edit code. Open `layout/theme.liquid`, find the closing `` tag, and paste these lines just above it. Save. Your token is on your site’s page in the Asuito dashboard. The last line is what connects activity to logged-in customers — Shopify fills in the customer number itself, and no name or email is ever sent. ```html {% if customer %}{% endif %} ``` #### 2. Record every sale — no code Shopify tells Asuito about each paid order directly, and setting it up is clicks, not code: 1. In Shopify admin: Settings → Notifications → Webhooks → Create webhook. Choose the event `Order payment`, format `JSON`, and paste the address from your Asuito site’s Settings → Revenue card (owners only) as the URL. 2. On that same Shopify page, below the webhook list, Shopify shows the signing secret your webhooks are signed with. Copy it. 3. On your Asuito Settings → Revenue card, pick `Shopify` and paste that secret. The signature is what proves each order really came from your store. From then on every paid order lands in the Revenue tab with its real amount and currency — including orders from other sales channels and Shopify POS, which no browser script could ever see. Currencies are recorded, never converted: a store selling in two currencies sees two honest totals. Sales are credited to the same customer the theme snippet identifies, so revenue per customer works without anything passed through checkout. #### What can't the Shopify install do? AI crawler tracking needs code that runs on the server before a page is answered, and Shopify does not let anyone run code there. If your domain sits behind Cloudflare, the Worker snippet on your dashboard’s Crawlers tab works; otherwise this one feature is not available on Shopify, and it is better to say so than to pretend. #### What happens if I switch Shopify themes? The script lives in the theme you edited, so a new theme needs the same paste again. The customer-events pixel is store-wide and survives theme changes. ### Install on Wix, Squarespace, Webflow, and more https://asuito.com/docs/install-site-builders (Start here, updated 2026-09-03) Every builder has a “paste code into the head” box. Here is where each one hides it. #### The one tag every builder gets Whatever the platform, the install is the same single paste. Get your token from your site’s page on the Asuito dashboard, replace `YOUR_SITE_TOKEN`, and put the tag in the site-wide head area described below for your builder. ```html ``` #### Wix Settings → Custom code → + Add Custom Code. Paste the tag, name it `Asuito`, choose “All pages” and place it in the Head. Custom code requires a Wix premium plan with a connected domain. #### Squarespace Settings → Developer Tools → Code Injection (on older accounts: Settings → Advanced → Code Injection). Paste the tag into the Header box and save. Code injection requires the Business plan or above. #### Webflow Site settings → Custom code → Head code. Paste, save, and publish — the tag only goes live on the next publish. #### Framer Site Settings → General → Custom Code → “Start of tag”. Paste and publish. #### Ghost Settings → Code injection → Site header. Paste and save. (Ghost is also a publish destination for the Content studio — that is separate and optional.) #### Carrd Edit your site → the gear icon (Settings) → Code, and paste into the Head section. Requires Carrd Pro. #### Anything else Any platform that lets you paste HTML into the page head works exactly the same way. If you can add a `
``` #### Automailer Dashboard first: status, KPIs, next-issue preview, checklist. Content: include path prefixes (e.g. `/blog`), exclude / pin / block paths, and choose `top_in_blog`, `new_then_top`, or `articles_published`. Settings: schedule, from / reply-to, and the physical mailing address required before enable. History shows past sends. Automailer is not Digest. Digest briefs the site owner; Automailer briefs the readers. ### The free SEO checker https://asuito.com/docs/seo-checker (Product guides, updated 2026-09-30) Scan any page for search and AI readiness, with no account, and share the result by link. #### What does the free checker read? One page of the address you give, plus that site’s robots.txt and llms.txt. It reports the page score and the fixes, AI readiness, how fast the server answered, what the page is built with, and which third-party services it loads. Nothing else on the site is crawled. #### Is there a limit on scans? Each address can run 8 scans an hour. Only public websites can be scanned: private and internal addresses are refused, and so are addresses with credentials in them. The same page scanned again within ten minutes reuses the first reading, so a site is never asked twice in a row. #### How do I share a result? Every scan gets its own address. Anyone who has the link can open it; it is not listed anywhere and search engines are told not to index it. Results are kept for 90 days. If you are signed in, your recent scans are listed under the checker. ### Alerts and digests https://asuito.com/docs/alerts (Product guides, updated 2026-09-30) Ranking alerts to Slack or Linear, plus owner digests by email. #### Ranking alerts Set a movement threshold per site. When a tracked keyword crosses it, Asuito notifies Slack (message) or Linear (issue) via Integrations on the Mentions / alert destinations UI. Prefer Linear for anything you intend to act on: Slack scrolls away; an issue stays until someone closes it. #### Owner digests Digest tab: daily or weekly email summarizing traffic, ranking movement, mentions, and health flags for that site. A send ledger prevents duplicates, so a retry does not mean a second email. #### Not Automailer Reader newsletters are Audience → Automailer. Digests are for you. #### Who receives emailed alerts? Email is an alert destination beside Slack and Linear. It goes to the site owner and to teammates who have accepted their invitation. There is no field for an address, on purpose: a typed recipient would let anyone with edit access aim our sending domain at any inbox. Turn it on under Monitoring → Health → Where alerts go, and choose how loud an alert has to be before it is emailed. #### When does an audit raise an alert? After each weekly audit, the run is compared with the one before. An alert is raised when the score fell by 5 points or more, when an error-level problem went from under 5% of pages to 10% or more, or when AI readiness fell by 10 points or more. Sizes are compared as shares of pages, so a bigger sample is not mistaken for a regression. There is one open alert per site, and the first later audit that is no worse resolves it. ### Links and campaigns https://asuito.com/docs/links-and-campaigns (Product guides, updated 2026-09-03) Short links and UTM builders that report into the same dashboard. #### Short links Create a short link on the Links tab. Clicks appear beside the rest of your traffic instead of in a separate tool with a different definition of a visit. #### Campaign / UTM builder Build tagged URLs from the site you have open (also at https://asuito.com/tools/utm-builder) so source, medium, and campaign match the spellings already in your reports. Near-duplicates are flagged as you type — `email` vs `e-mail` splits one campaign into two rows that never recombine. ### Integrations https://asuito.com/docs/integrations (Product guides, updated 2026-09-29) Google, Stripe, Slack, Linear, publish destinations, and API keys. #### Google (Search Console + GA4) Connect once from Keywords. Read-only. Powers GSC rows, GA4 comparison where available, and related search workflows. #### Payment processors (revenue) Stripe, Razorpay, Lemon Squeezy, and Dodo can each report settled payments straight into the Revenue tab with no code on your site: point the processor’s webhook at the address on your site’s Settings → Revenue card and paste its signing secret there. The Revenue guide walks through it step by step. #### Slack and Linear Configure alert destinations so ranking moves become Slack messages or Linear issues. Use a Linear API key (`lin_api_…`) where the UI asks for one. #### Content publish Ghost, Shopify, or a generic webhook — configured in Content when you publish a draft. #### API keys Create keys on the account dashboard (API keys panel). Prefer a read-only key for MCP and reporting; use a full key only when servers must POST events. A key reaches every site you own unless you choose one when you make it. A key made for one site answers 404 for the others, lists only that site, cannot add a site and cannot run searches. Choose this for a key you hand to a client or to somebody else's tool. Keys look like `spx_…`. Send `Authorization: Bearer spx_…` on REST and MCP. Details: Events, REST API & MCP. ### Events, REST API, and MCP https://asuito.com/docs/custom-events (For developers, updated 2026-09-30) Browser events, server events, OpenAPI, and the analytics MCP server. #### Browser: window.spx After the script loads, call `window.spx(name, properties)`. Names max 80 characters; up to 12 properties per event. Names must not start with `$` (reserved). `window.spx('identify', userId, traits)` sets who later events belong to and does not write an event by itself. Requires identified mode where applicable. ```javascript window.spx?.('signup', { plan: 'pro' }); // Optional queue before the script loads: window.spx = window.spx || function () { (window.spx.q = window.spx.q || []).push(arguments); }; ``` #### Server: POST /api/v1/event Use a full-scope API key. Body needs `domain` and `name`. Optional `properties`, `user_id`, `visitor_id`, `path`, `country`. Returns 202 when accepted. Do not invent visitor IPs from your server — omit identity unless you pass a real user id. The script records two things without being asked: how long each page was on screen, and links that lead off your site (shown as "Outbound link"). A followed link counts as an event; add `data-outbound="off"` to the script tag to stop recording them. ```bash curl -X POST https://asuito.com/api/v1/event \ -H "Authorization: Bearer spx_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "domain": "yoursite.com", "name": "purchase", "user_id": "user_4821", "properties": { "revenue": 49, "currency": "USD" } }' ``` #### Read APIs `GET /api/v1/stats/{domain}?range=7d` — totals. `GET /api/v1/breakdown/{domain}?dimension=path&range=7d` — dimensions: path, referrer, referrerUrl, country, city, device, browser, os, event, source, medium, campaign, term, content. `GET /api/v1/filter-values/{domain}?dimension=path&q=blog` — the values a site has recorded, for building a filter that matches something. `GET /api/v1/funnels/{domain}` and `/api/v1/funnels/{domain}/{funnelId}` — each step's users, drop-off and conversion. `GET /api/v1/users/{domain}` and `/api/v1/users/{domain}/{userId}` — the people a site has identified, and one person's recent events. `GET /api/v1/mentions/{domain}` — brand mentions. `GET /api/v1/search?q=...` — web search through an independent index. `range` is one of 1h, 24h, 7d, 30d, 90d, 6m, 12m, or chosen dates as `custom_2026-09-01_2026-09-07`, read in the site's own timezone. A value that is not understood is refused with a 400, not guessed at. Every answer says how much of the minute's budget is left in `X-RateLimit-Remaining`. Badge image and shape endpoints under `/api/v1/badge` and `/b/{domain}`. Full schema: https://asuito.com/openapi.json and https://asuito.com/openapi.yaml. Same dashboard filters often work as query params (e.g. `country=DE`, `path=contains:/blog`). ```bash curl "https://asuito.com/api/v1/stats/yoursite.com?range=7d" \ -H "Authorization: Bearer spx_YOUR_KEY" curl "https://asuito.com/api/v1/breakdown/yoursite.com?dimension=referrer&range=30d" \ -H "Authorization: Bearer spx_YOUR_KEY" ``` #### MCP server (agents reading analytics) Streamable HTTP MCP at https://asuito.com/api/mcp. Use a read-only API key. Tools: list_sites, get_traffic, get_breakdown, get_sources, get_top_pages, get_revenue, get_live, get_badge, list_mentions, get_mention_summary, list_keywords, list_funnels, list_goals, recent_events, get_speed, get_site_audit and growth_report. Operators can switch the server off for a whole deployment by setting `MCP_DISABLED=1`. This is not Chrome WebMCP. WebMCP actuates the Asuito UI in the browser; `/api/mcp` reads your numbers over HTTP. ```json { "mcpServers": { "asuito": { "url": "https://asuito.com/api/mcp", "headers": { "Authorization": "Bearer spx_YOUR_READONLY_KEY" } } } } ``` #### Claude Code one-liner Add the same endpoint with an Authorization header: ```bash claude mcp add --transport http asuito https://asuito.com/api/mcp --header "Authorization: Bearer spx_YOUR_READONLY_KEY" ``` ### Tracking script options https://asuito.com/docs/tracker-options (For developers, updated 2026-09-30) Every option on the script tag: no-code events, first-party proxying, privacy signals, manual page views and domain limits. #### What options does the tracking script have? Everything is an attribute on the script tag. Most options are off until you turn them on. Two are on by default and can be turned off: scroll depth and the browser’s language and screen size. `data-api` sends events to an address of your own. `data-do-not-track="true"` honours Do Not Track and Global Privacy Control. `data-before-send` names a function that can edit or drop anything before it is sent. `data-auto-pageview="false"` turns off automatic page views. `data-downloads="true"` records clicks on links to files. `data-forms="true"` records form submissions. `data-outbound="off"` turns off outbound-link events, which are on by default. `data-titles="true"` sends the page title with each page view, which is off by default because some sites put names or order numbers in titles. `data-scroll="false"` stops the script reporting how far down the page each visitor got. `data-context="false"` stops it sending the browser’s language and screen size. #### What does the script send besides the page address? On each page view: the browser’s language and its screen size (two whole numbers), and, only if you set `data-titles="true"`, the page title. Where your host or CDN passes a region to us, that is recorded too; nothing is worked out from the visitor’s address. When a visitor leaves a page: how long it was on screen, and the furthest they scrolled as a single whole percentage. Nothing about where on the page, what was visible or when. These feed the Pages, Scroll depth and Breakdowns reports. Anything that does not look right is dropped rather than repaired: a language that is not a language tag, a screen size that is not two plausible numbers. #### How do I turn on click heatmaps and replays? `data-heatmap="true"` records where on the page each click landed, as two numbers. `data-replay="10"` also keeps the pointer’s path and scrolling on about one visit in ten; use any whole percentage from 1 to 100. Both are off until you add them. Only positions are stored. The script never reads what is under the pointer — no element, no text, nothing typed into a field — and it does not record the page, so a replay shows a pointer moving over the shape of the page, not a video of it. Both are deleted after thirty days, and appear under Pages. #### How do I track a click without writing JavaScript? Put `data-asuito-event` on any element and a click on it, or on anything inside it, records that event. Every attribute that starts with data-asuito-event- becomes a property, with dashes turned into underscores: `data-asuito-event-seat-count="5"` sends seat_count. The click is never delayed or cancelled. The event is sent with a beacon that outlives the page, so a link that navigates away still records. `data-downloads` records a click on a link to a document, archive, installer or media file, sending only the file name and type, never the address or its query string. `data-forms` records which form was submitted by its id, name or the path it posts to. The values typed into the form are never read. #### How do I stop ad blockers from blocking the script? Ad blockers match on the address a script reports to. Point `data-api` at a path on your own domain and forward that path to `https://asuito.com/api/px`, and to a blocker the traffic is indistinguishable from your own site. The proxy has to forward the visitor’s address in `X-Forwarded-For`. If it does not, every visitor appears to come from your proxy, and your visitor counts and locations collapse into one. In nginx that is `proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for`, alongside `proxy_pass` to the collector. Forward the User-Agent, Accept-Language and Sec-Fetch-Mode headers too: the collector uses them to tell people from automated traffic. You can also host `px.js` yourself. Its reporting address normally comes from where it was loaded, so when you serve it from your own domain set `data-api` as well. #### Can the script respect Do Not Track? With `data-do-not-track` set to true the script does nothing at all for a visitor whose browser sends Do Not Track or Global Privacy Control. It is off by default, because by default nothing here identifies anyone, and a blanket default would quietly drop a large share of your visitors. Anyone can opt a device out for good by setting localStorage `asuito.disabled` to `1` in their browser. The script only reads that flag, never writes it, and it works on every site that uses the script, which makes it the way to exclude yourself when your address changes every day. `data-before-send` names a global function called with the kind of message (event, outbound, leave or vitals) and a readable copy of it. Return null to drop the message, or return the edited copy. If your function throws, the message is dropped, because a function written to remove something must not fail by sending it. #### How do I count a page that is not a URL? Set `data-auto-pageview` to false and no page views are sent on their own. Call `spx.pageview()` when a page view really happens, or `spx.pageview('/checkout/step-2')` to record a virtual path for a screen that has no address of its own. A page view you send by hand is never deduplicated. #### How do I stop other sites using my tracking token? Your tracking token sits in your page source, so anyone can copy it to another site. Under Settings → Data you can list the domains it may report from, and everything else is ignored. A bare domain covers it and its www; `*.example.com` covers every subdomain. Changes apply within half a minute. #### Can I exclude a whole office network? Exclusion rules now cover an address range such as `203.0.113.0/24` for an office or a VPN, as well as a single address or a country. A rule applies to page views, events, page speed and time on page alike. Ranges wider than /8 (IPv4) or /32 (IPv6) are refused, so a typo cannot exclude a large part of the internet. #### How is paid traffic without UTM tags counted? Google Ads and Microsoft Ads add a click id to every ad click, and many accounts never add UTM tags on top. When a visit arrives with a click id and no UTM tags of its own, it is recorded as paid traffic from that platform (`google / cpc`, `bing / cpc`, and the same for TikTok, LinkedIn and X). Your own UTM tags always win. Only the presence of the click id is used. The id itself identifies one click of one person to the ad platform, so it is read and thrown away, never stored. Facebook’s `fbclid` is deliberately not used: it is added to every link that leaves Facebook, organic posts included. ### Forms API https://asuito.com/docs/forms-api (For developers, updated 2026-11-07) Embed contact and subscribe forms; POST JSON or form-encoded to /api/forms/submit. #### Create a form key Dashboard → Audience → Forms → create contact or subscribe. Copy the access key from Manage. Keys are public by design; spam controls are honeypot, optional Origins, and rate limits. #### Endpoint `POST https://asuito.com/api/forms/submit` accepts `application/x-www-form-urlencoded`, multipart, or `application/json`. CORS reflects allowed Origins when configured. #### Fields `access_key` (required) — form public key. `kind` — `contact` (default) or `subscribe` (must match the key). `email`, `name`, `message` — subscribe requires email; contact needs message and/or email. `botcheck` — honeypot; leave empty / hidden. If filled, the API returns ok without storing. `subscribe` — contact forms: a ticked checkbox (`on`, `true`) sends the sender a confirmation email; once they confirm, they are on your list. `shield_token`, `shield_nonce` — the bot check. Every form requires it unless switched off in its settings. Load `https://asuito.com/api/forms/shield.js` on the page: it fills both fields in a plain HTML form by itself; a script-driven form adds `...(await AsuitoShield.solve(accessKey))` to its body. A submission without a valid, unused answer, or sent within a couple of seconds of the page loading, is kept as Spam and reaches nobody. Through the Asuito tag: with `px.js` in your site's head, `
` draws the hosted form, and a form set to place itself (Design → Show it inside my pages) appears inside matching articles after the paragraph you choose. The article body is found on WordPress, Ghost, Shopify, Squarespace, Webflow, Wix, Blogger, Substack and most themes; set a CSS selector in the form's placement settings if yours is not. `data-inline-forms="off"` on the tag turns this off. Visitors already on your list do not see subscribe forms. The tag sets one first-party cookie, `asuito_sub`, on your domain when someone joins through one of your forms or arrives from one of your emails, and skips subscribe forms (contact forms still show) for a year. If your site has its own sign-in, call `spx('subscribed')` after login to do the same for signed-in users. A site with a Content-Security-Policy must allow https://asuito.com in `frame-src` (the form) and `connect-src` (already needed for analytics). Every contact form sender is saved to Contacts, tagged `contact-form`, and is never emailed unless they confirm a subscription. Messages that look like spam (links in the name, link-stuffed or HTML messages) are kept and marked Spam, answer `ok`, and send no notification. #### JSON example Useful for custom UIs. Subscribe returns `{ ok: true }` after queuing the confirm email when needed. ```bash curl -X POST https://asuito.com/api/forms/submit \ -H "Content-Type: application/json" \ -d '{ "access_key": "YOUR_ACCESS_KEY", "kind": "contact", "name": "Ada", "email": "ada@example.com", "message": "Hello" }' ``` #### Analytics (optional) After a successful submit you may fire `window.spx('form_submit', { kind: 'contact' })`. Never put the visitor’s email in analytics properties. #### Confirm and unsubscribe Subscribe confirmation links hit `https://asuito.com/api/audience/confirm?token=…`. Unsubscribe links use `/api/audience/unsubscribe`. Those routes are for email links, not for your embed. ### WebMCP — browser tools for AI agents https://asuito.com/docs/webmcp (For developers, updated 2026-09-30) Chrome WebMCP tools so agents can navigate Asuito and fill annotated forms. #### What is WebMCP? WebMCP lets a page register tools for agents hosted by the site or in Chrome (`document.modelContext`, with `navigator.modelContext` fallback). See https://developer.chrome.com/docs/ai/webmcp Asuito registers imperative tools and annotates key forms so agents do not scrape the DOM. #### Tools on every page `asuito_describe_page` — URL, title, short product context. `asuito_list_destinations` — common paths (`/docs`, `/demo`, `/dashboard`, …). `asuito_navigate` — same-origin navigation only (path must start with `/`). #### Tools on a site dashboard `asuito_site_context` — domain and current section path. `asuito_open_audience` — Overview, List, Forms, or Automailer (`/dashboard/{domain}/audience`). `asuito_open_site_tab` — any dashboard section path (funnels, settings, …). `asuito_open_install` — settings (install / tag help). #### Declarative forms Sign-in, Audience create/rename/settings, Automailer save, and CSV import use `toolname` / `tooldescription` / `toolparamdescription`. Sensitive actions omit `toolautosubmit` so a human still confirms. #### How do I enable WebMCP in Chrome? Production: origin trial for `https://asuito.com` with `Origin-Trial` served from `WEBMCP_ORIGIN_TRIAL_TOKEN` (Permissions-Policy includes `tools=(self)`). Local: `chrome://flags/#enable-webmcp-testing`. Separate from `/api/mcp` (HTTP analytics MCP with an API key).