Sign inGet started
Get started

Quickstart

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Add your site, put the tag on it, connect your agent and ask your first question, in about ten minutes.

Updated

This page takes you from nothing to your agent answering "How is my site doing?" from your own data. It's five steps and about ten minutes, and the last step is asking a question.

1. Sign up

Open dash.nextanalytica.app and sign in with Google, GitHub or your email. Signing in the first time makes your account.

2. Add your site

Click Add a project and give:

  • Domain: your site's address without https://, such as shop.example.
  • Region: where its data is kept. It can't move later.
  • Time zone: the days your numbers are counted in.

See Projects and regions.

3. Add the tag (Required)

Open Tracking and copy your tag line. It looks like this, with your project's own key:

index.html
<script async src="https://t.nextanalytica.app/t.js" data-project="na_…"></script>

Put it in the <head> of every page, in your site's shared layout. Where it goes in each framework.

Check it worked: click Verify in Tracking. It opens your site, and one visit with the tag proves the site is yours. The domain turns live within about a minute.

4. Connect your agent (Required)

Add the nextanalytica MCP server to your agent. In Claude Code:

claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp

Then sign in when your agent opens the browser. Other agents: Claude Code, other clients.

Check it worked: ask your agent "Which projects do I have in nextanalytica?". It lists your site.

5. Ask your first question

How did shop.example do this week?

Here's what happens next: your agent reads your project's context first, then the numbers. When the data can't answer, it says so instead of guessing.

Next steps

Related
  • Introduction: nextanalytica is headless web analytics your own agent reads: one tag on your site, the data read over MCP, answers in plain words.
  • For agents: How an AI agent sets nextanalytica up for its user, what only the user can do and the rules it follows.
  • Projects and regions: A project is one website and its data. Where it's kept, who can see it and the region you can't change later.
Still have questions?
Was this page useful?