Ticket #536 (closed New feature: fixed)

Opened 3 years ago

Last modified 3 months ago

Add Loyalty report "Visitors who visited the website 1 time, 2 times, etc."

Reported by: matt Owned by:
Priority: major Milestone: 1.8 Piwik 1.8
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt) (diff)

  • Loyalty: M people visited N times

See

We probably need to keep track of the count of visits for each visitor in a new table, to be able to tell this stat on more than 1 day range.

Change History

Changed 3 years ago by matt

  • description modified (diff)

Changed 3 years ago by matt

  • type changed from Task to New feature

Changed 2 years ago by koteiko

Changed 21 months ago by matt

  • sensitive unset
  • milestone changed from 4 - Piwik 1.0 - Stable release to Features requests - after Piwik 1.0

Changed 19 months ago by matt

Changed 13 months ago by matt

  • priority changed from major to normal
  • description modified (diff)
  • summary changed from Add Loyalty and Recency reports to Add Loyalty report "Visitors who visited the website 1 time, 2 times, etc."

Moved Recency report requirement in #583

Changed 11 months ago by matt

  • priority changed from normal to major
  • milestone changed from Feature requests to 1.3 - Piwik 1.3

This is also easy to implement now, because log_visit contains the field piwik_log_visit.visitor_count_visits which is the count of visits. This is set using the first party cookies counter. We can therefore query GROUP by this field and get the report.

The GA breakdown is as follows:

Count of visits from this visitor including current Visits that were the visitor's nth visit Percentage of all visits

Count of visits from this visitor including current 	Visits that were the visitor's nth visit
1 times 	179,528.00 	
2 times 	16,412.00 	
3 times 	6,006.00 	
4 times 	3,389.00 	
5 times 	2,371.00 	
6 times 	1,819.00 	
7 times 	1,469.00 	
8 times 	1,236.00 	
9-14 times 	4,590.00 	
15-25 times 	3,997.00 	
26-50 times 	3,880.00 	
51-100 times 	2,665.00 	
101-200 times 	958.00 	
201+ times 	1,481.00 	

We can reuse the same breakdown as it is relevant and consistent. See also similar #584, #2031

Changed 5 months ago by capedfuzz

Got a question about this issue: where would this specific report be placed? Thanks in advance.

Changed 5 months ago by matt

where would this specific report be placed?

I would say Visitor > Engagement report page (already built using 2 plugins outputs).

Changed 3 months ago by matt

  • status changed from new to closed
  • resolution set to fixed

(In [5378]) Fixes #584, #536, #2031 - Kuddos to Benaka akka capedfuzz for this great patch!!! I did a few minor modifications in wording and metadata output

  • Add Report "Visits by visit number" under Visitors > Engagement
  • Add Report for all Goals (including ecommerce): "Visit until Conversion": number of visits until the conversion occured
  • Add Report for all Goals (including ecommerce): "Days until Conversion": days since the first visit

Notes

  • These new reports are also in the Metadata API so should be displayed in Piwik Mobile, and can be exported in the Scheduled reports.
  • filter_only_idgoal now renamed as idGoal for consistency
  • refactored the "Beautify labels" for ranges in generic filters
  • refactored archiving code to process multiple reports in one generic SQL query

Changed 3 months ago by JulienM

It seems Visitors > Engagement > "Visits by visit number" column titles are not clickable/sortable, is it by design ?

The other two reports are ok.

Changed 3 months ago by capedfuzz

I disabled sorting for that report since the other two VisitorInterest reports also disable it. I don't know if this is the desired behavior, but I could make some changes when I submit a patch for #583 (shouldn't be too long now...).

Note: See TracTickets for help on using tickets.