如何在GA4中跟踪AI流量

On this page

GA4创建AI流量图表

1742440214 image

点击 Explore, 然后创建Blank

1742440399 image

点击 Dimensions,输入Session Source/Medium并选中。(如果你需要更多数据也可以按需勾选更多)

之后点击confirm.

1742440760 image

点击Metrics,输入Sessions并选中sessions和engaged sessions

1742440804 image

接着输入key,选中key events,然后confirm确认

1742440867 image

点击segments,创建一个新的segment

1742440910 image

选中session segment

1742440998 image

重命名AI sources 并点击 add new condition

1742441061 image

选择session source

1742441099 image

点击add filter

1742441157 image

选择 正则表达式,然后输入

.*chatgpt.com.*|.*perplexity.*|.*edgepilot.*|.*edgeservices.*|.*copilot.microsoft.com.*|.*openai.com.*|.*gemini.google.com.*|.*nimble.ai.*|.*iask.ai.*|.*claude.ai.*|.*aitastic.app.*|.*bnngpt.com.*|.*writesonic.com.*|.*copy.ai.*|.*chat-gpt.org.*

1742441248 image

点击Apply

1742441522 image

双击Sessions,Rows选中Session source/medium

现在你可以看到AI流量. 按照你的需求可以切换时间,图表等.

创建Channel(可选)

1742441662 image
1742441716 image
1742441829 image

正则表达式代码

.*chatgpt.com.*|.*perplexity.*|.*edgepilot.*|.*edgeservices.*|.*copilot.microsoft.com.*|.*openai.com.*|.*gemini.google.com.*|.*nimble.ai.*|.*iask.ai.*|.*claude.ai.*|.*aitastic.app.*|.*bnngpt.com.*|.*writesonic.com.*|.*copy.ai.*|.*chat-gpt.org.*

1742441889 image
1742441978 image

把AI的位子上移

1742442186 image

这里可以选中刚刚创建的AI流量

如果需要looker studio 同步,我就不演示了,你现在已经能直接在Looker studio的GA4视图中找到AI流量了.(找不到AI流量的话,点击GA4视图的Refresh Fields,刷新一下数据就好)