<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rahim</title>
    <description>The latest articles on DEV Community by rahim (@nodethemes).</description>
    <link>https://dev.to/nodethemes</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4214720%2Fa773021f-1ef3-47f1-be5a-353114efd458.png</url>
      <title>DEV Community: rahim</title>
      <link>https://dev.to/nodethemes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nodethemes"/>
    <language>en</language>
    <item>
      <title>How to see ChatGPT and Perplexity traffic in your WordPress analytics</title>
      <dc:creator>rahim</dc:creator>
      <pubDate>Thu, 29 Oct 2026 08:40:59 +0000</pubDate>
      <link>https://dev.to/nodethemes/how-to-see-chatgpt-and-perplexity-traffic-in-your-wordpress-analytics-5efj</link>
      <guid>https://dev.to/nodethemes/how-to-see-chatgpt-and-perplexity-traffic-in-your-wordpress-analytics-5efj</guid>
      <description>&lt;p&gt;More people now ask ChatGPT, Perplexity, Gemini or Claude instead of typing a query into Google. When the assistant links to a source and the reader clicks, a visitor arrives on your site from an AI assistant. In most analytics setups you will not see that clearly: the visit is filed under "referral", "campaigns" or even "direct".&lt;/p&gt;

&lt;p&gt;This post explains how an AI visit actually reaches your site, why it hides, and how to measure it properly in WordPress.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two signals tell you a visit came from an AI assistant
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The referrer.&lt;/strong&gt; When someone clicks a link, the browser usually sends the origin of the page they came from. With the default policy (&lt;code&gt;strict-origin-when-cross-origin&lt;/code&gt;) that is only the domain, for example &lt;code&gt;https://chatgpt.com/&lt;/code&gt;, which is enough to identify the source.&lt;/p&gt;

&lt;p&gt;The referrer is missing when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the link has &lt;code&gt;rel="noreferrer"&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;the click happens inside a mobile or desktop app,&lt;/li&gt;
&lt;li&gt;privacy tools strip it,&lt;/li&gt;
&lt;li&gt;the visitor copies the link into a new tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. A UTM tag in the link.&lt;/strong&gt; ChatGPT adds &lt;code&gt;utm_source=chatgpt.com&lt;/code&gt; to many links in its answers. The tag is part of the URL, so it survives even when the referrer is gone.&lt;/p&gt;

&lt;p&gt;A good analytics setup checks both: first the referrer, then the UTM source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why AI traffic hides
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Where it ends up&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Referral / websites&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;chatgpt.com&lt;/code&gt; and &lt;code&gt;perplexity.ai&lt;/code&gt; sit in a long list next to blogs and forums, so there is no single AI total.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Campaigns&lt;/td&gt;
&lt;td&gt;Tools that treat every UTM tag as marketing put &lt;code&gt;utm_source=chatgpt.com&lt;/code&gt; next to your newsletters and ads.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Direct&lt;/td&gt;
&lt;td&gt;No referrer and no tag: the source is unknown. A rise in "direct" visits to deep pages nobody types by hand is often a hint.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The fix is a dedicated &lt;strong&gt;AI assistants&lt;/strong&gt; channel that recognises the known AI referrer domains &lt;em&gt;and&lt;/em&gt; their UTM sources.&lt;/p&gt;

&lt;h2&gt;
  
  
  The referrers worth recognising
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;ChatGPT: &lt;code&gt;chatgpt.com&lt;/code&gt;, &lt;code&gt;chat.openai.com&lt;/code&gt;, &lt;code&gt;utm_source=chatgpt.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Perplexity: &lt;code&gt;perplexity.ai&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Gemini: &lt;code&gt;gemini.google.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Claude: &lt;code&gt;claude.ai&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Microsoft Copilot: &lt;code&gt;copilot.microsoft.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Others: &lt;code&gt;chat.deepseek.com&lt;/code&gt;, &lt;code&gt;grok.com&lt;/code&gt;, &lt;code&gt;meta.ai&lt;/code&gt;, &lt;code&gt;chat.mistral.ai&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One caveat: clicks from AI Overviews inside Google Search usually arrive with a normal Google referrer, so they count as search traffic, not as AI traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Visitors are not the same as AI bots
&lt;/h2&gt;

&lt;p&gt;Before an assistant can cite a page, a bot has to read it. Most AI companies run three kinds of agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Training crawlers&lt;/strong&gt; such as &lt;code&gt;GPTBot&lt;/code&gt; and &lt;code&gt;ClaudeBot&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI search bots&lt;/strong&gt; such as &lt;code&gt;OAI-SearchBot&lt;/code&gt;, &lt;code&gt;Claude-SearchBot&lt;/code&gt; and &lt;code&gt;PerplexityBot&lt;/code&gt;. They build the index assistants search when they answer with live results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User-triggered fetchers&lt;/strong&gt; such as &lt;code&gt;ChatGPT-User&lt;/code&gt;, &lt;code&gt;Claude-User&lt;/code&gt; and &lt;code&gt;Perplexity-User&lt;/code&gt;. They open a page because a person asked the assistant something.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Blocking &lt;code&gt;GPTBot&lt;/code&gt; signals that you do not want your content used for training. It does not remove you from ChatGPT search; that depends on &lt;code&gt;OAI-SearchBot&lt;/code&gt;. If you want AI traffic but no training, a robots.txt along these lines does it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep bots out of your visitor numbers. If crawler requests are counted as page views, AI looks far bigger than it really is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measuring it in WordPress
&lt;/h2&gt;

&lt;p&gt;I build &lt;a href="https://github.com/nodethemes/nodethemes-analytics-ai" rel="noopener noreferrer"&gt;NodeThemes Analytics AI&lt;/a&gt;, a free, open-source (GPL) analytics plugin that runs on your own server, so this is the setup I know best:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the plugin. AI assistants are recognised by referrer and UTM source out of the box and appear under &lt;strong&gt;Acquisition → AI assistants&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Turn on &lt;strong&gt;Log crawlers &amp;amp; AI agents&lt;/strong&gt; to see which bots read which pages. Bots are logged separately and never counted as visitors.&lt;/li&gt;
&lt;li&gt;Create goals for the actions that matter (contact form, sign-up, order).&lt;/li&gt;
&lt;li&gt;Save a segment "Channel is AI assistants" and compare it with search visitors: pages per visit, conversion rate, revenue per visit.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The same ideas work in any analytics tool: build an AI channel from the domains and UTM sources above, and keep bots out of your visitor statistics.&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AI visits arrive as referrals or as UTM-tagged links; check both signals.&lt;/li&gt;
&lt;li&gt;Treat AI numbers as a minimum, because some app clicks arrive without either.&lt;/li&gt;
&lt;li&gt;Separate training crawlers, AI search bots and user-triggered fetchers before you block anything.&lt;/li&gt;
&lt;li&gt;Judge the channel by conversions, not by volume alone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full guide, with a 60-day plan, a reporting template and an FAQ, is on the NodeThemes blog: &lt;a href="https://nodethemes.com/how-to-track-chatgpt-ai-traffic-in-wordpress-2026-guide/" rel="noopener noreferrer"&gt;How to Track ChatGPT &amp;amp; AI Traffic in WordPress&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>analytics</category>
      <category>ai</category>
      <category>seo</category>
    </item>
  </channel>
</rss>
