@mattab opened this Issue on August 25th 2012 Member

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?

@peterbo commented on November 18th 2012 Contributor

Attachment: As a quick patch to use the Visitor-Log to display recent (one month) visits from a given user. Capedfuzz, are you working on the feature or should I extend the solution to open a popover?

@hpvd commented on October 29th 2012

YES - this is really an important thing! Especially if you have a website with special or continuously new content (blog) with not that many new -but very often returning visitors.
So you could analyze their behavior one by one to get a feeling what is really important to them, and in addition you can analyze what happens exactly when you change things on the site: will they stay longer? will they return more often?
for those last two topics a statistic/graph would be very great also...

@peterbo commented on November 19th 2012 Contributor

capedfuzz, are you working on this feature? If not (yet), I could tackle it.

@diosmosis commented on December 4th 2012 Member

@peterb Sorry for the (very) late reply. No I'm not working on it at the moment. Also, feel free to message me directly on skype if you need a quick answer or I forget to reply to a comment.

@mattab commented on December 14th 2012 Member

Peter would you like to commit your patch (feedback: add a label "View all visits" next to icon?)

Otherwise, please closet his ticket as the new feature is covered in: #3089

@peterbo commented on December 15th 2012 Contributor

(In [7632]) Fixes #3343, added label "View all visits" next to "returning visitor"

@mattab commented on December 16th 2012 Member

Nice one! Code review & bug reports:

  • when visitor log restricted to segment, show the segment in the title and rename to "View all visits for smaller lettersfor visitorId==66a6957adea36bc1[/small]"
  • It would be better to open in a popover the visitor log, because otherwise I notice a bug:
    • Clicking on any submenu will keep the &segment parameter to the visitor ID which is not expected in this case. Opening the report in a popover will help. Also it will help for: #3089
  • Also the popover can be closed to keep the exact display clicked before opening popover (for example user could hav ebrowsed many times and it would be a shame to lose the screen status by having to load back the default visitor log)
@mattab commented on December 16th 2012 Member

Reopening because of the bug persisting the visitorId in the menu which will cause confusion. Vote for introducing popover for the visitor log segmented to visitor.

@anonymous-matomo-user commented on January 2nd 2013

tested with piwik-1.10-b2.zip I found two things, which don't work very well imo

  • as segmentation counts on calendar month, e.g. now on Jan 2nd I would only see visits in January, not from 31.12.2012 despite the fact it's only 3 days ago - could this be made somehow differently so it works better (ideally force all periods)?
  • I'm used to open visitor logs in separate tabs and since this is done by js it won't work in new window, could this be altered so it works for new tabs as well?

thanks for all the effort, something I was really missing in the core.


@anonymous-matomo-user commented on January 2nd 2013

and one more thing, I've made patch for myself which uses IP as hyperlink - this has some advantage, mainly as I'm going once a week or so thru reports from websites/search engines and if I see something interesting from new users, I want to display their history (basically if they returned). By using "returning visitor" icon one cannot use this approach. It would be great if the actual IP could be made hyperlink as well.

@peterbo commented on January 2nd 2013 Contributor

The returning visitor profile is a work in progress. Hyperlinking the returning visitor icon to the segmented visitor log only was the first workaround. Later, the visitor history /profile will open in a dedicated layer.

Linking the IP would not make much sense, because the IP often changes and a returning visitor is recognized not (only) by the IP.

For your case, you should write a small plugin which hyperlinks a visitor-ID to the segmented visitor log but this is out of the scope of this ticket.

@anonymous-matomo-user commented on January 2nd 2013

Just to clarify, I did not mean to use IP value, I just used it as hyperlink which targeted user by unique visitorid (similar to what you do with the icon at the moment).

Anyway, thanks for input and looking forward for the user profile implementation. Is there a roadmap for this?

@mattab commented on March 6th 2013 Member

In 79acbe60f6305ab03b78e9cea0026a3039ee551b: Refs #3343 Displaying the Visitor Log in a popover for better UX

@mattab commented on January 13th 2014 Member

the Visitor Profile has been implemented in Piwik 2.0 - and it is awesome :)

This Issue was closed on February 1st 2014
Powered by GitHub Issue Mirror