diff options
author | diosmosis <benaka@piwik.pro> | 2015-02-06 20:51:52 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-02-08 22:17:59 +0300 |
commit | 579f1e5011566027e40d89f9b79f3b83eb0ded6e (patch) | |
tree | 4db3368d54866a3b686e87347680a56bb9840fe9 /tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml | |
parent | 66f478f0b5aab39be308e1095185773294f0b1f5 (diff) |
Add option to map API tracking parameter to custom variable in log importer script. Includes change to ImportLogs system test and fix for import log custom variable handling (old behavior was to not set multiple custom variables if they were set already instead of simply adding custom variables).
Diffstat (limited to 'tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml')
-rw-r--r-- | tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml | 93 |
1 files changed, 85 insertions, 8 deletions
diff --git a/tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml b/tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml index 0461769807..9545726b49 100644 --- a/tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml +++ b/tests/PHPUnit/System/expected/test_ImportLogs__CustomVariables.getCustomVariables_month.xml @@ -2,24 +2,24 @@ <result> <row> <label>HTTP-code</label> - <nb_actions>39</nb_actions> + <nb_actions>43</nb_actions> <subtable> <row> <label>200</label> - <nb_visits>30</nb_visits> - <nb_actions>32</nb_actions> + <nb_visits>31</nb_visits> + <nb_actions>34</nb_actions> <sum_daily_nb_uniq_visitors>30</sum_daily_nb_uniq_visitors> </row> <row> <label>301</label> - <nb_visits>2</nb_visits> - <nb_actions>2</nb_actions> - <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <nb_visits>3</nb_visits> + <nb_actions>3</nb_actions> + <sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors> </row> <row> <label>404</label> - <nb_visits>2</nb_visits> - <nb_actions>2</nb_actions> + <nb_visits>3</nb_visits> + <nb_actions>3</nb_actions> <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> </row> <row> @@ -132,6 +132,83 @@ </subtable> </row> <row> + <label>User Name</label> + <nb_visits>3</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>3</max_actions> + <sum_visit_length>3</sum_visit_length> + <bounce_count>2</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>2</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <revenue>10</revenue> + </row> + </goals> + <nb_conversions>2</nb_conversions> + <revenue>10</revenue> + <sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors> + <sum_daily_nb_users>1</sum_daily_nb_users> + <subtable> + <row> + <label>user1</label> + <nb_visits>2</nb_visits> + <nb_actions>4</nb_actions> + <max_actions>3</max_actions> + <sum_visit_length>2</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>5</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>5</revenue> + <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> + <sum_daily_nb_users>1</sum_daily_nb_users> + </row> + <row> + <label>user2</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>1</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>5</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>5</revenue> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_nb_users>0</sum_daily_nb_users> + </row> + </subtable> + </row> + <row> + <label>Generation Time</label> + <nb_actions>3</nb_actions> + <subtable> + <row> + <label>359</label> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + <row> + <label>109</label> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + </row> + </subtable> + </row> + <row> <label>Bot</label> <nb_visits>1</nb_visits> <nb_actions>1</nb_actions> |