{"slug": "show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up", "title": "Show HN: AgentFirstStack – analytics, tags, email and replay your agent sets up", "summary": "StartGlobal-AI released AgentFirstStack, an MIT-licensed, open-source bundle of analytics, tag management, email inboxes and session replay that an AI coding agent installs by making HTTP requests, with no signup form, verification email or dashboard required. The project issues one API key that works across every service, exposes each component through a REST API, an MCP server and a plain-text manual listed in /llms.txt, and deploys to a user's own Cloudflare account with four commands (git clone, pnpm install, pnpm afs init, pnpm afs deploy). AgentFirstStack positions itself as a replacement for Google Analytics, Google Tag Manager, Gmail-per-project and Hotjar or Clarity, sending conversions server-side to Google Ads, Meta and TikTok conversion APIs using the customer's own credentials.", "body_md": "Analytics instead of Google Analytics\n\n### See where every visitor comes from\n\n*+18% vs previous 12 weeks*\n\n- Cities\n- Goals and revenue\n- No cookies\n\n[Add analytics with Claude Code](https://agentfirststack.com/guides/add-analytics-with-claude-code)\n\nAnalytics, tag management with server-side conversion tracking, email inboxes and session replay. No signup form, no verification email, no dashboard to click through. Free and open source.\n\nPaste it into Claude Code, Cursor, Codex or any agent that can make HTTP requests.\n\nIt tells your agent where the manual is. Nothing to configure, and no account to create first.\n\nOne request gets a key that works on every service. No email, password or verification. The agent installs, verifies and fixes as it goes.\n\nYour ad accounts stay yours. The agent asks for the exact IDs and tokens it needs from Google Ads, Meta or TikTok, and tells you where to find them. It also gives you a link to claim the project, so you can see everything in a dashboard.\n\nEach has a REST API, an MCP server and a plain-text manual.\n\nTags instead of Google Tag Manager\n\n`purchase`$49.00` evt_8f2a`\nSent from the browser and the server with one event id, so each platform counts it once.\n\nMail instead of a Gmail account per project\n\n`482913` verify link\nsignups@agentfirststack.com\n\nReplay instead of Hotjar or Clarity\n\n`/pricing`` plan is undefined``/`\nText and form fields are masked in the browser before anything is sent.\n\nConversions go from your site and your backend to each ad platform's conversion API, using your own credentials. Ad blockers and short-lived browser cookies don't lose them.\n\nNo email, captcha or approval. The key is the account.\n\nNothing hides behind a settings page.\n\n[/llms.txt](https://agentfirststack.com/llms.txt) lists every endpoint, tool and field.\n\nThe agent verifies its own work instead of guessing.\n\nCreating the same thing twice returns the first one.\n\nEach one carries a hint the agent can act on.\n\nMIT licensed. Four commands deploy it to your own Cloudflare account.\n\n```\ngit clone https://github.com/StartGlobal-AI/agentfirststack\ncd agentfirststack && pnpm install\npnpm afs init mystack --domain example.com --account <id>\npnpm afs deploy mystack\n```\n\nHow AgentFirstStack compares with the MCP servers you may already use.", "url": "https://wpnews.pro/news/show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up", "canonical_source": "https://agentfirststack.com/", "published_at": "2026-11-04 05:57:39+00:00", "updated_at": "2026-11-04 06:20:40.271299+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["AgentFirstStack", "StartGlobal-AI", "Claude Code", "Cursor", "Codex", "Google Analytics", "Google Tag Manager", "Cloudflare"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up", "markdown": "https://wpnews.pro/news/show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up.md", "text": "https://wpnews.pro/news/show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up.txt", "jsonld": "https://wpnews.pro/news/show-hn-agentfirststack-analytics-tags-email-and-replay-your-agent-sets-up.jsonld"}}