Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

New "Visitor Profile" report showing all info about a specific Visitor #3089

Closed
mattab opened this Issue · 67 comments

3 participants

Matthieu Aubry Anonymous Piwik user Benaka
Matthieu Aubry
Owner

Piwik tracks detailed visitor information, and after a few months of use Piwik will contain interesting information about new and returning visitors. Currently, we display the list of visits in the Visitor>Visitor Log report, but there is no way to show a report for a specific visitor.

This ticket is about adding a new report specifically tailored to a visitor. THe report will show:

  • All visitor info
  • List of past visits and pageviews, downloads, outlinks, site searches, goal conversions, ecommerce conversions and product bought.
  • List the map showing where the user connected from
  • List the first/last visit information
  • List a summary of all visitor activity over time
  • Show a graph of the last visits

Also:

Matthieu Aubry
Owner

moved to #3490

Matthieu Aubry
Owner

Good idea to propose a "Widget" showing a given visitor information:

  • Provide PHP code snippet to include the Visitor Log, segmented to a particular visitor ID
    • Code will look at cookies to extract visitor ID cookie
    • Fallback to user IP if ID not found
    • Would call Live API with segment=visitorId==X or segment=visitorIP==Y
  • maybe we should provide a new widget view for visitor Log for one visitor only: for example listing vertically rather than in a wide row (Visitor Log), so that it looks nice when included in emails or websites
  • Output options:
    • Display in the page: for example, in a CRM one could load visits from a particular IP and display the few info from Piwik there
    • Include in an email the visitor log output.
Matthieu Aubry
Owner

See also a slightly related and interesting feature request: #2750

Matthieu Aubry
Owner

A cool idea that will enhance this report automatically #3622 detect and set usernames as Custom Variables

Anonymous Piwik user

I'm insterested in this as well. We are building a CRM system and this would be a great feature to add.

Replying to matt:

Good idea to propose a "Widget" showing a given visitor information:

  • Provide PHP code snippet to include the Visitor Log, segmented to a particular visitor ID
    • Code will look at cookies to extract visitor ID cookie
    • Fallback to user IP if ID not found
    • Would call Live API with segment=visitorId==X or segment=visitorIP==Y
  • maybe we should provide a new widget view for visitor Log for one visitor only: for example listing vertically rather than in a wide row (Visitor Log), so that it looks nice when included in emails or websites
  • Output options:
    • Display in the page: for example, in a CRM system one could load visits from a particular IP and display the few info from Piwik there
    • Include in an email the visitor log output.
Anonymous Piwik user

Are there any way i can accelerate this feature getting done ?

Regards.
CRM systemet

I'm insterested in this as well. We are building a CRM system and this would be a great feature to add.

Replying to matt:

Good idea to propose a "Widget" showing a given visitor information:

  • Provide PHP code snippet to include the Visitor Log, segmented to a particular visitor ID
    • Code will look at cookies to extract visitor ID cookie
    • Fallback to user IP if ID not found
    • Would call Live API with segment=visitorId==X or segment=visitorIP==Y
  • maybe we should provide a new widget view for visitor Log for one visitor only: for example listing vertically rather than in a wide row (Visitor Log), so that it looks nice when included in emails or websites
  • Output options:
    • Display in the page: for example, in a CRM system one could load visits from a particular IP and display the few info from Piwik there
    • Include in an email the visitor log output.
Matthieu Aubry
Owner

Definitely, get in touch with us at: http://piwik.org/consulting/#contact-consultant

Matthieu Aubry
Owner
  • Display Visitor ID in the report (from #4020)
Anonymous Piwik user

In a3bc697: Refs #3089, add initial visitor profile popup that uses dynamic data from Live plugin API. No client-side behavior yet & placeholder images still present.

Anonymous Piwik user

In 050fd0a: Refs #3089, initial visitor profile integration with UserCountryMap..

Anonymous Piwik user

In b89b9bb: Refs #3089, use proper loading text for visitor profile, tweak look, and add behavior for close button.

Anonymous Piwik user

In d42f2f2: Refs #3089, fix namespace bug in PluginsArchiver.php, i18n & tweak visitor profile popup, and only display ecommerce info on visitor profile if ecommerce is enabled for the site.

Anonymous Piwik user

In 4e582bc: Refs #3089, rewrote visitor profile html to organize data as rows w/ columns instead of columns w/ rows, removed unneeded map JPG, modified visitor profile LESS files to use constants for width/height, and removed footer of embedded user country map in visitor profile.

Anonymous Piwik user

In 8d7b7dc: Refs #3089, allow more than 4 custom variables to show in visitor profile via expanding div.

Anonymous Piwik user

In 3b74ae5: Refs #3089, add initial code for visit header clicking behavior.

Anonymous Piwik user

In 70a0174: Refs #3089, rewrite _actionsList.twig to use <p> elements instead of line breaks (for better looking visitor profile).

Anonymous Piwik user

In 954c66c: Refs #3089, add click on individual visit behavior in visitor profile, make sure footer of usercountry map is not shown at all.

Anonymous Piwik user

In 93e2098: Refs #3089, added behavior for click on 'view more information' that loads more visits into the visit list.

Notes:

  • Fixed bug in reinitialise() of jquery.jscrollpane.js.
Anonymous Piwik user

In a8439b1: Refs #3089, make minimum top of popover 15px instead of 106px.

Anonymous Piwik user

In 7f71441: Refs #3089, use realtime map instead of usercountry map so as not to engage potentially slow segmentation.

Anonymous Piwik user

In 685e868: Refs #3089, remove some debugging code, fix warnings on PHP 5.5.

Matthieu Aubry
Owner

We discussed with the team and here is the full review:

  • Popover should have height set to auto. This way there is no need for the mini scroll bar in the popover. Remove the mini scrollbar.
  • Show location below user settings instead of top right
  • Move the left "Summary" above the "First/Last page" panel.
  • Hide the map by default
  • Add a link "Show map" that expands the popover to show the map below on left. Display link after Summary/First/Last panels.
  • Highlight the visit that is currently displayed on the top left
  • implement the 30-bars mini graph at top right: it will be awesome
  • in click on a bar graph, highlight the visit in the list + refresh details on the left.
  • New keyboard shortcuts: LEFT goes to "See more recent visitor" and RIGHT to "Next older visitor"
  • view more link: remove this link
  • Create new button, on the bottom of right column footer "Load more visits". When clicked, new visits are loaded and the popover automatically expands (height:auto). When there is no more visit to show write in light font eg. "All visits are already displayed for this visitor."
Anonymous Piwik user

In 781a359: Refs #3089, refactor visitor profile JavaScript & move it to new JavaScript file.

Anonymous Piwik user

In eb00e87: Refs #3089, reordered left side of visitor profile.

Anonymous Piwik user

In 29b4cf8: Refs #3089, make sure visitor profile can be opened via popover, document popover persisting functions in broadcast object and hide 'There is no data' message in embedded real time map in the visitor profile popup.

Anonymous Piwik user

In fa88a9c: Refs #3089, allow visitor profile to be used as widget, remove period/date requirement for getting visitor profile data, fix bug in realtime map embedding and fix twig bug in visitor log tooltip.

Anonymous Piwik user

In 27e0da5: Refs #3089, added ability to browse through all visitors w/ 'previous/next visitor' links or by hitting the left/right keys and fix widget css issue.

Notes:

  • Added ability to reload widget w/ overridden parameters that are not persisted.
Anonymous Piwik user

In f172c29: Fix test for new Live Widget

refs #3089

Benaka
Collaborator

Thanks Fabian! Forgot to push that fix.

Anonymous Piwik user

In f863905: Refs #3089, hide map on default and display w/ 'show map' link, remove jscrollpane and move location + bar graph to the left column.

Anonymous Piwik user

In e32f417: Refs #3089, added countries & continents to Live.getVisitorProfile output in preparation for initially zooming realtime map.

Anonymous Piwik user

In 0e5d1ad: Refs #3089, add integration test files for new Live API methods.

Benaka
Collaborator

[changeset:09784e569760cd28a9488f083583d0016265e535] refs this ticket.

Anonymous Piwik user

In 0f0b327: Refs #3089, show 'no more visits' when no more visits to load in visitor profile and force scroll to new visits when loading more visits.

Anonymous Piwik user

In ed93c96: Refs #3089, several small changes and tweaks to the visitor profile popup.

Anonymous Piwik user

In 92a10be: Refs #3089, show previous/next visitor links as arrows that appear only on hover of the upper left section in the visitor profile.

Anonymous Piwik user

In 6881a1b: Refs #3089, fix a bug in visitor profile (left/right keys didn't change visitor on firefox) and highlight latest visit section after loading individual visit details.

Anonymous Piwik user

In 046502f: Refs #3089, display 'There are no more visits' if its known there are no more visits to display in the visitor profile.

Anonymous Piwik user

In 1fe2767: Refs #3089, fix double encoded segment bug in visitor profile & UserCountryMap & make sure segment override is used by UserCountryMap.

Anonymous Piwik user

In ee2d113: Refs #3089, add tooltip to 'Visit #N' title and tweak highlight timing.

Anonymous Piwik user

In 864ae9d: Refs #3089, use rarr/larr instead of right/left arrow images in visitor profile.

Anonymous Piwik user

In 7ea0677: Refs #3089, show location of visit when visit clicked in visitor profile.

Anonymous Piwik user

In ef9a068: Refs #3089, allow visitor avatar image to be set based on visitor profile data, and add event that plugins can use to augment visitor profile data.

Anonymous Piwik user

In c3190b1: Refs #3089, show abandoned cart info in visitor profile if present.

Anonymous Piwik user

In db9e78b: Refs #3089, fixing build.

Anonymous Piwik user

In 569e71c: Refs #3089, small fix (remove testing related code). skip

Anonymous Piwik user

In 94eff35: Refs #3089, tweaks and fixes to visitor profile interface and make sure adjacent visitor retrieval works w/ segments.

Anonymous Piwik user

In 6d884e1: Refs #3089, #4116, display visitor profile popup when visit in realtime map is clicked.

Notes:

  • Includes new UIControl base type.
  • Fixes cleanup bugs in realtime map and popover closing.
  • Refactored realtime map so as little JavaScript as possible is included in HTML fragments.
  • Allow more than one realtime map to exist on a single page.
Anonymous Piwik user

In d6f9451: Refs #3089, only show map in visitor profile if map is not showing on another part of the screen, load the map through AJAX, and some tweaks to code style.

Anonymous Piwik user

In d989c79: Refs #3089, tweaks to getVisitorProfile API output. Includes change that allows xml renderers to use special keys when rendering arrays.

Anonymous Piwik user

In 9cd4cd3: Refs #3089, show visitor profile on 'returning visitor' icon click in real time visits widget, fix bug regarding visitorId API parameter, show correct tooltip for 'returning visitor' icon.

Anonymous Piwik user

In de2d6e0: Refs #3089, display 'visitor profile' text in popup loading message when loading visitor profile.

Anonymous Piwik user

In 4ef16c9: Refs #3089, hack into realtime map a bit to make it extensible enough for visitor profile use cases.

Notes:

  • Added realtimeWindow & removeOldVisits query parameters so amount of data displayed can be changed.
  • Added changeVisitAlpha query parameter so opacity does not have to be changed if desired.
  • More missing cleanup added for realtime map.
  • Only show map if there are visits that will display on it.
  • Removed some dead code from realtime map.
Anonymous Piwik user

In 76a49d3: Refs #3089, fixing two small bugs.

Anonymous Piwik user

In aca4c43: Refs #3089, bug fixes and tweaks to appearance.

Anonymous Piwik user

In 9369f5a: Fixes #3089, finishing touches to UI and code.

Notes:

  • Added new visitId segment to get rid of getSingleVisitSummary API method.
  • Link to widgetized visitor profile in popup.
  • Added export link to visitor profile for visitor profile data.
  • Use CSS truncation instead of twig truncation in visitor log/last visits widget.
Anonymous Piwik user

In 3239568: Refs #3089, do not refresh visits in embedded realtime map in visitor profile..

Anonymous Piwik user

In 49b4d0f: Refs #3089, show site search and avg. page load time info in visitor profile.

Anonymous Piwik user

In 59e7280: Refs #3089, show provider on hover of IP address, show browser plugin info on hover of browser and fix bug in realtime map URL used in visitor profile.

Anonymous Piwik user

In 97bd07b: Refs #3089, display visitor profile launch link only on hover and in upper right column of row.

Anonymous Piwik user

In c0f2eb2: Refs #3089, show visitor profile launch link on hover of entire row instead of just last cell.

Anonymous Piwik user

In 1664a6d: Refs #3089, fixing regressions in visitor profile.

Anonymous Piwik user

In 3f622e8: Refs #3089, fixing regression in visitor profile template.

Anonymous Piwik user

In 94fd68f: Refs #3089, fixing more bugs in visitor profile.

Anonymous Piwik user

In 31f518a: Refs #3089, several visitor profile tweaks.

Anonymous Piwik user

In 4bc5cb7: Refs #3089, fix realtime map url regression in visitor profile and fix build.

Benaka
Collaborator

In e2de34f: Refs #3089, sort site search keywords in reverse order in visitor profile.

Matthieu Aubry mattab added this to the 2.0 - Piwik 2.0 milestone
Benaka diosmosis was assigned by mattab
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, add initial visitor profile popup that uses dynamic data …
…from Live plugin API. No client-side behavior yet & placeholder images still present.
a3bc697
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, use proper loading text for visitor profile, tweak look, …
…and add behavior for close button.
b89b9bb
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fix namespace bug in PluginsArchiver.php, i18n & tweak vi…
…sitor profile popup, and only display ecommerce info on visitor profile if ecommerce is enabled for the site.
d42f2f2
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, rewrote visitor profile html to organize data as rows w/ …
…columns instead of columns w/ rows, removed unneeded map JPG, modified visitor profile LESS files to use constants for width/height, and removed footer of embedded user country map in visitor profile.
4e582bc
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, allow more than 4 custom variables to show in visitor pro…
…file via expanding div.
8d7b7dc
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, rewrite _actionsList.twig to use <p> elements instead of …
…line breaks (for better looking visitor profile).
70a0174
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, add click on individual visit behavior in visitor profile…
…, make sure footer of usercountry map is not shown at all.
954c66c
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, added behavior for click on 'view more information' that …
…loads more visits into the visit list.

Notes:
  - Fixed bug in reinitialise() of jquery.jscrollpane.js.
93e2098
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, use realtime map instead of usercountry map so as not to …
…engage potentially slow segmentation.
7f71441
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, refactor visitor profile JavaScript & move it to new Java…
…Script file.
781a359
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, make sure visitor profile can be opened via popover, docu…
…ment popover persisting functions in broadcast object and hide 'There is no data' message in embedded real time map in the visitor profile popup.
29b4cf8
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, allow visitor profile to be used as widget, remove period…
…/date requirement for getting visitor profile data, fix bug in realtime map embedding and fix twig bug in visitor log tooltip.
fa88a9c
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, added ability to browse through all visitors w/ 'previous…
…/next visitor' links or by hitting the left/right keys and fix widget css issue.

Notes:
  - Added ability to reload widget w/ overridden parameters that are not persisted.
27e0da5
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Fabian Becker halfdan Fix test for new Live Widget
refs #3089
f172c29
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, hide map on default and display w/ 'show map' link, remov…
…e jscrollpane and move location + bar graph to the left column.
f863905
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, added countries & continents to Live.getVisitorProfile ou…
…tput in preparation for initially zooming realtime map.
e32f417
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, show 'no more visits' when no more visits to load in visi…
…tor profile and force scroll to new visits when loading more visits.
0f0b327
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, show previous/next visitor links as arrows that appear on…
…ly on hover of the upper left section in the visitor profile.
92a10be
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fix a bug in visitor profile (left/right keys didn't chan…
…ge visitor on firefox) and highlight latest visit section after loading individual visit details.
6881a1b
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, display 'There are no more visits' if its known there are…
… no more visits to display in the visitor profile.
046502f
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fix double encoded segment bug in visitor profile & UserC…
…ountryMap & make sure segment override is used by UserCountryMap.
1fe2767
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, allow visitor avatar image to be set based on visitor pro…
…file data, and add event that plugins can use to augment visitor profile data.
ef9a068
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fixing build. db9e78b
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, tweaks and fixes to visitor profile interface and make su…
…re adjacent visitor retrieval works w/ segments.
94eff35
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, #4116, display visitor profile popup when visit in realti…
…me map is clicked.

Notes:
  - Includes new UIControl base type.
  - Fixes cleanup bugs in realtime map and popover closing.
  - Refactored realtime map so as little JavaScript as possible is included in HTML fragments.
  - Allow more than one realtime map to exist on a single page.
6d884e1
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, only show map in visitor profile if map is not showing on…
… another part of the screen, load the map through AJAX, and some tweaks to code style.
d6f9451
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, tweaks to getVisitorProfile API output. Includes change t…
…hat allows xml renderers to use special keys when rendering arrays.
d989c79
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, show visitor profile on 'returning visitor' icon click in…
… real time visits widget, fix bug regarding visitorId API parameter, show correct tooltip for 'returning visitor' icon.
9cd4cd3
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, display 'visitor profile' text in popup loading message w…
…hen loading visitor profile.
de2d6e0
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, hack into realtime map a bit to make it extensible enough…
… for visitor profile use cases.

Notes:
  - Added realtimeWindow & removeOldVisits query parameters so amount of data displayed can be changed.
  - Added changeVisitAlpha query parameter so opacity does not have to be changed if desired.
  - More missing cleanup added for realtime map.
  - Only show map if there are visits that will display on it.
  - Removed some dead code from realtime map.
4ef16c9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fixing two small bugs. 76a49d3
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, bug fixes and tweaks to appearance. aca4c43
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Fixes #3089, finishing touches to UI and code.
Notes:
  - Added new visitId segment to get rid of getSingleVisitSummary API method.
  - Link to widgetized visitor profile in popup.
  - Added export link to visitor profile for visitor profile data.
  - Use CSS truncation instead of twig truncation in visitor log/last visits widget.
9369f5a
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, show provider on hover of IP address, show browser plugin…
… info on hover of browser and fix bug in realtime map URL used in visitor profile.
59e7280
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, display visitor profile launch link only on hover and in …
…upper right column of row.
97bd07b
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, show visitor profile launch link on hover of entire row i…
…nstead of just last cell.
c0f2eb2
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fixing regressions in visitor profile. 1664a6d
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, fixing more bugs in visitor profile. 94fd68f
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #3089, several visitor profile tweaks. 31f518a
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.