diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-06-09 11:58:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 11:58:32 +0300 |
commit | 8e25f1c68ab44fb0795b34f3459eabf362976f61 (patch) | |
tree | db4ad5c8474c73fbd1420d734be5cafbe15c5a9b /plugins/CoreConsole | |
parent | bc626e6a3676f075f0b71d3534107da4d504ec44 (diff) |
Track ecommerce views as new dimensions instead of custom variables (#15999)
* Adds new columns to log_link_visit_action table to track ecommerce view data
* update piwik.js to track ecommerce view s the new way
* Adjust archiving
* update tests
* [TEMP] use php-tracker branch for composer
* Archive custom variables the old way, only if Matomo was installed before 4.0
* add fallback to custom variables to keep bc when replaying old logs
* update some expected test files
* fix jslint errors
* update javascript test
* update dimension names
* updates some expected test files
* add product view data to visitor details and add suggested segment values
* updates some expected test files
* rebuilt piwik.js
* adjust checked version
* update expected ui files
* updates some expected test files
* submodule updates
* apply some review feedback
* Show product views in action tooltips
* updates expected UI files
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
Diffstat (limited to 'plugins/CoreConsole')
4 files changed, 18 insertions, 8 deletions
diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml index ec02c9517a..ed78948bce 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_day.xml @@ -1035,7 +1035,7 @@ <type>action</type> <url>http://www.included4.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>57</pageIdAction> + <pageIdAction>61</pageIdAction> <pageId>81</pageId> @@ -1163,7 +1163,7 @@ <type>action</type> <url>http://www.included2.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>59</pageIdAction> + <pageIdAction>63</pageIdAction> <pageId>83</pageId> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml index b3842392c6..685defc42f 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment0_noOptions__Live.getLastVisitsDetails_year.xml @@ -364,7 +364,7 @@ <type>action</type> <url>http://www.notdatefiltered.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>60</pageIdAction> + <pageIdAction>64</pageIdAction> <pageId>84</pageId> @@ -496,6 +496,8 @@ <pageId>30</pageId> + <productViewName>PRODUCT name</productViewName> + <productViewSku>SKU2</productViewSku> <bandwidth>43</bandwidth> <pageviewPosition>1</pageviewPosition> <title>incredible title!</title> @@ -503,6 +505,9 @@ <icon /> <iconSVG>plugins/Morpheus/images/action.svg</iconSVG> + <productViewCategories> + <row>Electronics & Cameras</row> + </productViewCategories> <customVariables> <row> <customVariablePageName3>_pks</customVariablePageName3> @@ -645,7 +650,7 @@ <type>action</type> <url>http://forum.piwik.org/register.php?0,approve=9a94a02145599</url> <pageTitle>Piwik Forums</pageTitle> - <pageIdAction>31</pageIdAction> + <pageIdAction>34</pageIdAction> <pageId>31</pageId> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml index ec02c9517a..ed78948bce 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_day.xml @@ -1035,7 +1035,7 @@ <type>action</type> <url>http://www.included4.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>57</pageIdAction> + <pageIdAction>61</pageIdAction> <pageId>81</pageId> @@ -1163,7 +1163,7 @@ <type>action</type> <url>http://www.included2.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>59</pageIdAction> + <pageIdAction>63</pageIdAction> <pageId>83</pageId> diff --git a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml index b3842392c6..685defc42f 100644 --- a/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml +++ b/plugins/CoreConsole/tests/System/expected/test_ArchiveCronTest_preArchivedSegment1_noOptions__Live.getLastVisitsDetails_year.xml @@ -364,7 +364,7 @@ <type>action</type> <url>http://www.notdatefiltered.com/blog/category/meta/</url> <pageTitle /> - <pageIdAction>60</pageIdAction> + <pageIdAction>64</pageIdAction> <pageId>84</pageId> @@ -496,6 +496,8 @@ <pageId>30</pageId> + <productViewName>PRODUCT name</productViewName> + <productViewSku>SKU2</productViewSku> <bandwidth>43</bandwidth> <pageviewPosition>1</pageviewPosition> <title>incredible title!</title> @@ -503,6 +505,9 @@ <icon /> <iconSVG>plugins/Morpheus/images/action.svg</iconSVG> + <productViewCategories> + <row>Electronics & Cameras</row> + </productViewCategories> <customVariables> <row> <customVariablePageName3>_pks</customVariablePageName3> @@ -645,7 +650,7 @@ <type>action</type> <url>http://forum.piwik.org/register.php?0,approve=9a94a02145599</url> <pageTitle>Piwik Forums</pageTitle> - <pageIdAction>31</pageIdAction> + <pageIdAction>34</pageIdAction> <pageId>31</pageId> |