Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
diginet-md opened this issue Aug 25, 2015 · 4 comments
Open

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

diginet-md opened this issue Aug 25, 2015 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@diginet-md
Copy link

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 sgiehl added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Aug 25, 2015
@sgiehl
Copy link
Member

sgiehl commented Aug 25, 2015

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

@sgiehl
Copy link
Member

sgiehl commented Aug 26, 2015

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
Copy link
Author

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

  • portrati view
  • landscape view

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:

  • portrait view: 360 x 640 pix / 23 em
  • landscape view: 640 x 360 pix / 40 em

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

  • portrait view: 800 x 1280 pix / 50 em
  • landscape view: 1280 x 736 pix / 80 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"

@diginet-md diginet-md changed the title PIWIK API - pls add viewport parameter for "Module resolution" API - pls add viewport parameter for "Module resolution" Sep 12, 2015
@mattab mattab added this to the Mid term milestone Sep 20, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@pdigioia
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants