{"id":503,"date":"2025-04-08T12:14:34","date_gmt":"2025-04-08T12:14:34","guid":{"rendered":"https:\/\/www.mindbees.com\/blog\/?p=503"},"modified":"2025-04-08T12:14:35","modified_gmt":"2025-04-08T12:14:35","slug":"track-ai-referral-traffic-ga4","status":"publish","type":"post","link":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/","title":{"rendered":"How to Track AI Referral Traffic in Google Analytics 4"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Your Blog is Getting AI Traffic, But Are You Tracking It?<\/h2>\n\n\n\n<p>Guess what? Your blog might already be getting visits from AI-powered tools like ChatGPT and Perplexity! When people use these AI chatbots and click through to sources, that\u2019s traffic coming to your site. Pretty cool, right? But if you\u2019re not specifically tracking it, those visits might just blend in with your other referral traffic. In this friendly how-to guide, we\u2019ll walk through setting up Google Analytics 4 (GA4) to spot and track those AI-driven visitors. Let\u2019s make sure you can see the robo-readers hitting your blog!&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Tracking AI Traffic is Important<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>AI-Driven Traffic is Growing<\/strong>: As tools like ChatGPT and Perplexity become more popular, they\u2019re changing how people find content online. Learn more about this shift in our post on <a href=\"https:\/\/www.mindbees.com\/blog\/ai-chatbots-changing-search\/\">AI Chatbots Changing Search<\/a>.<\/li>\n\n\n\n<li>\u25c9 <strong>Hidden Visitors<\/strong>: Without tracking, AI referrals blend into generic \u201cReferral\u201d traffic, making it hard to measure their impact.<\/li>\n\n\n\n<li>\u25c9 <strong>Future-Proofing<\/strong>: As AI search tools evolve, this traffic could become a major source of visitors \u2013 you\u2019ll want to be ready!<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Finding AI Referrals in Your GA4 Traffic<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Open the Traffic Acquisition Report<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>In GA4, navigate to <em>Reports &gt; Acquisition &gt; Traffic acquisition<\/em> (under the \u201cLife Cycle\u201d section).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"378\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png\" alt=\"\" class=\"wp-image-504\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png 660w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1-300x172.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p>\u25cf Use the search bar to filter for \u201cReferral\u201d traffic to focus on visits from external sites.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"379\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-2.png\" alt=\"\" class=\"wp-image-505\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-2.png 659w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-2-300x173.png 300w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Break Down by Session Source<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Click the \u201c+\u201d icon next to the default dimension.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Add <em>Traffic Source > Session source<\/em> as a new dimension to see specific domains (e.g., chat.openai.com).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"380\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-3.png\" alt=\"\" class=\"wp-image-506\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-3.png 657w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-3-300x174.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/figure>\n\n\n\n<p>\u25cf Switch the table to show 250 rows for a full view of referral sources.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"654\" height=\"381\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-4.png\" alt=\"\" class=\"wp-image-507\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-4.png 654w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-4-300x175.png 300w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u25c9<\/strong> <strong>Identify AI Domains<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Scan the list for AI platforms like <em>chat.openai.com<\/em>, <em>perplexity.ai<\/em>, or <em>bard.google.com<\/em>.<\/li>\n\n\n\n<li>\u25cf Copy these domains into a text file for later use \u2013 these are your AI traffic sources!<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Building a Regex Filter for AI Traffic<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Create a Regex String<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Combine your AI domains (e.g., <em>chat.openai.com<\/em>, <em>perplexity.ai<\/em>) into one regex pattern.<\/li>\n\n\n\n<li>\u25cf Use a vertical bar | to separate domains (e.g., chat\\.openai\\.com|perplexity\\.ai).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u25cf The backslashes \\. ensure dots are treated literally in regex.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"380\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-5.png\" alt=\"\" class=\"wp-image-508\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-5.png 656w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-5-300x174.png 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Purpose of Regex<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf This single pattern matches any referral from the listed AI domains, simplifying your filter setup.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"377\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-6.png\" alt=\"\" class=\"wp-image-509\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-6.png 663w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-6-300x171.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a Custom \u201cAI Traffic\u201d Report in GA4<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Duplicate the Traffic Acquisition Report<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Go to <em>Library<\/em> in GA4\u2019s left sidebar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"377\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-8.png\" alt=\"\" class=\"wp-image-510\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-8.png 661w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-8-300x171.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<p>\u25cf Find <em>Traffic Acquisition<\/em> in the Life Cycle collection, click the three dots (\u22ef), and select <em>Make a Copy<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"377\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-7.png\" alt=\"\" class=\"wp-image-511\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-7.png 661w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-7-300x171.png 300w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Rename Your Report<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Change the duplicated report\u2019s name to \u201cAI Traffic\u201d (or similar).<\/li>\n\n\n\n<li>\u25cf Add a description like \u201cShows only traffic from AI chatbot referrals.\u201d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"382\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-9.png\" alt=\"\" class=\"wp-image-512\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-9.png 653w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-9-300x175.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Edit the Report<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Click the three dots (\u22ef) and choose <em>Edit<\/em> to open the report editor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"378\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-10.png\" alt=\"\" class=\"wp-image-513\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-10.png 659w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-10-300x172.png 300w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Set Session Source as Primary Dimension<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>\u25cf In the editor sidebar, drag <em>Session source<\/em> to the top of the Dimensions list and set it as default.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"541\" height=\"461\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-11.png\" alt=\"\" class=\"wp-image-514\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-11.png 541w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-11-300x256.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Add Your AI Regex Filter<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf In the Filters section, add a condition: <em>Session source matches regex<\/em>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Paste your regex (e.g., chat\\.openai\\.com|perplexity\\.ai).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"498\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-12.png\" alt=\"\" class=\"wp-image-515\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-12.png 501w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-12-300x298.png 300w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-12-150x150.png 150w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-12-100x100.png 100w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Save the Report<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Click <em>Save<\/em> and confirm changes \u2013 your custom AI Traffic report is ready!<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Adding the \u201cAI Traffic\u201d Report to Your GA4 Menu<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Edit the Life Cycle Collection<\/strong>:<\/li>\n<\/ul>\n\n\n\n<p>\u25cf In the <em>Library<\/em>, click the three dots (\u22ef) next to <em>Life Cycle<\/em> and select <em>Edit collection<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"384\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-13.png\" alt=\"\" class=\"wp-image-516\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-13.png 650w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-13-300x177.png 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Position Your Report<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Find <em>AI Traffic<\/em> in the available reports list.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Drag it into the <em>Acquisition<\/em> section (e.g., below <em>Traffic Acquisition<\/em>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"384\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-14.png\" alt=\"\" class=\"wp-image-517\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-14.png 649w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-14-300x178.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25c9 <strong>Save Changes<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u25cf Click <em>Save<\/em> to update your menu.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u25cf Check <em>Reports > Acquisition<\/em> \u2013 <em>AI Traffic<\/em> should now appear and show only AI referral data.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"397\" src=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-15.png\" alt=\"\" class=\"wp-image-518\" srcset=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-15.png 628w, https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-15-300x190.png 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up: The Value of Tracking AI Traffic<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u25cf <strong>Spotlight on AI Visitors<\/strong>: Your new \u201cAI Traffic\u201d report highlights visits from AI tools like ChatGPT and Perplexity.<\/li>\n\n\n\n<li>\u25cf <strong>Stay Ahead of Trends<\/strong>: As AI-driven search grows, tracking this traffic helps you optimize for the future. For more on optimizing your site, check out our support section on <a href=\"https:\/\/www.mindbees.com\/search-engine-optimization\/\">Search Engine Optimization<\/a> supports.<\/li>\n<\/ul>\n\n\n\n<p>\u25cf <strong>Actionable Insights<\/strong>: Seeing how much traffic comes from AI referrals lets you adapt your content strategy to this emerging audience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your Blog is Getting AI Traffic, But Are You Tracking It? Guess what? Your blog might already be getting visits from AI-powered tools like ChatGPT and Perplexity! When people use these AI chatbots and click through to sources, that\u2019s traffic coming to your site. Pretty cool, right? But if you\u2019re not specifically tracking it, those [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[113,108,69,16,15],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-mindblog","tag-ai-referral","tag-ai-tools","tag-chatgpt","tag-digital-marketing","tag-seo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Track AI Referral Traffic in GA4 (ChatGPT &amp; More)<\/title>\n<meta name=\"description\" content=\"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Track AI Referral Traffic in GA4 (ChatGPT &amp; More)\" \/>\n<meta property=\"og:description\" content=\"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/\" \/>\n<meta property=\"og:site_name\" content=\"Mindbees Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-08T12:14:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-08T12:14:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"660\" \/>\n\t<meta property=\"og:image:height\" content=\"378\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/\"},\"author\":{\"name\":\"webmaster\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/#\\\/schema\\\/person\\\/25de6551abf2be7548e7b37630aafe62\"},\"headline\":\"How to Track AI Referral Traffic in Google Analytics 4\",\"datePublished\":\"2025-04-08T12:14:34+00:00\",\"dateModified\":\"2025-04-08T12:14:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/\"},\"wordCount\":674,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/ai-1.png\",\"keywords\":[\"AI referral\",\"AI Tools\",\"chatgpt\",\"Digital marketing\",\"SEO\"],\"articleSection\":[\"Mindblog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/\",\"url\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/\",\"name\":\"How to Track AI Referral Traffic in GA4 (ChatGPT & More)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/ai-1.png\",\"datePublished\":\"2025-04-08T12:14:34+00:00\",\"dateModified\":\"2025-04-08T12:14:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/#\\\/schema\\\/person\\\/25de6551abf2be7548e7b37630aafe62\"},\"description\":\"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/ai-1.png\",\"contentUrl\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/ai-1.png\",\"width\":660,\"height\":378},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/track-ai-referral-traffic-ga4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Track AI Referral Traffic in Google Analytics 4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/\",\"name\":\"Mindbees Blog\",\"description\":\"Explore the MindBees blog for the latest insights, tips, and strategies in web development, digital marketing, SEO, and more. Stay updated &amp; informed!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/#\\\/schema\\\/person\\\/25de6551abf2be7548e7b37630aafe62\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"url\":\"https:\\\/\\\/www.mindbees.com\\\/blog\\\/author\\\/webmaster\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Track AI Referral Traffic in GA4 (ChatGPT & More)","description":"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/","og_locale":"en_US","og_type":"article","og_title":"How to Track AI Referral Traffic in GA4 (ChatGPT & More)","og_description":"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.","og_url":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/","og_site_name":"Mindbees Blog","article_published_time":"2025-04-08T12:14:34+00:00","article_modified_time":"2025-04-08T12:14:35+00:00","og_image":[{"width":660,"height":378,"url":"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png","type":"image\/png"}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#article","isPartOf":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/"},"author":{"name":"webmaster","@id":"https:\/\/www.mindbees.com\/blog\/#\/schema\/person\/25de6551abf2be7548e7b37630aafe62"},"headline":"How to Track AI Referral Traffic in Google Analytics 4","datePublished":"2025-04-08T12:14:34+00:00","dateModified":"2025-04-08T12:14:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/"},"wordCount":674,"commentCount":0,"image":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png","keywords":["AI referral","AI Tools","chatgpt","Digital marketing","SEO"],"articleSection":["Mindblog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/","url":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/","name":"How to Track AI Referral Traffic in GA4 (ChatGPT & More)","isPartOf":{"@id":"https:\/\/www.mindbees.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#primaryimage"},"image":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png","datePublished":"2025-04-08T12:14:34+00:00","dateModified":"2025-04-08T12:14:35+00:00","author":{"@id":"https:\/\/www.mindbees.com\/blog\/#\/schema\/person\/25de6551abf2be7548e7b37630aafe62"},"description":"Your blog may be getting visits from AI tools like ChatGPT and Perplexity. Learn how to track AI referral traffic using Google Analytics 4.","breadcrumb":{"@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#primaryimage","url":"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png","contentUrl":"https:\/\/www.mindbees.com\/blog\/wp-content\/uploads\/2025\/04\/ai-1.png","width":660,"height":378},{"@type":"BreadcrumbList","@id":"https:\/\/www.mindbees.com\/blog\/track-ai-referral-traffic-ga4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mindbees.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Track AI Referral Traffic in Google Analytics 4"}]},{"@type":"WebSite","@id":"https:\/\/www.mindbees.com\/blog\/#website","url":"https:\/\/www.mindbees.com\/blog\/","name":"Mindbees Blog","description":"Explore the MindBees blog for the latest insights, tips, and strategies in web development, digital marketing, SEO, and more. Stay updated &amp; informed!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mindbees.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mindbees.com\/blog\/#\/schema\/person\/25de6551abf2be7548e7b37630aafe62","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e73eba1e735679c8a3deb0674e5cd9553e83ca3e19d4371a38520a8fb15db8cc?s=96&d=mm&r=g","caption":"webmaster"},"url":"https:\/\/www.mindbees.com\/blog\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/posts\/503\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mindbees.com\/blog\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}