Skip to content

Commit

Permalink
Refs #3632 New test case: replaying logs and forcing a window look ba…
Browse files Browse the repository at this point in the history
…ck (forceLargeWindowLookBackForVisitor=1)

=> The visitor is now marked as "returning" as expected
  • Loading branch information
mattab committed Mar 13, 2014
1 parent fd13666 commit 029bb87
Show file tree
Hide file tree
Showing 35 changed files with 53 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
<entry_sum_visit_length>0</entry_sum_visit_length>
<entry_bounce_count>3</entry_bounce_count>
<exit_nb_visits>3</exit_nb_visits>
<sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>3</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>3</sum_daily_exit_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>2</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>2</sum_daily_exit_nb_uniq_visitors>
<avg_time_on_page>0</avg_time_on_page>
<bounce_rate>100%</bounce_rate>
<exit_rate>100%</exit_rate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
<entry_sum_visit_length>0</entry_sum_visit_length>
<entry_bounce_count>3</entry_bounce_count>
<exit_nb_visits>3</exit_nb_visits>
<sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>3</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>3</sum_daily_exit_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>2</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>2</sum_daily_exit_nb_uniq_visitors>
<avg_time_on_page>0</avg_time_on_page>
<bounce_rate>100%</bounce_rate>
<exit_rate>100%</exit_rate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<nb_hits_with_time_generation>0</nb_hits_with_time_generation>
<min_time_generation />
<max_time_generation>0</max_time_generation>
<sum_daily_nb_uniq_visitors>20</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>19</sum_daily_nb_uniq_visitors>
<avg_time_on_page>0</avg_time_on_page>
<bounce_rate>0%</bounce_rate>
<exit_rate>0%</exit_rate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
<entry_sum_visit_length>0</entry_sum_visit_length>
<entry_bounce_count>3</entry_bounce_count>
<exit_nb_visits>3</exit_nb_visits>
<sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>3</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>3</sum_daily_exit_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors>
<sum_daily_entry_nb_uniq_visitors>2</sum_daily_entry_nb_uniq_visitors>
<sum_daily_exit_nb_uniq_visitors>2</sum_daily_exit_nb_uniq_visitors>
<avg_time_on_page>0</avg_time_on_page>
<bounce_rate>100%</bounce_rate>
<exit_rate>100%</exit_rate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</goals>
<nb_conversions>5</nb_conversions>
<revenue>25</revenue>
<sum_daily_nb_uniq_visitors>7</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>6</sum_daily_nb_uniq_visitors>
<subtable>
<row>
<label>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) RockMelt/0.9.58.494 Chrome/11.0.696.71 Safari/534.24</label>
Expand All @@ -72,7 +72,7 @@
</goals>
<nb_conversions>3</nb_conversions>
<revenue>15</revenue>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors>
</row>
<row>
<label>Apache-HttpClient/4.2.1 (java 1.5)</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>32</bounce_count>
<nb_visits_converted>34</nb_visits_converted>
<sum_daily_nb_uniq_visitors>37</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>36</sum_daily_nb_uniq_visitors>
<logo>plugins/DevicesDetection/images/brand/unknown.ico</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>14</bounce_count>
<nb_visits_converted>14</nb_visits_converted>
<sum_daily_nb_uniq_visitors>16</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>15</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/browsers/CH.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>3</bounce_count>
<nb_visits_converted>4</nb_visits_converted>
<sum_daily_nb_uniq_visitors>5</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/browsers/CH.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>32</bounce_count>
<nb_visits_converted>34</nb_visits_converted>
<sum_daily_nb_uniq_visitors>37</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>36</sum_daily_nb_uniq_visitors>
</row>
<row>
<label>Vision</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<sum_visit_length>339</sum_visit_length>
<bounce_count>6</bounce_count>
<nb_visits_converted>8</nb_visits_converted>
<sum_daily_nb_uniq_visitors>9</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>8</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/os/MAC.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>3</bounce_count>
<nb_visits_converted>4</nb_visits_converted>
<sum_daily_nb_uniq_visitors>5</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/os/MAC.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>32</bounce_count>
<nb_visits_converted>34</nb_visits_converted>
<sum_daily_nb_uniq_visitors>37</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>36</sum_daily_nb_uniq_visitors>
<logo>plugins/DevicesDetection/images/screens/normal.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@
<idVisit>38</idVisit>
<visitIp>84.194.72.21</visitIp>

<visitorType>new</visitorType>
<visitorTypeIcon />
<visitorType>returning</visitorType>
<visitorTypeIcon>plugins/Live/images/returningVisitor.gif</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitEcommerceStatus>none</visitEcommerceStatus>
Expand Down Expand Up @@ -1693,8 +1693,8 @@
<idVisit>25</idVisit>
<visitIp>175.41.192.41</visitIp>

<visitorType>new</visitorType>
<visitorTypeIcon />
<visitorType>returning</visitorType>
<visitorTypeIcon>plugins/Live/images/returningVisitor.gif</visitorTypeIcon>
<visitConverted>1</visitConverted>
<visitConvertedIcon>plugins/Zeitgeist/images/goal.png</visitConvertedIcon>
<visitEcommerceStatus>none</visitEcommerceStatus>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>34</bounce_count>
<nb_visits_converted>36</nb_visits_converted>
<sum_daily_nb_uniq_visitors>39</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>38</sum_daily_nb_uniq_visitors>
<url>http://piwik.org/faq/general/#faq_52</url>
</row>
</result>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</goals>
<nb_conversions>24</nb_conversions>
<revenue>120</revenue>
<sum_daily_nb_uniq_visitors>28</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>27</sum_daily_nb_uniq_visitors>
</row>
<row>
<label>Websites</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</goals>
<nb_conversions>22</nb_conversions>
<revenue>110</revenue>
<sum_daily_nb_uniq_visitors>24</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>23</sum_daily_nb_uniq_visitors>
<city_name>Unknown</city_name>
<city>xx</city>
<region>xx</region>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</goals>
<nb_conversions>11</nb_conversions>
<revenue>55</revenue>
<sum_daily_nb_uniq_visitors>12</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>11</sum_daily_nb_uniq_visitors>
<code>Asia</code>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</goals>
<nb_conversions>11</nb_conversions>
<revenue>55</revenue>
<sum_daily_nb_uniq_visitors>12</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>11</sum_daily_nb_uniq_visitors>
<code>jp</code>
<logo>plugins/UserCountry/images/flags/jp.png</logo>
<logoWidth>16</logoWidth>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</goals>
<nb_conversions>22</nb_conversions>
<revenue>110</revenue>
<sum_daily_nb_uniq_visitors>24</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>23</sum_daily_nb_uniq_visitors>
<region>xx</region>
<country>xx</country>
<country_name>Unknown</country_name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>7</bounce_count>
<nb_visits_converted>7</nb_visits_converted>
<sum_daily_nb_uniq_visitors>9</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>8</sum_daily_nb_uniq_visitors>
<shortLabel>Unknown</shortLabel>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>3</bounce_count>
<nb_visits_converted>4</nb_visits_converted>
<sum_daily_nb_uniq_visitors>5</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/browsers/UNK.gif</logo>
<shortLabel>RockMelt 0.9</shortLabel>
</row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>3</bounce_count>
<nb_visits_converted>4</nb_visits_converted>
<sum_daily_nb_uniq_visitors>5</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/browsers/UNK.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>3</bounce_count>
<nb_visits_converted>4</nb_visits_converted>
<sum_daily_nb_uniq_visitors>5</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>4</sum_daily_nb_uniq_visitors>
</row>
<row>
<label>Windows 7 / Internet Explorer / unknown</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>34</bounce_count>
<nb_visits_converted>36</nb_visits_converted>
<sum_daily_nb_uniq_visitors>39</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>38</sum_daily_nb_uniq_visitors>
</row>
</result>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>430</sum_visit_length>
<bounce_count>29</bounce_count>
<nb_visits_converted>32</nb_visits_converted>
<sum_daily_nb_uniq_visitors>34</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>33</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/screens/normal.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<sum_visit_length>339</sum_visit_length>
<bounce_count>6</bounce_count>
<nb_visits_converted>8</nb_visits_converted>
<sum_daily_nb_uniq_visitors>9</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>8</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/os/MAC.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<sum_visit_length>339</sum_visit_length>
<bounce_count>6</bounce_count>
<nb_visits_converted>8</nb_visits_converted>
<sum_daily_nb_uniq_visitors>9</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>8</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/os/MAC.gif</logo>
<shortLabel>Mac OS</shortLabel>
</row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>23</bounce_count>
<nb_visits_converted>23</nb_visits_converted>
<sum_daily_nb_uniq_visitors>25</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>24</sum_daily_nb_uniq_visitors>
</row>
<row>
<label>1920x1080</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<sum_visit_length>305</sum_visit_length>
<bounce_count>23</bounce_count>
<nb_visits_converted>23</nb_visits_converted>
<sum_daily_nb_uniq_visitors>25</sum_daily_nb_uniq_visitors>
<sum_daily_nb_uniq_visitors>24</sum_daily_nb_uniq_visitors>
<logo>plugins/UserSettings/images/screens/unknown.gif</logo>
</row>
<row>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
<nb_uniq_visitors_returning>6</nb_uniq_visitors_returning>
<nb_visits_returning>6</nb_visits_returning>
<nb_actions_returning>8</nb_actions_returning>
<nb_visits_converted_returning>6</nb_visits_converted_returning>
<bounce_count_returning>4</bounce_count_returning>
<nb_uniq_visitors_returning>8</nb_uniq_visitors_returning>
<nb_visits_returning>8</nb_visits_returning>
<nb_actions_returning>10</nb_actions_returning>
<nb_visits_converted_returning>7</nb_visits_converted_returning>
<bounce_count_returning>6</bounce_count_returning>
<sum_visit_length_returning>115</sum_visit_length_returning>
<max_actions_returning>2</max_actions_returning>
<bounce_rate_returning>67%</bounce_rate_returning>
<bounce_rate_returning>75%</bounce_rate_returning>
<nb_actions_per_visit_returning>1.3</nb_actions_per_visit_returning>
<avg_time_on_site_returning>19</avg_time_on_site_returning>
<avg_time_on_site_returning>14</avg_time_on_site_returning>
</result>
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<row>
<label>Saturday</label>
<nb_visits>21</nb_visits>
<nb_uniq_visitors>21</nb_uniq_visitors>
<nb_uniq_visitors>20</nb_uniq_visitors>
<nb_actions>28</nb_actions>
<sum_visit_length>430</sum_visit_length>
<bounce_count>16</bounce_count>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<result>
<row>
<label>New visits</label>
<nb_visits>33</nb_visits>
<nb_visits>31</nb_visits>
</row>
<row>
<label>0 days</label>
<nb_visits>4</nb_visits>
<nb_visits>6</nb_visits>
</row>
<row>
<label>1 day</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>38</result>
<result>37</result>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
<nb_uniq_visitors>38</nb_uniq_visitors>
<nb_uniq_visitors>37</nb_uniq_visitors>
<nb_visits>39</nb_visits>
<nb_actions>46</nb_actions>
<nb_visits_converted>36</nb_visits_converted>
Expand Down
Loading

0 comments on commit 029bb87

Please sign in to comment.