Answers
What analytics should I add to an app I built with Cursor or Lovable?
Let the agent that built your app add analytics too: it adds the tag, checks the setup, and after each deploy asks whether anything broke.
Updated
Let the agent that built the app add it. Ask "Add nextanalytica to my site": the agent calls get_tag, adds the tag and checks it with check_setup. After each deploy, ask "Did I break anything?": check_release compares the new release with the last one for new errors, failing requests and slower pages.
How do you do it?
- Connect your agent: in Claude Code,
claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp, then/mcpto sign in. - Ask "Add nextanalytica to my site".
- Open the app once, so
check_setupsees it. - After a deploy, ask "Did I break anything?".
What can you ask your agent?
- "What errors did the browser show while I tested the app locally?"
- "I deployed. Did I break anything?"