Skip to content

Commit 632babe

Browse files
committed
Move reports to it's own category
1 parent 4fc9a32 commit 632babe

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

plugins/AIAgents/lang/en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"AIAgentVisits": "AI Agent Visits",
66
"AIAgentVisitsDocumentation": "This is an overview of AI Agent visits. AI agent traffic only includes visits where an AI opens your site in a real browser and behaves like a human visitor. It does not include background requests from ChatGPT or other AI tools that fetch your pages without using a browser.",
77
"AIAgentsOverviewSubcategoryDescription": "Review how AI agents and human visitors engage with your site at a glance. This overview surfaces combined metrics and trends so you can quickly spot changes before exploring detailed reports.",
8-
"AIAssistantsOverviewHelp1": "The AI Assistant Overview page provide insights into website traffic originating from AI Assistants such as ChatGPT and other large language model–based assistants. These reports track key metrics including the number of requests made by these bots, the pages and documents they access, and any errors encountered. They also offer detailed breakdowns showing which bots visit specific page URLs, helping you understand how AI assistants interact with your content and identify opportunities to improve visibility and accessibility for AI-driven users.",
9-
"AIAssistantsOverviewHelp2": "It’s important to note that none of these pages were actually viewed by humans in the traditional way — all requests originate from AI assistants fetching content automatically.",
10-
"AIAssistantsOverviewHelp3": "Currently, these reports exclusively include requests from AI bots that do not execute JavaScript. They do not include traffic from AI crawlers used for training AI models or from AI agents capable of executing JavaScript.",
118
"ColumnAIAgentActions": "Actions by AI Agent Visits",
129
"ColumnAIAgentAverageVisitDuration": "Avg. Duration of an AI Agent Visit (in sec)",
1310
"ColumnAIAgentAvgActionsPerVisit": "Avg. Actions per AI Agent Visit",

plugins/BotTracking/Reports/GetAIAssistantRequests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ protected function init(): void
3232

3333
$this->name = Piwik::translate('BotTracking_AIAssistantsReportTitle');
3434
$this->documentation = Piwik::translate('BotTracking_AIAssistantsReportDocumentation');
35-
$this->categoryId = 'AIAgents_AIAssistants';
36-
$this->subcategoryId = 'General_Overview';
35+
$this->categoryId = 'General_AIAssistants';
36+
$this->subcategoryId = 'BotTracking_AIBotsOverview';
3737
$this->dimension = new AIAssistantName();
3838
$this->metrics = [
3939
new Requests(),

plugins/BotTracking/Reports/GetDocumentUrlsForAIAssistant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function init(): void
2323
parent::init();
2424

2525
$this->name = Piwik::translate('BotTracking_AIAssistantsReportTitle');
26-
$this->categoryId = 'AIAgents_AIAssistants';
26+
$this->categoryId = 'General_AIAssistants';
2727
$this->metrics = [new Requests()];
2828
$this->processedMetrics = [];
2929
$this->dimension = new DocumentUrl();

plugins/BotTracking/Reports/GetPageUrlsForAIAssistant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function init(): void
2323
parent::init();
2424

2525
$this->name = Piwik::translate('BotTracking_AIAssistantsReportTitle');
26-
$this->categoryId = 'AIAgents_AIAssistants';
26+
$this->categoryId = 'General_AIAssistants';
2727
$this->metrics = [new Requests()];
2828
$this->processedMetrics = [];
2929
$this->dimension = new PageUrl();

plugins/BotTracking/lang/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"BotTracking": {
33
"AIAssistantsReportDocumentation": "Discover which AI assistants are crawling your site and how many hits each one generates. Expand a bot to review the most frequently requested pages or documents.",
44
"AIAssistantsReportTitle": "AI Assistants - Bots",
5+
"AIAssistantsOverviewHelp1": "The AI Assistant Overview page provide insights into website traffic originating from AI Assistants such as ChatGPT and other large language model–based assistants. These reports track key metrics including the number of requests made by these bots, the pages and documents they access, and any errors encountered. They also offer detailed breakdowns showing which bots visit specific page URLs, helping you understand how AI assistants interact with your content and identify opportunities to improve visibility and accessibility for AI-driven users.",
6+
"AIAssistantsOverviewHelp2": "It’s important to note that none of these pages were actually viewed by humans in the traditional way — all requests originate from AI assistants fetching content automatically.",
7+
"AIAssistantsOverviewHelp3": "Currently, these reports exclusively include requests from AI bots that do not execute JavaScript. They do not include traffic from AI crawlers used for training AI models or from AI agents capable of executing JavaScript.",
8+
"AIBotsOverview": "AI Bots Overview",
59
"ColumnAIAssistantName": "AI Assistant Name",
610
"ColumnAcquiredVisits": "Acquired visits",
711
"ColumnAcquiredVisitsDocumentation": "Visits that started after someone clicked from an AI assistant (Referrers \u2192 AI Assistants).",

plugins/BotTracking/tests/UI/BotTracking_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("BotTracking", function () {
1616
urlBase = 'module=CoreHome&action=index&' + generalParams;
1717

1818
it('should render AI Assistants > Overview bot detail report', async function () {
19-
await page.goto("?" + urlBase + "#?" + generalParams + "&category=AIAgents_AIAssistants&subcategory=General_Overview");
19+
await page.goto("?" + urlBase + "#?" + generalParams + "&category=General_AIAssistants&subcategory=BotTracking_AIBotsOverview");
2020
await page.waitForNetworkIdle();
2121

2222
const row = await page.jQuery('tr.subDataTable:first');

0 commit comments

Comments
 (0)