diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-12-03 23:13:45 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2018-12-03 23:13:45 +0300 |
commit | 8b247a856e14ee5a246182ecf808804bf029b7e0 (patch) | |
tree | 0d4b5a35108462f5f1e910074112feca1d8067bb /plugins/Ecommerce | |
parent | ed877857e59ec5434153e7142b75f67208ef428e (diff) |
Add title, subtitle, and icon to all live actions (#13454)
* add title, subtitle, and icon to all live actions
* Add translations and tweak wording
* fix possible error
* fix incorrect closed if statement
* updates expected test files
* update submodule
Diffstat (limited to 'plugins/Ecommerce')
2 files changed, 48 insertions, 0 deletions
diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml index 83e7ef766b..27699ade88 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_LiveEcommerceStatusOrdered__Live.getLastVisitsDetails_day.xml @@ -26,6 +26,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <title>Ordered (666)</title> + <subtitle>$ 240 revenue - 2 items: TRIPOD - bought day after)</subtitle> </row> <row> @@ -41,6 +43,8 @@ <itemDetails> </itemDetails> <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <title>Ordered (777)</title> + <subtitle>$ 10000 revenue - 0 items: )</subtitle> </row> </actionDetails> @@ -171,6 +175,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>1</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -205,6 +211,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>2</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -239,6 +247,8 @@ <timeSpent>361</timeSpent> <timeSpentPretty>6 min 1s</timeSpentPretty> <interactionPosition>3</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -286,6 +296,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceAbandonedCart.png</icon> + <title>Abandoned Cart</title> + <subtitle>$ 2510.11 revenue - 4 items: PRODUCT THREE LEFT in cart, PRODUCT ONE LEFT in cart, PRODUCT TWO LEFT in cart)</subtitle> </row> </actionDetails> diff --git a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml index 9444dc4dcb..d6046d240b 100644 --- a/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml +++ b/plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml @@ -18,6 +18,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>1</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -52,6 +54,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>2</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -86,6 +90,8 @@ <timeSpent>361</timeSpent> <timeSpentPretty>6 min 1s</timeSpentPretty> <interactionPosition>3</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -133,6 +139,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceAbandonedCart.png</icon> + <title>Abandoned Cart</title> + <subtitle>$ 2510.11 revenue - 4 items: PRODUCT THREE LEFT in cart, PRODUCT ONE LEFT in cart, PRODUCT TWO LEFT in cart)</subtitle> </row> </actionDetails> @@ -263,6 +271,8 @@ <timeSpent>360</timeSpent> <timeSpentPretty>6 min 0s</timeSpentPretty> <interactionPosition>1</interactionPosition> + <title>Looking at Electronics & Cameras page with a page level custom variable</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -285,6 +295,8 @@ <timeSpent>360</timeSpent> <timeSpentPretty>6 min 0s</timeSpentPretty> <interactionPosition>2</interactionPosition> + <title>Looking at Electronics & Cameras page again</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -307,6 +319,8 @@ <timeSpent>720</timeSpent> <timeSpentPretty>12 min 0s</timeSpentPretty> <interactionPosition>3</interactionPosition> + <title>Looking at product page</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -356,6 +370,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <title>Ordered (937nsjusu 3894)</title> + <subtitle>$ 1111.11 revenue - 8 items: PRODUCT name, PRODUCT name BIS)</subtitle> </row> <row> @@ -385,6 +401,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceOrder.png</icon> + <title>Ordered (1037nsjusu4s3894)</title> + <subtitle>$ 2000 revenue - 2 items: PRODUCT name, Canon SLR)</subtitle> </row> <row> @@ -399,6 +417,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>4</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -433,6 +453,8 @@ <timeSpent>180</timeSpent> <timeSpentPretty>3 min 0s</timeSpentPretty> <interactionPosition>5</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -467,6 +489,8 @@ <timeSpent>361</timeSpent> <timeSpentPretty>6 min 1s</timeSpentPretty> <interactionPosition>6</interactionPosition> + <title>View product left in cart</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -514,6 +538,8 @@ </row> </itemDetails> <icon>plugins/Morpheus/images/ecommerceAbandonedCart.png</icon> + <title>Abandoned Cart</title> + <subtitle>$ 2510.11 revenue - 4 items: PRODUCT THREE LEFT in cart, PRODUCT ONE LEFT in cart, PRODUCT TWO LEFT in cart)</subtitle> </row> </actionDetails> @@ -644,6 +670,8 @@ <timeSpent>360</timeSpent> <timeSpentPretty>6 min 0s</timeSpentPretty> <interactionPosition>1</interactionPosition> + <title>incredible title!</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -675,6 +703,8 @@ <url>http://example.org/index.htm</url> <icon>plugins/Morpheus/images/goal.png</icon> + <title>Goal conversion</title> + <subtitle>title match, triggered ONCE ($ 10 revenue)</subtitle> </row> <row> @@ -689,6 +719,8 @@ <timeSpent>360</timeSpent> <timeSpentPretty>6 min 0s</timeSpentPretty> <interactionPosition>2</interactionPosition> + <title>Another Product page</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -723,6 +755,8 @@ <timeSpent>0</timeSpent> <timeSpentPretty>0s</timeSpentPretty> <interactionPosition>3</interactionPosition> + <title>Another Product page with no category</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> @@ -755,6 +789,8 @@ <pageId>4</pageId> <bandwidth /> <interactionPosition>4</interactionPosition> + <title>Another Product page with multiple categories</title> + <subtitle>http://example.org/index.htm</subtitle> <icon /> <customVariables> |