Use your traffic in an AI agent

Let Claude, ChatGPT or your SEO agent read your EchoRanked analytics where it would read Google Analytics.

SEO agents (OpenSEO, Claude, ChatGPT, Cursor) usually get traffic and conversions from Google Analytics. If you measure your site with the EchoRanked snippet instead, connect EchoRanked to the same agent and it can answer those questions from your EchoRanked data, next to its other SEO tools.

Note — Needs a Pro or Business plan, and the tracking snippet on your site. It spends no credits.

1. Check your tracking#

The agent can only report what the snippet collects. On Project settings › Tracking, confirm visits are arriving and add the conversion goals you care about (a page path such as /thank-you, or an event your site fires with window.cr('conversion', 'signup')). Goals you never set up always read zero.

2. Copy the connector URL#

Open Project settings › Data access, pick your assistant and click Create connector URL, then Copy. The URL is shown once; if you lose it, click Get a new URL. It looks like https://echoranked.com/api/mcp/k/erk_read_….

Project settings › Data access: the read key, the connector URL and the tools an assistant gets.

Warning — The URL contains your key. Treat it like a password, and rotate the key on the same page if it leaks.

3. Add it to your agent#

  1. 1
    Claude or ChatGPT

    Claude: Settings › Connectors › Add custom connector. ChatGPT: Settings › Connectors › Create. Paste the URL and choose no authentication.

  2. 2
    Claude Code (and the OpenSEO plugin)

    Run the command below in a terminal. EchoRanked's tools then sit beside OpenSEO's, and the agent picks EchoRanked for traffic and OpenSEO for keywords and rankings.

  3. 3
    Cursor and other MCP clients

    Add the mcp.json entry below. It sends the key as a header, so it isn't in the URL.

claude mcp add --transport http echoranked https://echoranked.com/api/mcp \
  --header "Authorization: Bearer erk_read_7Hc2pQ9wX4"

4. Ask#

Name EchoRanked in the question the first time, so the agent knows where to look:

  • "Using EchoRanked, how did sessions and conversions change over the last 28 days?"
  • "Which channels and UTM campaigns drove the most converting sessions last month?"
  • "Which landing pages lost the most sessions compared with the previous period?"
  • "Is my EchoRanked tracking working?"

What the agent can read#

ToolAnswersGoogle Analytics equivalent
get_site_trafficSessions, visitors, pageviews, bounce, engagement, conversions and channels, against the previous periodOverview
get_traffic_breakdownOne dimension in depth: channel, source, UTM source/medium/campaign, page, landing page, exit page, pages viewed from AI answers (ai_page), host, country, region and city (Business), device, browser, OS, language. Also lists what fell out of the previous period's top rows, so declines show up.Traffic acquisition, page performance, audience
get_conversionsEvery goal you defined, its completions and the conversion rateKey events
get_tracking_healthWhether the snippet is reporting and the numbers are up to dateMeasurement health

It also gets EchoRanked's AI-visibility, AI-referral and crawler tools. The full list is in Available tools.

How the numbers differ from Google Analytics#

  • Days are UTC calendar days.
  • Visitors over several days add up each day's unique visitors. It isn't the same as GA's users.
  • Conversion rate is sessions with a conversion divided by all sessions.
  • Each breakdown covers one thing at a time, so "landing pages from organic search only" isn't available.
  • Region and city are recorded on Business only.
  • Numbers are summarised hourly. Every answer says which days are included, and the agent is told all of this.
Open Data access

Related