Docs

Gotmar sets up the go-to-market plumbing for a Next.js app: indexing, tracking, crawl files, audits and a launch plan.

Quick start

  1. In your app’s folder, run:
    $npx gotmar init
  2. Tell your coding agent (Cursor, Claude Code, Copilot, Lovable…): “Set up Gotmar by following GOTMAR.md.”
  3. Do the few steps only you can do (verify in Google Search Console, import into Bing). Your agent lists them when it finishes, with links. About five minutes.
  4. Deploy, then open the dashboard link init printed. Run npx gotmar login first if you want the site in your account.

Works with Next.js 14, 15 and 16 (App Router). The tracking line goes in proxy.ts on Next 16 and middleware.ts on 14 and 15.

What your agent sets up

CLI

npx gotmar initWrites GOTMAR.md for your agent, points AGENTS.md, CLAUDE.md and Cursor rules at it, and creates your site key and private dashboard link.
npx gotmar loginSigns the CLI in to your Gotmar account so init adds sites to it. Also: logout, whoami.
npx gotmar audit <url>SEO and AI-search audit of a live URL, as crawlers see it. --pages N crawls more pages; --prompt prints fixes for your agent.
npx gotmar ciAdds a GitHub Action that audits every Vercel preview and fails only on new critical problems.
npx gotmar launchWrites launch/LAUNCH.md: where to launch, a tracked link for each place, and copy for your agent to fill in.
npx gotmar indexnowSubmits your sitemap's URLs to Bing, Yandex and other IndexNow engines. Run it after each deploy.
npx gotmar dashboardPrints your dashboard links.

What’s tracked

Counts, not people. No cookie, no browser storage, no visitor or session ID, no IP address and no user agent is stored. For each page view: the path, the referring site, utm tags, country and device type. With the script: click text (emails and long numbers removed), scroll depth and page moves. Crawlers are counted by name. Details are in the privacy policy.

Whether you need a consent banner depends on the laws that apply to you and your visitors. Gotmar doesn’t store anything on the visitor’s device, but check with your own adviser.

The dashboard

Gotmar never posts, submits or connects to an account for you.

The Monday note

Once a week, sites in an account get an email: visits and where they came from, what changed in the audit, and one next step. Turn it off in the dashboard’s Settings or with the link in any email.

Questions

Does it slow my site down?

The visit is recorded after the response is sent, so pages aren’t held up. The optional script is a few kilobytes and loads after the page.

Is my dashboard private?

Yes. It’s either your private link (keep it secret, like a password) or, after gotmar login, your account. Dashboards are never indexed.

What does Pro add?

Keyword research, blog briefs and automatic AI-answer tracking, which cost us per use. It isn’t open yet: join the waitlist.