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.27k stars 2.59k forks source link

Mobile Analytics #1274

Open robocoder opened 14 years ago

robocoder commented 14 years ago

Mobile Analytics

Segments visitors using mobile devices, or devices on wireless networks

Provide additional reports:

robocoder commented 13 years ago

Steve Kamerman's plugin for Piwik using Tera-WURFL: http://github.com/kamermans/MobileAnalytics/

robocoder commented 13 years ago

ZendFramework 1.11.0 added Zend_Http_UserAgent with adapters for the WURFL (Wireless Universal Resource File) API, Tera-WURFL, and DeviceAtlas.

anonymous-matomo-user commented 13 years ago

This plug-in needs to be extended with mobile carrier reporting (recognized by either IP range or URI parameter, etc.)

robocoder commented 13 years ago

eistrati: that's part of #1823 ... possibly using something like ip2location.com's db19.

anonymous-matomo-user commented 13 years ago

vipsoft: No, I mean the carrier identification based, whenever is possible. Read this thread for example... http://mobiforge.com/forum/designing/mobile-web-design/carrier-ip-addresses

anonymous-matomo-user commented 13 years ago

vipsoft: Ah, I see now... ip2location.com offers identification based on IP address, while I was also referring to carrier's HTTP headers that are passed in WAP. So, the more complex is carrier identification, the better, but my point was that it's currently missing in this plug-in and needs to be extended. Thoughts?

robocoder commented 13 years ago

eistrati: the gurfl database (linked to in that article) is dead; I'm not aware of any open source alternative

as for carrier identification using carrier-specific http headers... this is non-standard between carriers, and with increasing privacy concerns, may prove to be a diminishing source of data in the future. Are you aware of any existing code/databases that we can leverage? otherwise I think the amount of research and data collection required might be out of the project's scope

anonymous-matomo-user commented 13 years ago

vipsoft: I'm made some improvements to the way how mobile users are calculated as unique visitors that I really think you should update with your core functionality. Email me to eugen AT kargo DOT com and I'll send you details.

mattab commented 13 years ago

eistrati, can you please explain quickly here what your modifications are? Do they improve how Piwik works, or how the Mobile Analytics plugin http://github.com/kamermans/MobileAnalytics/ work?

robocoder commented 13 years ago

matt: I got eistrati's email; the change is somewhat mobile-specific -- it adds mobile-carrier specific http headers to the browser config hash; I'll attach it to this ticket when I get to a desktop; I'm thinking it would be better to implement it within this plugin via a new tracker hook

mattab commented 13 years ago

yes I agree, anything mobile specific would be better as new hook with the logic in the Mobile plugin.

anonymous-matomo-user commented 11 years ago

I installed this plugin with Piwik 1.8.4. When Setting-> Mobile Analytics tab. I am getting this error. If any one make it this plugin work for 1.8.4. Please do let us know the steps. Thanks in advance.

Backtrace:

0 /var/www/html/piwik/core/Config/Compat.php(132): Piwik_Config->__get('MobileAnalytics')

1 /var/www/html/piwik/plugins/MobileAnalytics/MobileAnalytics.php(303): Piwik_Config_Compat->__get('MobileAnalytics')

2 /var/www/html/piwik/plugins/MobileAnalytics/Controller.php(52): Piwik_MobileAnalytics::settingsExist()

3 function: Piwik_MobileAnalytics_Controller->adminMenu()

4 /var/www/html/piwik/core/FrontController.php(138): call_user_func_array(Array, Array)

5 /var/www/html/piwik/index.php(53): Piwik_FrontController->dispatch()

6 {main}

mattab commented 11 years ago

Moving out of plugins until it can be fixed.

mattab commented 10 years ago

more detailed user agent parsing: manufacturer / device / operating system (eg iPhone, iPod, iPad; Android - HTC Dream, Droid, Nexus One; Palm Pre, Pixi)

is now done! See the DeviceDetection plugin.

we have released the project as open source project: https://github.com/piwik/device-detector