matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.72k stars 2.63k forks source link

API - pls add viewport parameter for "Module resolution" #8643

Open diginet-md opened 9 years ago

diginet-md commented 9 years ago

We speak about API "Module Resolution"

it would be nice in case you add "viewport parameter" for "Module resolution" in API This will be very useful feature for analytics (the share of mobile devices in increasing)

RE: What Is the Viewport? (for example) https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html#//apple_ref/doc/uid/TP40006509-SW25

the some real examples of viewport(s), you can also visit http://viewportsizes.com/?filter=iphone http://viewportsizes.com/?filter=android

sgiehl commented 9 years ago

We would need to add that to the js tracker aswell, as it currently only reports the resolution.

sgiehl commented 9 years ago

Another note: While the resolution mostly doesn't change while browsing, it might be more common that the viewport size might change. Saving only one viewport size per visit might thus not be correct.

diginet-md commented 9 years ago

I) Briefly. Paramenter "viewport" for mobile devices (phone + tablets) has 2 options

1.1) "Display resolution" and "view port" It is NOT simple list of "connected" parameters

II) "Display resolution" and "view port" - for example 2.1) for mobile phone ZOPO998, display: 5.5 inches 2.1.1) diplay resolution: 1920 x 1080 pixels (FHD screen)

2.1.2) view port / em / display resolution:

2.2) for tablet: Samsung Glalaxy Note 10,1, display 10,1 inches 2.2.1) display resolution: 1280 x 800 pix http://www.samsung.com/ru/consumer/mobile-devices/tablets/others/SM-T530NZWASER)

2.2.2) view port / em

III) as example, you can test your mobile phone / tablet and see in "your hands" not all links provide "real information" for "display resolution" / "viewport"

pdigioia commented 6 years ago

+1. Google analytics provides similar information (their term is Browser Size).