Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Aug 25, 2012 · 14 comments
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Aug 25, 2012

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?

@hpvd
Copy link

hpvd commented Oct 29, 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
Copy link
Contributor

peterbo commented Nov 18, 2012

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?
Refs_#3343-returning-visitor-show-in-log.patch

@peterbo
Copy link
Contributor

peterbo commented Nov 19, 2012

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

@diosmosis
Copy link
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
Copy link
Member Author

mattab commented Dec 14, 2012

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
Copy link
Contributor

peterbo commented Dec 15, 2012

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

@mattab
Copy link
Member Author

mattab commented Dec 16, 2012

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:
  • 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
Copy link
Member Author

mattab commented Dec 16, 2012

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
Copy link

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.

cheers

@anonymous-matomo-user
Copy link

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
Copy link
Contributor

peterbo commented Jan 2, 2013

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
Copy link

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
Copy link
Member Author

mattab commented Mar 6, 2013

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

@mattab
Copy link
Member Author

mattab commented Jan 13, 2014

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

5 participants