Closed anonymous-matomo-user closed 13 years ago
Attachment: iconsbelowdate.png
Attachment: iconsbesidedate.png
Attachment: VisitorDetail1.png
Attachment: VisitorDetail2.png
Attachment: VisitorDetail3.png
Attachment: VisitorDetail4.png
Attachment: livev4.png
Attachment: visitor_v4_1.png
Attachment: visitor_v4_2.png
Attachment: visitor_v4_3.png
Attachment: example visitor log with ecommerce order.png
Attachment: visitor_v5.zip
Attachment: Live_v6.zip
Please ask these kind of questions in the forum => http://forum.piwik.org
Afaik there is no Live visitor feature in the mobile version yet.
I assumed so and I did post as feature request ;=)
This requires the Live! API to be stabilized and maybe available via the Metadata API. This won't be done for a few releases as this is low priority, but definitely something we want to get done. Depends on fixing performance issues in #1966 as well.
(In [4349]) Refs piwik/piwik#1839 Simplyfying Live! plugin, removing unused code, cleaned up API, only 3 useful functions left with proper names (and more performant too),
Refs #1956 while Live! is not metadata compliant, I now consider the API stable (efficient + function names & parameters) and Piwik Mobile can start using it :) Let me know if you need any other api/ doc / info :)
NB: build will fail since it's pending another change in tracking API which I'll commit asap
I've attached some different screens regarding UI. Any opinions? Further UI suggestions are very welcome.
My favourite is live3.png
Jepp, live3.png is my favourite, too.
Exciting stuff users will love it!! :)
Also think test3 is best, makes good use of UI space /pixels.
Some feedback on UI:
Last 24 hours | 4 visits, 34 pageviews
Last 30 minutes | 2 visits, 24 pageviews
Also it will save a row (only 2 rows instead of 3). Maybe font needs to be a bit smaller to make sure it fits in the width of screen without using 2 lines if for example 8374 visits, 30324 Pageviews (long numbers)
It's best if Piwik Mobile doesnt hardcode any URL of icons, so if there are some please let me know I'll add them to xml output.
(In [4773]) Refs #1956
(In [4779]) Adding translation "from" Refs #1956
Hey Matt,
good ideas! thanks.
Is there a documentation about all possible actionDetail types like "ecommerceOrder?" and their properties?
I'm looking forward to get more feedback...
cool :)
Some ideas:
DATE - 3 ICONS
REFERRER
N PAGEVIEWS (5min 24s)}
I think it makes sense: line 1 = visitor, line 2 = referrer, line 3 = actions on site
Page URL: $URL ($ICON outlink)
Time: $TIME
For normal page view (type == action)
Page Title: $TITLE
Page URL: $URL
Time: $TIME
Regarding standard output, I have compiled a list of different action types currently supported: http://pastebin.com/b1d8jKeB
To see a most recent Live API output for non actions (for visitor attributes) check this file: https://github.com/piwik/piwik/blob/master/tests/integration/expected/test_ecommerceOrderWithItems__Live.getLastVisitsDetails_day.xml
In 1.5 there were a few additions to the output which are not yet on the demo but I will upgrade in the next few hours with latest RC so you can see output in your tests. But, ecommerce is not setup on demo so there won't be ecommerce examples, just the static files there.. is it possible to use these static files for building UI? I plan to make visitor generator generate ecommerce data, but not done yet..
Does it help?
I've attached some new screenshots what I've done so far.
I think Last24 hours/ 30 minutes looks ok now. Made the "values" a bit bigger as they are more important than the titles "Last 24 hours...". If there is not enough space, they will automatically wrap.
There is now also enough space for the icons beside the date. There is possibly a problem on 240x320 devices but I think that's ok.
I've not finished the work on "Visitor - Details". It still looks a bit ugly and I currently have no idea how to display the "itemDetails" of the types "ecommerceOrder & ecommerceAbandonedCart". Do we need these information? Or is "revenue", "revenueTax", "revenueShipping", ... enough?
By the way: Do all icons have the same size? 18w x 12h?
Yes, it does help! Thank you
NICE improvements!
Live review:
Details review:
Products in Ecommerce more information
I attach to the ticket a screenshot of the Piwik visitor log when there is an ecommerce order with products inside. <itemDetails> is the list of all products found in the Cart, or in the Ecommerce order. Maybe they can be displayed similarly to the screenshot: Example for Ecommerce order:
$ICON Ecommerce Order ($ORDERID)
Revenue: $X $CURRENCY, Subtotal: $Y $CURRENCY, $ETC.
List of Products (Quantity: $QUANTITY):
* $PRODUCT NAME ($PRODUCT SKU), $PRODUCT_CATEGORY
- $PRICE $CURRENCY - Quantity: $QTY
* Product 2 idem
* Product 3 etc. idem
Icons: icons have different sizes.. outlink is 10x9, countries are 18x12, browsers & plugins are 14x14, others are 16x16... Do you need to know sizes of icons in advance? I prefer not to add icon sizes in Live output (too much info) but maybe you can hardcode in the code if you need the sizes before fetching? What do you think?
Btw, is there a caching system for caching all icons from piwik?
Hey,
I've attached some updated screens. I display values only if they are "set" now.
I already use "serverTimePretty and serverDatePretty". There was just an error in the mockup.
Titanium caches the icons automatically. I've hard coded the sizes now.
Indeed. I need some translations
Todo list:
SO NICE!! ;)
Some feedback:
Everything else looks great, this is exciting!!
(In [4866]) refs #1956 implemented live (real time), visitor log and a detailed visitor view for Piwik Mobile. Works on Android as well as iOS
Updated screenshots :)
"From Google" is clickable now if a referrerUrl is defined. The urls in actions are not yet clickable. It simply opens the system browser and Piwik Mobile is still opened in the "background".
I'll add the new translations in en.php today or tomorrow. Works now also on Android but I have to test it on some devices regarding performance (especially whether scrolling is fast). Visitor Log is also implemented.
I still have to display icons for Country/Browser/OS in "visitor screen". I'll create a new ticket for this and try to implement it for a further release. Layouting is no fun with Titanium :)
Let me know if you have some further ideas. It feels good.
The performance on an older Android device (500MHZ, 196MB RAM) may be a bit better, but is surprisingly good.
(In [4877]) refs #1956 do not use an already rendered visitorRow again on a refresh (we have to render the row again), otherwise the visitorRow will be displayed multiple times on iOS
(In [4878]) refs #1956 added visitor translation, renamed some other translations
Great it looks perfect now :) I assume that Ecommerce Cart/Order with products will display like on the mockup you showed earlier?
For icons, Country/Browser/OS and also maybe add the "Goal" icon after the text "Visitor converted N goals" ?
Excited to see this released!!
(In [4885]) refs #1956 added translations for real time widget in Piwik Mobile and added some other missing translations
(In [4914]) refs #1956 restart autoRefresh after resuming the app on iOS
(In [4916]) refs #1956 display time and date from firstAction in visitor log, not lastAction
(In [4929]) fixes #1956 always prefer the usage of maxVisitId and do display a loading message while fetching data
I do! Is there a way to have live visitors displayed on the mobile version?