Skip to content

[Bug] Matomo creates a new visit for each "hit" by visitors from ChatGPT #23708

@marto55555

Description

@marto55555

What happened?

When a visitor comes from ChatGPT, each "hit" they perform (e.g. tracked event), results in a new visit being created and added to their Visitor Profile.

My observations:

  • the bug affects visitors with different browsers and OSes, so it's unlikely to be due to some browser extension/privacy/ad blocker
  • the bug seems to disappear when the visitor visits a second page - all future hits are correctly tied to the same visit
  • for some visitors, the bug seems to need like a minute to "activate" - the very first events are correctly tied to the first visit
  • the ChatGPT icon for the very first visit is plugins/Morpheus/icons/dist/aiAssistants/chatgpt.com.png, but for the subsequent "visits" it is plugins/Morpheus/icons/dist/aiAssistants/xx.png

What should happen?

The hits should be part of the same visit, the way Matomo does it normally.

How can this be reproduced?

Go to: Acquisition > AI Assistants > ChatGPT > Open the segmented visits log.

Observe how the same visitor creates many visits within the same minute, for each event still on the same page:

Image Image Image

Matomo version

5.5.1

PHP version

8.3

Server operating system

Ubuntu 22.04

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.To TriageAn issue awaiting triage by a Matomo core team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions