You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Analytics/AQS/Unique Devices

From Wikitech-static
< Analytics‎ | AQS
Revision as of 14:15, 7 April 2017 by imported>Joal (Joal moved page Analytics/Unique Devices to Analytics/AQS/Unique Devices: Reorganizing documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page documents the Unique Devices dataset (v1) as developed and maintained by the Wikimedia Foundation since January 1st, 2016. This data set contains the number of unique devices having visited wikipedia and its sisters project over some period of time, and is accessible through downloading files or via the AQS API.

Quick Start

AQS API

Technical Documentation: https://wikimedia.org/api/rest_v1/?doc (includes interactive examples).

Get the daily number of unique devices for en.wikipedia.org for the month of February 2016, for all sites (desktop and mobile):

GET http://wikimedia.org/api/rest_v1/metrics/unique-devices/en.wikipedia.org/all-sites/daily/20160201/20160229

Get the monthly number of unique devices for the mobile version of fr.wikipedia.org for the month of January, February and March 2016:

GET http://wikimedia.org/api/rest_v1/metrics/unique-devices/fr.wikipedia.org/mobile-site/monthly/20160101/20160301

Get the daily number of unique devices for the desktop version of ses.wikipedia.org for the first ten days of April 2016:

GET http://wikimedia.org/api/rest_v1/metrics/unique-devices/es.wikipedia.org/desktop-site/daily/20160401/20160410

Downloads

You can find daily and monthly at this address: https://dumps.wikimedia.org/other/unique_devices/.

Data Quality

To ensure we provide quality information, we have made the choice of including in the files or in the API only projects having 1,000 (one thousand) unique devices for the considered time period (day or month). Projects with less than 1000 unique devices show too much random variation for data to be actionable.

More information on how 1,000 was selected as the limit is available in the Last access solution subpage.

More Reading

Metric Definition

https://meta.wikimedia.org/wiki/Research:Unique_Devices

Why the name "unique devices"

https://meta.wikimedia.org/wiki/Research:Unique_Devices#Why_the_name_unique_devices

Differences between unique devices and unique users

https://meta.wikimedia.org/wiki/Research:Unique_Devices#Differences_between_unique_devices_and_unique_users

Can we count unique users instead of devices?

The answer is no, regardless of method. We could only do that if we ask everyone to login to use wiki projects.

How do we count unique devices?

We use a very private conscious way to count unique devices, it does not include any cookie by which your browser history can be tracked. Analytics/Unique_Devices/Last_access_solution

Dataset

Analytics/Data/Unique_Devices

The API

Analytics/PageviewAPI