Skip to content

Live: Returning visitor to open last visits for this visitor, in Visitor Log & Last visits widget #3343

@mattab

Description

@mattab

Currently there is no easy way in Piwik to view all visits for a particular visitor who may be returning multiple times to the site.

I propose to expose this interesting information in Piwik:

  • In Live! widget and the Visitor Log, the Returning Visitor icon could be linked, and when click, open a popover with the last visits for the clicked visitor.
  • The date range request would change to be set to a larger date range to make sure we match the previous visits.
    • for some visitors we know daysSinceLastVisit so we have to extend the date range to include at least daysSinceLastVisit days in the past (and more, if visitCount > 1 )
    • for some we know daysSinceFirstVisit so we coud extend the range back to this date.
    • if we have no info, we can try select over the last year by default?
    • The goal is to select the date range not too big if we don't need to, but display at least the last 5-10 visits for a given visitor, in the popover.
  • The popover title would clarify what is displayed " 10 Last visits for Visitor ID 8574bcd37 "
  • the Popover would load the visitor log, segmented to the clicked visitor log: URL with &segment=visitorId=842758725bc
    • the URL ideally should be sharable with friends and colleagues and would load the same state (log visitor in the background for "today" eg. and the popover with the older date range?

This new view would allow piwik user to follow a users' journey on the site. Most experiences these days take several visits, and it will be extremely useful to see all visits logs in Piwik!

What do you think?

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions