collective.matomoaitracker now works with Matomo 6

AI assistants like ChatGPT and Claude fetch pages to answer their users' questions, and AI crawlers read websites for search engines and training data. Regular web analytics usually miss these requests: bots don't run JavaScript, and many of their requests are served from the cache. collective.matomoaitracker shows them in Matomo anyway.

collective.matomoaitracker with Matomo 6: a card with a bar chart and the command pip install collective.matomoaitracker

What it does

  • AI bots recognised. Varnish sorts them into assistants fetching a page for a user, AI search engines, training data crawlers, and AI agents browsing with a real browser.
  • From the cache too. Requests that Varnish answers from its cache are counted as well, without slowing down the site. When Plone or Matomo is briefly unavailable, the requests are counted later, not lost.
  • In Matomo. Requests from AI assistants go to Matomo's AI Chatbots report. Optionally, all AI bots go to a separate site in Matomo, with the kind of bot, its name and whether the page came from the cache.

New in version 1.1.0

  • Matomo 6. Tested with Matomo 5.14 and 6.0. By default, Matomo 6 blocks visits from cloud networks, which is where most crawlers come from. The Test connection button warns about it, and checks that the Matomo token is allowed to track.
  • AI agents. Agents browsing with a real browser, like ChatGPT's agent, are recognised by their Web Bot Auth signature and counted separately, for Matomo's AI agent reports.

Thanks to the VMM

Support for Matomo 6 was made possible by the Flanders Environment Agency (VMM). Because collective.matomoaitracker is open source, every Plone site with Matomo benefits. Read more about our work for the VMM.

Using plone-varnish? It already includes the Varnish configuration of collective.matomoaitracker.