Starter
149 BRL/ mes
Empieza ahoraEste plan incluye:
- MAIchat y MAIagent
- Monitoreo diario
- Blog
- MCP
- Soporte por correo
- 10 preguntas
- 1 usuario
- 30 créditos
- Monitorea las principales IAs
ChatGPT
Gemini
Instala el snippet, atribuye visitas de asistentes de IA y lee los datos en la API pública v2.
Measure visits that arrive on your domain from ChatGPT, Gemini, Claude, Perplexity, Copilot, and other AI assistants.
MencionAI already tracks whether models cite or recommend your brand. AI referral traffic answers a different question: did humans click through to your site?
document.referrer and optional UTMs to Public API v2 POST /v2/traffic/ingest.Important: ChatGPT and Gemini usually do not append UTMs. Attribution relies on the HTTP referrer when present. Some clicks arrive as Direct (“dark AI traffic”) and will be under-counted.
Copy the ready-made snippet from Settings → AI Traffic. It looks like:
<script
async
src="https://www.mencionai.com/t.js"
data-site="YOUR_SITE_KEY"
data-endpoint="https://api.mencionai.com/v2/traffic/ingest"
></script>
Replace YOUR_SITE_KEY with the full msk_… value from Settings (or copy the block already filled in for you).
POST to /v2/traffic/ingest returns 200.Paste the snippet before </head> on every template you care about (or in a shared layout partial).
In app/layout.tsx (or your root layout):
import Script from 'next/script';
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
{children}
<Script
src="https://www.mencionai.com/t.js"
strategy="afterInteractive"
data-site="YOUR_SITE_KEY"
data-endpoint="https://api.mencionai.com/v2/traffic/ingest"
/>
</body>
</html>
);
}
If data-* props are awkward with next/script in your version, use a raw <script async …> in the layout instead.
Very common for Brazilian content and lead-gen sites.
header.php before </head>, orPublish/clear cache (LiteSpeed, WP Rocket, Cloudflare) after installing.
theme.liquid → paste before </head>, orProject Settings → Custom Code → Head Code → paste the snippet → Publish.
Add the snippet to index.html inside <head>, or inject once in your app bootstrap so it runs on first load.
Common in Brazil when the marketing team already injects tags.
POST …/traffic/ingest.If RD Station only hosts GTM for you, install via Google Tag Manager instead.
Same pattern as GTM or RD Station: Custom HTML / custom script on All Pages. Do not put organization API keys (mak_…) in the browser.
If your plan only allows apps: install via Google Tag Manager connected to the store.
Prefer sitewide GTM so checkout and landing templates stay covered.
default_head_blocks.xml / head template, orThe MVP snippet is cookieless (sessionStorage only, no raw IP in the product path). Your legal/consent banner policy still applies if you combine it with other marketing tags.
| Method | Path | Auth |
|---|---|---|
POST | /v2/traffic/ingest | Site key (msk_…) in body or X-MencionAI-Site-Key |
GET | /v2/workspaces/{id}/traffic/summary | API key + workspaces:read |
GET | /v2/workspaces/{id}/traffic/series | API key + workspaces:read |
POST | /v2/workspaces/{id}/traffic/site-key | API key + workspaces:write |
Never put organization API keys (mak_…) in the browser snippet.