<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Get AI Vizible Blog]]></title><description><![CDATA[Get AI Vizible Blog]]></description><link>https://getaivizible.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6add5823c54c26ff24c3108c/879d1fe1-9c8b-4254-96d6-361e2c3a11cf.png</url><title>Get AI Vizible Blog</title><link>https://getaivizible.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 20:48:32 GMT</lastBuildDate><atom:link href="https://getaivizible.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Can ChatGPT actually read your page? Most AI crawlers don't run JavaScript: test yours in one command]]></title><description><![CDATA[Disclosure: I work on Get AI Vizible, which tracks how AI assistants mention brands. Nothing below needs it: the script uses only the Python standard…]]></description><link>https://getaivizible.hashnode.dev/can-chatgpt-actually-read-your-page-most-ai-crawlers-don-t-run-javascript-test-yours-in-one-command</link><guid isPermaLink="true">https://getaivizible.hashnode.dev/can-chatgpt-actually-read-your-page-most-ai-crawlers-don-t-run-javascript-test-yours-in-one-command</guid><category><![CDATA[SEO]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Python]]></category><dc:creator><![CDATA[Mukesh Kumar]]></dc:creator><pubDate>Wed, 02 Dec 2026 16:19:18 GMT</pubDate><content:encoded><![CDATA[<p><em>Disclosure: I work on <a href="https://getvizible.online">Get AI Vizible</a>, which tracks how AI assistants mention brands. Nothing below needs it: the script uses only the Python standard library. This post was drafted by an AI agent for our team; the script was run against live sites and offline tests before publishing.</em></p>
<p>If your site is a client-side rendered app, there's a good chance ChatGPT has never seen your content. It's seen an empty <code>&lt;div id="root"&gt;&lt;/div&gt;</code>.</p>
<h2>The short version</h2>
<p>In its <a href="https://vercel.com/blog/the-rise-of-the-ai-crawler">analysis of AI crawler traffic</a>, Vercel found that none of the major AI crawlers it measured render JavaScript. That included OpenAI's GPTBot, OAI-SearchBot and ChatGPT-User, Anthropic's ClaudeBot and PerplexityBot. ChatGPT's and Claude's crawlers do <em>download</em> JavaScript files, but they don't execute them. The exception is Gemini, which uses Googlebot's infrastructure and renders pages.</p>
<p>So whatever text isn't in your initial HTML response is, for most AI assistants, not on your page at all. That includes prices loaded by an API call, FAQ answers in a client-side accordion, and product descriptions rendered by React.</p>
<p>Crawler behaviour changes, so re-check this against current sources from time to time. Testing your own pages is cheap, though.</p>
<h2>A quick test with curl</h2>
<p>The fastest check is to fetch your page the way a crawler does and search for a sentence you care about:</p>
<pre><code class="language-bash">curl -s -A "GPTBot" https://example.com/pricing | grep -i "per month"
</code></pre>
<p>No output means the sentence isn't in the raw HTML. That's a good start, but grep also matches text inside <code>&lt;script&gt;</code> tags and HTML comments, which a model reading the page as a document may not treat as content.</p>
<h2>A slightly better test: <code>ai_view.py</code></h2>
<p>This script fetches a page with a GPTBot user agent, strips scripts, styles, <code>&lt;noscript&gt;</code> blocks and comments, and reports what's left. It also checks your <code>robots.txt</code> for the common AI user agents:</p>
<pre><code class="language-python">#!/usr/bin/env python3
"""Show what a non-JavaScript AI crawler can read on a page, and whether robots.txt lets it in.

Usage: python ai_view.py URL ["phrase that must be visible" ...]
Standard library only.
"""
import html
import re
import sys
import urllib.error
import urllib.request
import urllib.robotparser
from urllib.parse import urljoin

# Crawlers that fetch raw HTML and don't execute JavaScript.
AGENTS = ["GPTBot", "OAI-SearchBot", "ChatGPT-User", "ClaudeBot", "PerplexityBot", "CCBot"]
UA = "Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)"


def fetch(url):
    req = urllib.request.Request(url, headers={"User-Agent": UA})
    with urllib.request.urlopen(req, timeout=20) as r:
        return r.status, r.read().decode(r.headers.get_content_charset() or "utf-8", "replace")


def visible_text(page):
    page = re.sub(r"(?is)&lt;(script|style|noscript|template|svg)\b.*?&lt;/\1&gt;", " ", page)
    page = re.sub(r"(?s)&lt;!--.*?--&gt;", " ", page)
    text = html.unescape(re.sub(r"&lt;[^&gt;]+&gt;", " ", page))
    return re.sub(r"\s+", " ", text).strip()


def robots_verdicts(url):
    rp = urllib.robotparser.RobotFileParser(urljoin(url, "/robots.txt"))
    try:
        rp.read()
    except (urllib.error.URLError, OSError):
        return {a: "robots.txt unreachable" for a in AGENTS}
    return {a: "allowed" if rp.can_fetch(a, url) else "BLOCKED" for a in AGENTS}


def main(url, phrases):
    try:
        status, page = fetch(url)
    except urllib.error.HTTPError as exc:
        sys.exit(f"{url} -&gt; HTTP {exc.code}: the crawler would get an error page")
    except (urllib.error.URLError, OSError) as exc:
        sys.exit(f"could not fetch {url}: {getattr(exc, 'reason', exc)}")
    text = visible_text(page)
    title = re.search(r"(?is)&lt;title[^&gt;]*&gt;(.*?)&lt;/title&gt;", page)
    print(f"{url} -&gt; HTTP {status}, {len(page):,} bytes of HTML, {len(text.split()):,} words readable without JS")
    print(f"title: {html.unescape(title.group(1)).strip() if title else '(none)'}")
    print(f"first words: {text[:160]}")
    for p in phrases:
        print(f"  {'found  ' if p.lower() in text.lower() else 'MISSING'} \"{p}\"")
    print("robots.txt:")
    for agent, verdict in robots_verdicts(url).items():
        print(f"  {agent:&lt;15}{verdict}")


def cli():
    if hasattr(sys.stdout, "reconfigure"):
        sys.stdout.reconfigure(errors="replace")  # odd characters in page text
    if len(sys.argv) &lt; 2:
        sys.exit(__doc__)
    main(sys.argv[1], sys.argv[2:])


if __name__ == "__main__":
    cli()
</code></pre>
<p>Run it with the page and a few phrases that must be visible:</p>
<pre><code class="language-bash">python ai_view.py https://yoursite.com/pricing "per month" "Free plan"
</code></pre>
<p>Here's the output for a server-rendered page I tested:</p>
<pre><code class="language-text">https://getvizible.online -&gt; HTTP 200, 272,226 bytes of HTML, 3,817 words readable without JS
title: AI Visibility Tool for ChatGPT &amp; Gemini | Get AI Vizible
first words: AI Visibility Tool for ChatGPT &amp; Gemini | Get AI Vizible Get AI Vizible Features How it works Pricing ...
  found   "AI visibility"
  MISSING "Plans start at"
robots.txt:
  GPTBot         allowed
  OAI-SearchBot  allowed
  ChatGPT-User   allowed
  ClaudeBot      allowed
  PerplexityBot  allowed
  CCBot          allowed
</code></pre>
<p>That <code>MISSING</code> line is the useful part. The phrase exists on another page, not the homepage. That's exactly the kind of thing you want to know before assuming an assistant can quote it.</p>
<p>A client-side rendered page looks very different. The test suite includes a typical single-page-app shell, and the script reduces it to just the <code>&lt;title&gt;</code>: zero words of actual content.</p>
<h2>How to read the result</h2>
<ul>
<li><strong>Word count close to zero</strong> (or just your nav and footer): your content is rendered in the browser. AI crawlers see an empty page.</li>
<li><strong>Key phrases <code>MISSING</code></strong>: check whether they're loaded after page load, hidden behind a click, or live on another URL.</li>
<li><strong><code>BLOCKED</code> in robots.txt</strong>: that crawler won't fetch the page at all, however it's rendered. Make sure that's deliberate. Blocking GPTBot (training) and blocking OAI-SearchBot (ChatGPT search results) are different decisions.</li>
</ul>
<p>One nuance from the Vercel study: content inside the initial HTML, such as a JSON blob or streamed server-component data, may still be picked up, because models can read non-HTML text. Don't rely on it. Text in the HTML body is the only form every crawler handles.</p>
<h2>Fixes, from least to most work</h2>
<ol>
<li><strong>Move the important sentences into the HTML.</strong> Pricing, what the product does, and the answers to your FAQs usually matter most. Even a short server-rendered summary above the app helps.</li>
<li><strong>Pre-render the pages that matter.</strong> Most frameworks can statically generate marketing pages (Next.js, Nuxt, Astro, SvelteKit, Remix) while keeping the app itself client-side.</li>
<li><strong>Server-side render everything public.</strong> It's the most work, but crawlers, link previews and slow phones all benefit.</li>
</ol>
<p>The script is free on GitHub as part of <a href="https://github.com/MukkuDatatech/ai-log-tools">ai-log-tools</a>, next to two log-analysis scripts: one checks whether "GPTBot" hits <a href="https://dev.to/getvizibleonline/is-that-really-gptbot-how-to-spot-fake-ai-crawlers-in-your-server-logs-9j">really come from OpenAI</a>, the other <a href="https://dev.to/getvizibleonline/how-many-visitors-do-chatgpt-and-perplexity-actually-send-you-count-them-from-your-access-logs-3hmb">counts visits sent by AI assistants</a>.</p>
<p>What did your word count come out as? I'm curious how many sites are still serving empty shells.</p>
<hr />
<p><em>Originally published on <a href="https://dev.to/getvizibleonline/can-chatgpt-actually-read-your-page-most-ai-crawlers-dont-run-javascript-test-yours-in-one-2gfd">DEV</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[llms.txt, robots.txt and AI crawlers: how to make your website readable by AI]]></title><description><![CDATA[Short answer: allow the AI crawlers in robots.txt, serve your key facts as plain HTML text, add schema markup, and publish an llms.txt file: a short…]]></description><link>https://getaivizible.hashnode.dev/llms-txt-robots-txt-and-ai-crawlers-how-to-make-your-website-readable-by-ai</link><guid isPermaLink="true">https://getaivizible.hashnode.dev/llms-txt-robots-txt-and-ai-crawlers-how-to-make-your-website-readable-by-ai</guid><category><![CDATA[SEO]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[Mukesh Kumar]]></dc:creator><pubDate>Wed, 02 Dec 2026 15:53:52 GMT</pubDate><content:encoded><![CDATA[<p><strong>Short answer:</strong> allow the AI crawlers in robots.txt, serve your key facts as plain HTML text, add schema markup, and publish an <code>llms.txt</code> file: a short Markdown summary of who you are with links to your most important pages.</p>
<p>A lot of "why doesn't ChatGPT mention us?" problems start with something boring: the bots that fetch pages for AI answers can't read the site. Here's the checklist.</p>
<h2>The AI crawlers you should know</h2>
<table>
<thead>
<tr>
<th>Company</th>
<th>User agent</th>
<th>Used for</th>
</tr>
</thead>
<tbody><tr>
<td>OpenAI</td>
<td><code>GPTBot</code></td>
<td>Training data</td>
</tr>
<tr>
<td>OpenAI</td>
<td><code>OAI-SearchBot</code></td>
<td>ChatGPT search results</td>
</tr>
<tr>
<td>OpenAI</td>
<td><code>ChatGPT-User</code></td>
<td>Pages fetched when a user asks</td>
</tr>
<tr>
<td>Anthropic</td>
<td><code>ClaudeBot</code></td>
<td>Training data</td>
</tr>
<tr>
<td>Anthropic</td>
<td><code>Claude-SearchBot</code>, <code>Claude-User</code></td>
<td>Search and user-requested fetches</td>
</tr>
<tr>
<td>Perplexity</td>
<td><code>PerplexityBot</code>, <code>Perplexity-User</code></td>
<td>Search index and user-requested fetches</td>
</tr>
<tr>
<td>Google</td>
<td><code>Google-Extended</code></td>
<td>Use in Gemini (a control token; crawling is done by Googlebot)</td>
</tr>
<tr>
<td>Apple</td>
<td><code>Applebot-Extended</code></td>
<td>Use in Apple's AI features</td>
</tr>
<tr>
<td>Common Crawl</td>
<td><code>CCBot</code></td>
<td>Open dataset used by many models</td>
</tr>
</tbody></table>
<p>The important distinction: <strong>blocking a search or user agent removes you from that engine's live answers. Blocking a training agent only affects future model versions.</strong> A lot of sites added a blanket AI block in 2024–2025 to opt out of training and accidentally took themselves out of ChatGPT search and Perplexity too.</p>
<p>Decide per agent. For most brands that want to be recommended, allowing all of them is the simplest choice.</p>
<h2>A robots.txt that allows AI crawlers</h2>
<pre><code class="language-txt">User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: *
Allow: /
Disallow: /account/

Sitemap: https://example.com/sitemap.xml
</code></pre>
<p>Also check your CDN or WAF. Bot-protection settings can silently block these agents even when robots.txt allows them. Your server logs will tell you whether they're getting 200s or 403s.</p>
<h2>What llms.txt is (and isn't)</h2>
<p><code>llms.txt</code> is a proposed convention: a Markdown file at <code>/llms.txt</code> that gives language models a short, clean summary of your site. It typically has:</p>
<ul>
<li>a title and one-paragraph description</li>
<li>key facts (what you do, who it's for, pricing, contact)</li>
<li>links to the most useful pages, one line each</li>
</ul>
<pre><code class="language-markdown"># Example Co

&gt; Example Co makes invoicing software for freelancers in the EU.

## Key facts
- Pricing: free plan; Pro is €12/month
- Founded 2024, based in Lisbon

## Docs
- [Getting started](https://example.com/docs/start): set up in 5 minutes
- [Pricing](https://example.com/pricing): plans and limits
</code></pre>
<p>Some sites also publish <code>llms-full.txt</code> with the full text of their key pages. Support differs by engine, so treat llms.txt as a cheap, helpful extra rather than a guarantee. Crawler access and clear page text matter more.</p>
<h2>Other technical checks</h2>
<ul>
<li><strong>Server-rendered text.</strong> Prices, features and FAQs should be in the HTML, not loaded only by JavaScript. Several AI fetchers don't execute JS.</li>
<li><strong>Schema markup.</strong> <code>Organization</code>, <code>Product</code> or <code>SoftwareApplication</code>, <code>FAQPage</code>, <code>Article</code> and <code>BreadcrumbList</code>, matching the visible text.</li>
<li><strong>A sitemap</strong> listing every public page with accurate <code>lastmod</code> dates.</li>
<li><strong>Fast, stable pages</strong> without interstitials that hide content.</li>
<li><strong>One canonical URL</strong> per page.</li>
</ul>
<h2>FAQ</h2>
<p><strong>Does blocking GPTBot remove me from ChatGPT?</strong>
Blocking GPTBot stops OpenAI from using your pages for training. ChatGPT search uses <code>OAI-SearchBot</code>, and user-triggered fetches use <code>ChatGPT-User</code>, so block or allow those separately.</p>
<p><strong>Is llms.txt required?</strong>
No. It's a voluntary convention. It's quick to add and gives AI tools a clean summary of your site, but crawler access, clear page text and third-party mentions matter more.</p>
<hr />
<p><em>Originally published on the <a href="https://getvizible.online/blog/llms-txt-and-ai-crawlers">Get AI Vizible blog</a>. Disclosure: I'm the founder of <a href="https://getvizible.online">Get AI Vizible</a>, which checks AI crawler access, llms.txt and schema as part of tracking how ChatGPT, Claude, Gemini and Perplexity describe your brand.</em></p>
<hr />
<p><em>Originally published on the <a href="https://getvizible.online/blog/llms-txt-and-ai-crawlers">Get AI Vizible blog</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Is that really GPTBot? How to spot fake AI crawlers in your server logs]]></title><description><![CDATA[Disclosure: I work on Get AI Vizible, which includes AI crawler analytics. Everything below works with a log file and the Python standard library. This…]]></description><link>https://getaivizible.hashnode.dev/is-that-really-gptbot-how-to-spot-fake-ai-crawlers-in-your-server-logs</link><guid isPermaLink="true">https://getaivizible.hashnode.dev/is-that-really-gptbot-how-to-spot-fake-ai-crawlers-in-your-server-logs</guid><category><![CDATA[SEO]]></category><category><![CDATA[Python]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Security]]></category><dc:creator><![CDATA[Mukesh Kumar]]></dc:creator><pubDate>Wed, 02 Dec 2026 15:52:41 GMT</pubDate><content:encoded><![CDATA[<p><em>Disclosure: I work on Get AI Vizible, which includes AI crawler analytics. Everything below works with a log file and the Python standard library. This post was drafted by an AI agent for our team; the script was run against a test log before publishing.</em></p>
<p>If you grep your access logs for <code>GPTBot</code>, <code>PerplexityBot</code> or <code>ChatGPT-User</code>, you'll probably find hits. The question is how many of them are real.</p>
<p>A user-agent string is just text. Anyone can send <code>GPTBot/1.2</code> in a header, and scrapers do, because some sites allow AI crawlers that they'd block for an unknown bot. So if you count AI crawler visits by user agent alone, the number is inflated, and if you allow-list by user agent alone, you're letting in whoever claims the name.</p>
<p>The good news: several AI companies now publish the IP ranges their crawlers use. You can check every hit against them.</p>
<h2>Where the ranges are published</h2>
<p>At the time of writing (November 2026), these JSON files are live:</p>
<table>
<thead>
<tr>
<th>Crawler</th>
<th>What it does</th>
<th>IP ranges</th>
</tr>
</thead>
<tbody><tr>
<td>GPTBot</td>
<td>OpenAI's training crawler</td>
<td><code>https://openai.com/gptbot.json</code></td>
</tr>
<tr>
<td>OAI-SearchBot</td>
<td>Indexes pages for ChatGPT search</td>
<td><code>https://openai.com/searchbot.json</code></td>
</tr>
<tr>
<td>ChatGPT-User</td>
<td>Fetches a page when a user's chat needs it</td>
<td><code>https://openai.com/chatgpt-user.json</code></td>
</tr>
<tr>
<td>PerplexityBot</td>
<td>Perplexity's index crawler</td>
<td><code>https://www.perplexity.ai/perplexitybot.json</code></td>
</tr>
<tr>
<td>Perplexity-User</td>
<td>Fetches pages on behalf of a user</td>
<td><code>https://www.perplexity.ai/perplexity-user.json</code></td>
</tr>
<tr>
<td>Googlebot and Google's other crawlers</td>
<td>Search, AI Overviews</td>
<td><code>https://developers.google.com/static/crawling/ipranges/common-crawlers.json</code></td>
</tr>
</tbody></table>
<p>They all use the same shape: a <code>prefixes</code> array of objects with an <code>ipv4Prefix</code> or <code>ipv6Prefix</code>. That makes checking easy.</p>
<p>For crawlers whose operator doesn't publish a list, the fallback is a reverse DNS lookup followed by a forward lookup to confirm. If neither works, treat the hit as unverified rather than real.</p>
<h2>A short checker</h2>
<p>This reads a log in the common "combined" format (nginx and Apache default), finds hits that claim to be an AI crawler, and checks the IP against the published ranges.</p>
<pre><code class="language-python">import ipaddress, json, re, sys, urllib.request

RANGES = {
    "GPTBot": "https://openai.com/gptbot.json",
    "OAI-SearchBot": "https://openai.com/searchbot.json",
    "ChatGPT-User": "https://openai.com/chatgpt-user.json",
    "PerplexityBot": "https://www.perplexity.ai/perplexitybot.json",
    "Perplexity-User": "https://www.perplexity.ai/perplexity-user.json",
}

def load(url):
    with urllib.request.urlopen(url, timeout=15) as r:
        data = json.load(r)
    return [ipaddress.ip_network(p.get("ipv4Prefix") or p.get("ipv6Prefix"))
            for p in data["prefixes"]]

nets = {bot: load(url) for bot, url in RANGES.items()}

# Combined log format: IP is the first field, user agent is the last quoted field
line_re = re.compile(r'^(\S+) .*"([^"]*)"$')
counts = {}
for line in open(sys.argv[1], encoding="utf-8", errors="replace"):
    m = line_re.match(line.strip())
    if not m:
        continue
    ip, ua = m.groups()
    for bot in nets:
        if bot.lower() in ua.lower():
            addr = ipaddress.ip_address(ip)
            real = any(addr in n for n in nets[bot])
            key = (bot, "verified" if real else "FAKE")
            counts[key] = counts.get(key, 0) + 1

for (bot, status), n in sorted(counts.items()):
    print(f"{bot:15} {status:9} {n}")
</code></pre>
<p>Run it with <code>python verify_ai_bots.py /var/log/nginx/access.log</code>. Output looks like this:</p>
<pre><code class="language-plaintext">GPTBot          FAKE      1
GPTBot          verified  1
PerplexityBot   FAKE      1
</code></pre>
<p>(That's from a three-line test log: one real GPTBot IP, one documentation IP pretending to be GPTBot, and one public DNS IP pretending to be PerplexityBot.)</p>
<h2>Things to watch for</h2>
<ul>
<li><strong>Behind a CDN or proxy, the first field is the proxy's IP</strong>, not the visitor's. Log the real client IP (<code>$http_cf_connecting_ip</code> on Cloudflare, or <code>X-Forwarded-For</code> from a proxy you trust) or every hit will look fake.</li>
<li><strong>Download the ranges regularly.</strong> They change. Each file has a <code>creationTime</code> field; cache it for a day, not forever.</li>
<li><strong>Some AI crawlers don't publish ranges.</strong> Report those as unverified instead of guessing.</li>
<li><strong>Blocking fakes is a separate decision.</strong> Verifying first tells you how big the problem is before you write firewall rules.</li>
</ul>
<h2>Why it matters for AI visibility</h2>
<p>If you're trying to get your site cited by ChatGPT or Perplexity, the useful question isn't "did a bot visit?" but "did the real crawler fetch the pages I care about, and did it get a 200?" Real <code>OAI-SearchBot</code> and <code>PerplexityBot</code> hits on your key pages are a good sign. Lots of fake ones and no real ones means the AI engines probably haven't seen your content yet, whatever the raw user-agent counts say.</p>
<hr />
<p><em>If you'd rather not run this yourself, Get AI Vizible's crawler analytics does the same check continuously (getvizible.online). The script above is free to use and needs nothing but Python.</em></p>
<hr />
<p><em>Originally published on <a href="https://dev.to/getvizibleonline/is-that-really-gptbot-how-to-spot-fake-ai-crawlers-in-your-server-logs-9j">DEV</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[How many visitors do ChatGPT and Perplexity actually send you? Count them from your access logs]]></title><description><![CDATA[Disclosure: I work on Get AI Vizible, which tracks how AI assistants mention brands. Nothing below needs it: just a log file and the Python standard…]]></description><link>https://getaivizible.hashnode.dev/how-many-visitors-do-chatgpt-and-perplexity-actually-send-you-count-them-from-your-access-logs</link><guid isPermaLink="true">https://getaivizible.hashnode.dev/how-many-visitors-do-chatgpt-and-perplexity-actually-send-you-count-them-from-your-access-logs</guid><category><![CDATA[SEO]]></category><category><![CDATA[Python]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[Mukesh Kumar]]></dc:creator><pubDate>Wed, 02 Dec 2026 15:50:23 GMT</pubDate><content:encoded><![CDATA[<p><em>Disclosure: I work on <a href="https://getvizible.online">Get AI Vizible</a>, which tracks how AI assistants mention brands. Nothing below needs it: just a log file and the Python standard library. This post was drafted by an AI agent for our team; the script was run against a test log before publishing.</em></p>
<p>Everyone is talking about "AI search traffic", but most analytics dashboards lump it into "referral" or "direct". If you have server access logs, you can get a real number in a few minutes, and see which pages the assistants are sending people to.</p>
<h2>What an AI referral looks like in a log</h2>
<p>When someone clicks a link inside an AI assistant's answer, the visit usually carries the assistant's domain in the <code>Referer</code> header:</p>
<table>
<thead>
<tr>
<th>Assistant</th>
<th>Referrer host</th>
</tr>
</thead>
<tbody><tr>
<td>ChatGPT</td>
<td><code>chatgpt.com</code> (older links: <code>chat.openai.com</code>)</td>
</tr>
<tr>
<td>Perplexity</td>
<td><code>perplexity.ai</code> / <code>www.perplexity.ai</code></td>
</tr>
<tr>
<td>Gemini</td>
<td><code>gemini.google.com</code></td>
</tr>
<tr>
<td>Microsoft Copilot</td>
<td><code>copilot.microsoft.com</code></td>
</tr>
<tr>
<td>Claude</td>
<td><code>claude.ai</code></td>
</tr>
<tr>
<td>DeepSeek</td>
<td><code>chat.deepseek.com</code></td>
</tr>
<tr>
<td>Grok</td>
<td><code>grok.com</code></td>
</tr>
</tbody></table>
<p>ChatGPT also appends <code>utm_source=chatgpt.com</code> to the links it shows. That matters, because the mobile apps often strip the referrer: the UTM tag is then the only trace left in the request.</p>
<h2>The script</h2>
<p>It reads the standard Apache/Nginx "combined" format, keeps successful <code>GET</code> requests, and counts the ones that came from an assistant, with the top landing pages for each:</p>
<pre><code class="language-python">#!/usr/bin/env python3
"""Count visits that AI assistants send to your site, from an access log.

Usage: python ai_referrals.py access.log [access.log.1 ...]
Reads Apache/Nginx "combined" format. Standard library only.
"""
import re
import sys
from collections import Counter, defaultdict
from urllib.parse import urlsplit, parse_qs

# Referrer host -&gt; assistant. Subdomains match too (www.perplexity.ai).
AI_HOSTS = {
    "chatgpt.com": "ChatGPT",
    "chat.openai.com": "ChatGPT",
    "perplexity.ai": "Perplexity",
    "gemini.google.com": "Gemini",
    "copilot.microsoft.com": "Copilot",
    "claude.ai": "Claude",
    "chat.deepseek.com": "DeepSeek",
    "grok.com": "Grok",
}
# ChatGPT adds utm_source=chatgpt.com to links it shows; this catches visits
# whose referrer was stripped (common from the mobile apps).
AI_UTM = {"chatgpt.com": "ChatGPT"}

LINE = re.compile(
    r'(?P&lt;ip&gt;\S+) \S+ \S+ \[(?P&lt;time&gt;[^\]]+)\] "(?P&lt;method&gt;\S+) (?P&lt;path&gt;\S+) [^"]*" '
    r'(?P&lt;status&gt;\d{3}) \S+ "(?P&lt;ref&gt;[^"]*)" "(?P&lt;ua&gt;[^"]*)"'
)


def assistant_for(ref, path):
    host = (urlsplit(ref).hostname or "") if ref not in ("", "-") else ""
    for known, name in AI_HOSTS.items():
        if host == known or host.endswith("." + known):
            return name
    source = parse_qs(urlsplit(path).query).get("utm_source", [""])[0].lower()
    return AI_UTM.get(source)


def main(files):
    by_ai, pages = Counter(), defaultdict(Counter)
    total = 0
    for name in files:
        with open(name, encoding="utf-8", errors="replace") as fh:
            for line in fh:
                m = LINE.match(line)
                if not m or m["method"] != "GET" or not m["status"].startswith("2"):
                    continue
                total += 1
                ai = assistant_for(m["ref"], m["path"])
                if ai:
                    by_ai[ai] += 1
                    pages[ai][urlsplit(m["path"]).path] += 1
    found = sum(by_ai.values())
    print(f"{found} of {total} successful page views came from an AI assistant")
    for ai, n in by_ai.most_common():
        top = ", ".join(f"{p} ({c})" for p, c in pages[ai].most_common(3))
        print(f"  {ai:&lt;11}{n:&gt;6}   top pages: {top}")


if __name__ == "__main__":
    if len(sys.argv) &lt; 2:
        sys.exit(__doc__)
    main(sys.argv[1:])
</code></pre>
<p>Run it on today's log, or on a week of rotated logs at once:</p>
<pre><code class="language-bash">python ai_referrals.py /var/log/nginx/access.log /var/log/nginx/access.log.1
</code></pre>
<p>On a small test log it prints:</p>
<pre><code class="language-text">6 of 8 successful page views came from an AI assistant
  ChatGPT         3   top pages: /pricing (2), /blog/llms-txt (1)
  Perplexity      1   top pages: /blog/llms-txt (1)
  Gemini          1   top pages: / (1)
  Claude          1   top pages: /pricing (1)
</code></pre>
<p>A few details worth noting:</p>
<ul>
<li>Hosts are matched exactly or as subdomains, so <code>www.perplexity.ai</code> counts but a look-alike such as <code>notchatgpt.com</code> doesn't.</li>
<li>Only <code>2xx</code> <code>GET</code> requests are counted, so 404s, redirects and form posts don't inflate the number.</li>
<li>Bot traffic isn't an issue here: crawlers like GPTBot don't send an AI referrer. (If you want to verify crawler hits too, see my earlier post on <a href="https://dev.to/getvizibleonline/is-that-really-gptbot-how-to-spot-fake-ai-crawlers-in-your-server-logs-9j">spotting fake AI crawlers</a>.)</li>
</ul>
<h2>What this number can't tell you</h2>
<p>Treat the result as a floor, not the full picture:</p>
<ol>
<li><strong>Missing referrers.</strong> Apps, privacy browsers and strict <code>Referrer-Policy</code> settings drop the header. Apart from ChatGPT's UTM tag, those visits land in "direct".</li>
<li><strong>Google's AI features are invisible here.</strong> A click from an AI Overview or AI Mode arrives as <code>google.com</code>, exactly like a normal search click. Search Console is the only place Google reports it.</li>
<li><strong>Mentions without clicks.</strong> Most AI answers name a brand without the user clicking anything. Logs only see the clicks, so being recommended and being visited are two different measurements.</li>
</ol>
<p>Even with those gaps, the landing-page list is useful. The pages assistants link to are the ones they consider the best answer, which tells you what to keep accurate and up to date.</p>
<h2>Quick wins once you have the numbers</h2>
<ul>
<li>Check that the top landing pages load fast and answer the question in the first paragraph. That's what the user clicked for.</li>
<li>Look for pages assistants send people to that have no clear next step, and add one.</li>
<li>Compare month over month. A sudden drop for one assistant usually means a page moved, broke or got blocked in <code>robots.txt</code>.</li>
</ul>
<p>If you run this on your own logs, I'm curious which assistant comes out on top for you. Let me know in the comments.</p>
<hr />
<p><em>Originally published on <a href="https://dev.to/getvizibleonline/how-many-visitors-do-chatgpt-and-perplexity-actually-send-you-count-them-from-your-access-logs-3hmb">DEV</a>.</em></p>
]]></content:encoded></item><item><title><![CDATA[AEO vs GEO vs SEO: what's the difference and which do you need?]]></title><description><![CDATA[SEO wins rankings; AEO and GEO win mentions inside AI answers. How they differ in goals, signals and measurement, and how to run them together.]]></description><link>https://getaivizible.hashnode.dev/aeo-vs-geo-vs-seo-what-s-the-difference-and-which-do-you-need</link><guid isPermaLink="true">https://getaivizible.hashnode.dev/aeo-vs-geo-vs-seo-what-s-the-difference-and-which-do-you-need</guid><category><![CDATA[SEO]]></category><category><![CDATA[generative ai]]></category><category><![CDATA[marketing]]></category><dc:creator><![CDATA[Mukesh Kumar]]></dc:creator><pubDate>Sat, 28 Nov 2026 14:11:06 GMT</pubDate><content:encoded><![CDATA[<p>SEO (search engine optimization) aims to rank your pages in search results. AEO (answer engine optimization) and GEO (generative engine optimization) aim to get your brand mentioned, recommended or cited inside answers written by AI assistants such as ChatGPT, Gemini, Claude and Perplexity. AEO and GEO are two names for nearly the same work. Most brands need both SEO and AEO: search rankings feed the pages AI engines retrieve, and AI answers increasingly decide which brands buyers consider.</p>
<h2>Side by side</h2>
<table>
<thead>
<tr>
<th></th>
<th>SEO</th>
<th>AEO / GEO</th>
</tr>
</thead>
<tbody><tr>
<td>Goal</td>
<td>Rank a page in search results</td>
<td>Be named or cited in an AI answer</td>
</tr>
<tr>
<td>Where it shows</td>
<td>Google and Bing results pages</td>
<td>ChatGPT, Gemini, Claude, Perplexity, Grok, DeepSeek, Google AI Overviews</td>
</tr>
<tr>
<td>Unit of success</td>
<td>Position and clicks</td>
<td>Mention, position in the answer, citation, sentiment</td>
</tr>
<tr>
<td>Main signals</td>
<td>Relevance, links, technical health, intent match</td>
<td>Clear facts, consistency across sources, third-party mentions, extractable passages, crawler access</td>
</tr>
<tr>
<td>Measurement</td>
<td>Rank trackers, Search Console</td>
<td>Repeated prompts across AI engines, tracked over time</td>
</tr>
<tr>
<td>Click-through</td>
<td>Expected</td>
<td>Often none: the answer is the outcome</td>
</tr>
</tbody></table>
<h2>Where they overlap</h2>
<ul>
<li>Crawlable, fast pages with clear headings help both.</li>
<li>Pages that rank well are more likely to be retrieved by engines that search the web.</li>
<li>Structured data (Organization, Product, FAQ, Article) clarifies facts for both.</li>
</ul>
<h2>Where they differ</h2>
<ul>
<li><strong>Brand-level vs page-level.</strong> SEO is about pages. AEO is about how your brand is described everywhere, including sites you do not own.</li>
<li><strong>Answers, not keywords.</strong> AEO content leads with a direct answer that can be quoted in one or two sentences.</li>
<li><strong>Consistency.</strong> Conflicting prices or descriptions across the web make engines less confident about you.</li>
<li><strong>Multiple engines.</strong> Each assistant behaves differently, so you measure each one.</li>
</ul>
<h2>Which do you need?</h2>
<p>If buyers research your category online, you need both. A practical split for a small team: keep core SEO healthy, then add an AEO loop: track buyer questions monthly, fix wrong facts, publish answer-first pages for the questions you lose, and earn mentions on the sources AI cites.</p>
<h2>FAQ</h2>
<p><strong>Is GEO replacing SEO?</strong>
No. Engines that search the web still retrieve pages through search-like systems, so SEO remains the foundation. GEO adds a layer focused on being mentioned and cited inside AI answers.</p>
<p><strong>What does LLMO mean?</strong>
LLM optimization (LLMO) is another name for the same goal: influencing how large language models describe and recommend your brand. AEO, GEO and LLMO are used interchangeably.</p>
<hr />
<p><em>Disclosure: I'm the founder of <a href="https://getvizible.online/">Get AI Vizible</a>, which tracks brand visibility across seven AI engines and includes Google rank tracking. This guide was first published on the <a href="https://getvizible.online/blog/aeo-vs-geo-vs-seo">Get AI Vizible blog</a>.</em></p>
]]></content:encoded></item></channel></rss>