Install the tracking snippet

Add one script tag to see visitors who arrive from AI assistants.

The snippet counts visits and tells you which came from ChatGPT, Perplexity, Gemini and other assistants. It sets no cookies.

<script
  defer
  src="https://echoranked.com/t.js"
  data-project-id="YOUR-PROJECT-ID"
></script>

Paste it before the closing </head> tag on every page. Project settings › Tracking shows the snippet with your project ID already filled in.

Tip — Visits appear within a minute. Open Analytics › Overview and load your own site to check.

Track only part of a single-page app#

In a single-page app the snippet counts every route change. To leave out part of the app, such as the logged-in area, add data-paused to the script tag when the visitor goes there and remove it when they come back. Nothing is sent while it is set.

Using an AI agent for SEO? It can read this data where it would read Google Analytics: see Use your traffic in an AI agent.

Related