diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-12-09 01:25:34 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-12-09 01:25:34 +0300 |
commit | cf7d63625f565da0fc651439a911cb46cc29c08d (patch) | |
tree | ccd29b217c13dba1884519a614fb014379e5b09b /plugins/Ecommerce | |
parent | 33f074e63e06bd1ac1d5608b040af49bb19104b9 (diff) |
Visit by hour should show report based on first action time (#13175)
* Visit by hour should show report based on first action time
Just a suggestion. IMO it is way more important to see at what hour you acquired specific users compared to when they dropped off. Especially if you are running certain ads for example etc. We could also add another report "first" and "last action" hour but I think that not both are actually needed and keeping it simple be better.
Performance wise this shouldn't have really any impact as the index be still used in the back by the where statement.
* fixed ui tests
* update screenshots
* update some expected files
* use first action time dimension
* update expected files
* update two more screenshots
Diffstat (limited to 'plugins/Ecommerce')
6 files changed, 89 insertions, 95 deletions
diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_Metadata_VisitTime.getVisitInformationPerServerTime__API.getProcessedReport_day.xml b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_Metadata_VisitTime.getVisitInformationPerServerTime__API.getProcessedReport_day.xml index 1f571c5f87..80b7001673 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_Metadata_VisitTime.getVisitInformationPerServerTime__API.getProcessedReport_day.xml +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_Metadata_VisitTime.getVisitInformationPerServerTime__API.getProcessedReport_day.xml @@ -8,7 +8,7 @@ <name>Visits per server time</name> <module>VisitTime</module> <action>getVisitInformationPerServerTime</action> - <dimension>Server time - hour (End of visit)</dimension> + <dimension>Server time - hour (Start of visit)</dimension> <documentation>This graph shows what time it was in the <strong> server's time zone </strong> during the visits.</documentation> <metrics> <nb_visits>Visits</nb_visits> @@ -43,7 +43,7 @@ <uniqueId>VisitTime_getVisitInformationPerServerTime</uniqueId> </metadata> <columns> - <label>Server time - hour (End of visit)</label> + <label>Server time - hour (Start of visit)</label> <nb_visits>Visits</nb_visits> <nb_uniq_visitors>Unique visitors</nb_uniq_visitors> <nb_actions>Actions</nb_actions> @@ -67,25 +67,25 @@ </row> <row> <label>01</label> - <nb_uniq_visitors>0</nb_uniq_visitors> - <nb_visits>0</nb_visits> - <nb_actions>0</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>6</nb_actions> <nb_users>0</nb_users> - <nb_actions_per_visit>0</nb_actions_per_visit> - <avg_time_on_site>00:00:00</avg_time_on_site> + <nb_actions_per_visit>6</nb_actions_per_visit> + <avg_time_on_site>01:06:01</avg_time_on_site> <bounce_rate>0%</bounce_rate> <revenue>$ 0</revenue> </row> <row> <label>02</label> - <nb_uniq_visitors>1</nb_uniq_visitors> - <nb_visits>1</nb_visits> - <nb_actions>6</nb_actions> - <nb_users>0</nb_users> <revenue>$ 3111.11</revenue> - <nb_actions_per_visit>6</nb_actions_per_visit> - <avg_time_on_site>01:06:01</avg_time_on_site> + <nb_visits>0</nb_visits> + <nb_actions_per_visit>0</nb_actions_per_visit> + <avg_time_on_site>00:00:00</avg_time_on_site> <bounce_rate>0%</bounce_rate> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_actions>0</nb_actions> + <nb_users>0</nb_users> </row> <row> <label>03</label> @@ -321,76 +321,76 @@ </reportData> <reportMetadata> <row> - <segment>visitServerHour==0</segment> + <segment>visitStartServerHour==0</segment> </row> <row> - <segment>visitServerHour==1</segment> + <segment>visitStartServerHour==1</segment> </row> <row> - <segment>visitServerHour==2</segment> + <segment>visitStartServerHour==2</segment> </row> <row> - <segment>visitServerHour==3</segment> + <segment>visitStartServerHour==3</segment> </row> <row> - <segment>visitServerHour==4</segment> + <segment>visitStartServerHour==4</segment> </row> <row> - <segment>visitServerHour==5</segment> + <segment>visitStartServerHour==5</segment> </row> <row> - <segment>visitServerHour==6</segment> + <segment>visitStartServerHour==6</segment> </row> <row> - <segment>visitServerHour==7</segment> + <segment>visitStartServerHour==7</segment> </row> <row> - <segment>visitServerHour==8</segment> + <segment>visitStartServerHour==8</segment> </row> <row> - <segment>visitServerHour==9</segment> + <segment>visitStartServerHour==9</segment> </row> <row> - <segment>visitServerHour==10</segment> + <segment>visitStartServerHour==10</segment> </row> <row> - <segment>visitServerHour==11</segment> + <segment>visitStartServerHour==11</segment> </row> <row> - <segment>visitServerHour==12</segment> + <segment>visitStartServerHour==12</segment> </row> <row> - <segment>visitServerHour==13</segment> + <segment>visitStartServerHour==13</segment> </row> <row> - <segment>visitServerHour==14</segment> + <segment>visitStartServerHour==14</segment> </row> <row> - <segment>visitServerHour==15</segment> + <segment>visitStartServerHour==15</segment> </row> <row> - <segment>visitServerHour==16</segment> + <segment>visitStartServerHour==16</segment> </row> <row> - <segment>visitServerHour==17</segment> + <segment>visitStartServerHour==17</segment> </row> <row> - <segment>visitServerHour==18</segment> + <segment>visitStartServerHour==18</segment> </row> <row> - <segment>visitServerHour==19</segment> + <segment>visitStartServerHour==19</segment> </row> <row> - <segment>visitServerHour==20</segment> + <segment>visitStartServerHour==20</segment> </row> <row> - <segment>visitServerHour==21</segment> + <segment>visitStartServerHour==21</segment> </row> <row> - <segment>visitServerHour==22</segment> + <segment>visitStartServerHour==22</segment> </row> <row> - <segment>visitServerHour==23</segment> + <segment>visitStartServerHour==23</segment> </row> </reportMetadata> <reportTotal> @@ -426,8 +426,8 @@ </goals> <nb_conversions>3</nb_conversions> <revenue>3121.11</revenue> - <nb_visits_converted>0</nb_visits_converted> - <conversion_rate>0%</conversion_rate> + <nb_visits_converted>1</nb_visits_converted> + <conversion_rate>33.33%</conversion_rate> <nb_actions_per_visit>4.3</nb_actions_per_visit> <avg_time_on_site>1801</avg_time_on_site> <bounce_rate>0%</bounce_rate> diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__VisitTime.getVisitInformationPerServerTime_day.xml b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__VisitTime.getVisitInformationPerServerTime_day.xml index 242bd1e8b2..d1f4094adf 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__VisitTime.getVisitInformationPerServerTime_day.xml +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__VisitTime.getVisitInformationPerServerTime_day.xml @@ -18,22 +18,10 @@ </goals> <nb_conversions>1</nb_conversions> <revenue>10</revenue> - <segment>visitServerHour==0</segment> + <segment>visitStartServerHour==0</segment> </row> <row> <label>01</label> - <nb_uniq_visitors>0</nb_uniq_visitors> - <nb_visits>0</nb_visits> - <nb_actions>0</nb_actions> - <nb_users>0</nb_users> - <max_actions>0</max_actions> - <sum_visit_length>0</sum_visit_length> - <bounce_count>0</bounce_count> - <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==1</segment> - </row> - <row> - <label>02</label> <nb_uniq_visitors>1</nb_uniq_visitors> <nb_visits>1</nb_visits> <nb_actions>6</nb_actions> @@ -41,6 +29,11 @@ <max_actions>6</max_actions> <sum_visit_length>3961</sum_visit_length> <bounce_count>0</bounce_count> + <nb_visits_converted>1</nb_visits_converted> + <segment>visitStartServerHour==1</segment> + </row> + <row> + <label>02</label> <goals> <row idgoal='ecommerceAbandonedCart'> <nb_conversions>1</nb_conversions> @@ -61,7 +54,8 @@ </goals> <nb_conversions>2</nb_conversions> <revenue>3111.11</revenue> - <segment>visitServerHour==2</segment> + <nb_visits>0</nb_visits> + <segment>visitStartServerHour==2</segment> </row> <row> <label>03</label> @@ -73,7 +67,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==3</segment> + <segment>visitStartServerHour==3</segment> </row> <row> <label>04</label> @@ -85,7 +79,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==4</segment> + <segment>visitStartServerHour==4</segment> </row> <row> <label>05</label> @@ -97,7 +91,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==5</segment> + <segment>visitStartServerHour==5</segment> </row> <row> <label>06</label> @@ -109,7 +103,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==6</segment> + <segment>visitStartServerHour==6</segment> </row> <row> <label>07</label> @@ -130,7 +124,7 @@ </goals> <nb_conversions>0</nb_conversions> <revenue>0</revenue> - <segment>visitServerHour==7</segment> + <segment>visitStartServerHour==7</segment> </row> <row> <label>08</label> @@ -142,7 +136,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==8</segment> + <segment>visitStartServerHour==8</segment> </row> <row> <label>09</label> @@ -154,7 +148,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==9</segment> + <segment>visitStartServerHour==9</segment> </row> <row> <label>10</label> @@ -166,7 +160,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==10</segment> + <segment>visitStartServerHour==10</segment> </row> <row> <label>11</label> @@ -178,7 +172,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==11</segment> + <segment>visitStartServerHour==11</segment> </row> <row> <label>12</label> @@ -190,7 +184,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==12</segment> + <segment>visitStartServerHour==12</segment> </row> <row> <label>13</label> @@ -202,7 +196,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==13</segment> + <segment>visitStartServerHour==13</segment> </row> <row> <label>14</label> @@ -214,7 +208,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==14</segment> + <segment>visitStartServerHour==14</segment> </row> <row> <label>15</label> @@ -226,7 +220,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==15</segment> + <segment>visitStartServerHour==15</segment> </row> <row> <label>16</label> @@ -238,7 +232,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==16</segment> + <segment>visitStartServerHour==16</segment> </row> <row> <label>17</label> @@ -250,7 +244,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==17</segment> + <segment>visitStartServerHour==17</segment> </row> <row> <label>18</label> @@ -262,7 +256,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==18</segment> + <segment>visitStartServerHour==18</segment> </row> <row> <label>19</label> @@ -274,7 +268,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==19</segment> + <segment>visitStartServerHour==19</segment> </row> <row> <label>20</label> @@ -286,7 +280,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==20</segment> + <segment>visitStartServerHour==20</segment> </row> <row> <label>21</label> @@ -298,7 +292,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==21</segment> + <segment>visitStartServerHour==21</segment> </row> <row> <label>22</label> @@ -310,7 +304,7 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==22</segment> + <segment>visitStartServerHour==22</segment> </row> <row> <label>23</label> @@ -322,6 +316,6 @@ <sum_visit_length>0</sum_visit_length> <bounce_count>0</bounce_count> <nb_visits_converted>0</nb_visits_converted> - <segment>visitServerHour==23</segment> + <segment>visitStartServerHour==23</segment> </row> </result>
\ No newline at end of file diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_and_graph__ScheduledReports.generateReport_week.original.html b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_and_graph__ScheduledReports.generateReport_week.original.html index f3d705b9c2..d97aae0748 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_and_graph__ScheduledReports.generateReport_week.original.html +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_and_graph__ScheduledReports.generateReport_week.original.html @@ -2549,7 +2549,7 @@ </h2> <img alt="" - src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAADICAIAAACF9KXqAAAIn0lEQVR4nO3dPWwceR3H4QlyCPLlRRcUkdgHRzxIPgfRkQqJ4hqQkJBoKGlo6OmoETQ0FAgJCekaSuigPyGuCaJDJILFKJxXiqILmFhEUSKZwmg9Xu/LN57/rGcuz1N5d70//72ZsT/ZnVlfODw8rAAAlvnEeS8AABgG0QAAREQDABARDQBARDQAABHRAABEVhcNdV3Pu3LmTQvuBQCsXi+eaRiNRktvUg8AcL5WFw2j0WjqF39d1wtyAQDolbWy4370yz9OXfOD73556b0m9dCsisk1k9qY3DrVH8oDAFagcDT89Z//efHixeTixYsX9/b2Njc3k/tOPfHQvHhUCc2XKuZ9JgDQkfIvT/y3oaqq8Xg8uan5DMHS3/R5BygGAFiBXhwIeeQoKZIDHvPPBABKKfzyREvNIxuS5yGSzwQAiigfDevr6wtunbxCsfQ0y+RIh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1fY2dnZ3d29fPly+P2Jhw8fHh4e3rhxo+DMxlIt1VIt1VIt1VIDjmkAACJPHmmYTqfepwEA6HLs6QmhAAB08fQEABB58uoJAIAVir1PQ+vxEP0PkuiacHR+wZmVltpz7Oqrb/xW3yfHLp7T9eNOO3Pp/IEvdZgbQNO2qdeY2XVmz7HD/PVbxy5eVGSp/TfU1rFLwwe+1GFuAO6teo2dlbC/v3/yZOuZ/cd2ze8zs9JSe45dffX9/f16t0CRmfXGrj3ztDOHuQG0zqkxs+vMnmOH+eu3jl28qNTMnht/19j+k9f+W1e6BQayAbi36jl2lMc0FD9gs9IRoPUOLB3Fx4ltYZGjuB36qPHbtc7s/4NOThjmzBVD+mxOW/sb0n+bX331jedvbVsd4MwVY/v8uK3tqqca622kx6fSPWWNF9x6ES9jUWO3qrT92604Q6JhWfG/HT2ffTw5bQv1XeqnVP2w9YIDvUlJbWX/9cvuU02d3arSPtXU3K3KThv+blXvP2A1ArTGw04nPz7i6IsVY0XDE/0PBGu1eJhJqW5Y/HqAu+LodH3wSk9LfzSfTjV2q+L7VGO3qqDGblVqn6r0177G2K0dttxke5Zo+MNY/kxU/b/7iIzld+866vspMdJ/plGsubix/OL99ykPMPSZMMoDIYvbwlECAzeipY7UWP4iF1T7KIGBG9FSR2qzDUwxdI0Nr17szZ3O6uWkG0yu8dL/1rFdZ/acuXjpcF77u+UNoP/jcidnnjyz4Nj+M5u2zbXnv1TrzFJj++9WNX79rrGLl9a4VYe/AfS/K2odu3ROwZlFbtKTYzebnIw97eTWmcV3q+aUt4B3hAQAIp6eAAAiogEAiPwO97TA4cxRaAkAAAAASUVORK5CYII=" height="200" width="700" margin="0 auto"/> @@ -2560,7 +2560,7 @@ <table style="border-collapse:collapse; border:1px solid rgb(231,231,231); padding:5px;"> <thead style="background-color: #f2f2f2;"> <th style="border-bottom:1px solid rgb(231,231,231);font-size: 15px;text-align: left;font-weight:normal;padding:13px 0 13px 10px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - Server time - hour (End of visit) + Server time - hour (Start of visit) </th> <th style="border-bottom:1px solid rgb(231,231,231);font-size: 15px;text-align: left;font-weight:normal;padding:13px 0 13px 10px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif; text-align:right;"> Visits @@ -2610,16 +2610,16 @@ <td style="padding:17px 15px;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 1 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 6 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 6 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 00:00:00 + 01:06:01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 0% @@ -2633,16 +2633,16 @@ <td style="padding:17px 15px;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 02 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 2 + 1 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 9 + 3 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 4.5 + 3 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 00:42:01 + 00:18:01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 0% diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_only__ScheduledReports.generateReport_week.original.html b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_only__ScheduledReports.generateReport_week.original.html index b7cc46dc3e..24449c0595 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_only__ScheduledReports.generateReport_week.original.html +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_html_tables_only__ScheduledReports.generateReport_week.original.html @@ -2413,7 +2413,7 @@ <table style="border-collapse:collapse; border:1px solid rgb(231,231,231); padding:5px;"> <thead style="background-color: #f2f2f2;"> <th style="border-bottom:1px solid rgb(231,231,231);font-size: 15px;text-align: left;font-weight:normal;padding:13px 0 13px 10px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - Server time - hour (End of visit) + Server time - hour (Start of visit) </th> <th style="border-bottom:1px solid rgb(231,231,231);font-size: 15px;text-align: left;font-weight:normal;padding:13px 0 13px 10px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif; text-align:right;"> Visits @@ -2463,16 +2463,16 @@ <td style="padding:17px 15px;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 1 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 6 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 0 + 6 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 00:00:00 + 01:06:01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 0% @@ -2486,16 +2486,16 @@ <td style="padding:17px 15px;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 02 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 2 + 1 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 9 + 3 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 4.5 + 3 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> - 00:42:01 + 00:18:01 </td> <td style="padding:17px 15px; text-align:right;;border-bottom:1px solid rgb(231,231,231);font-size: 15px;padding:17px 15px;color:#0d0d0d;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, 'Helvetica Neue', sans-serif;"> 0% diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_csv__ScheduledReports.generateReport_week.original.csv b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_csv__ScheduledReports.generateReport_week.original.csv index 19eec7be60..3442434f26 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_csv__ScheduledReports.generateReport_week.original.csv +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_csv__ScheduledReports.generateReport_week.original.csv @@ -117,8 +117,8 @@ label,nb_visits,nb_actions,conversion_rate,nb_actions_per_visit,avg_time_on_site Visits per server time label,nb_visits,nb_actions,revenue,nb_actions_per_visit,avg_time_on_site,bounce_rate 00,1,4,$ 10,4,00:12:01,0% -01,0,0,$ 0,0,00:00:00,0% -02,2,9,$ 3111.11,4.5,00:42:01,0% +01,1,6,$ 0,6,01:06:01,0% +02,1,3,$ 3111.11,3,00:18:01,0% 03,0,0,$ 0,0,00:00:00,0% 04,0,0,$ 0,0,00:00:00,0% 05,0,0,$ 0,0,00:00:00,0% diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf Binary files differindex bc0e02c299..a6647379b6 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf |