Pageviews Analysis URL Structure

To get the latest data on a given page on your wiki, with default options, use:
//tools.wmflabs.org/pageviews?project=en.wikipedia.org&pages={{FULLPAGENAMEE}}
replacing en.wikipedia.org with a valid project. {{FULLPAGENAMEE}} will resolve to the page the link is placed on

Parameters Can be used in any order


project
en.wikipedia.org (default) or other valid project
pages
Escaped page names separated by | characters such as Cat|Dog (default)
For linking to the current page on wiki, use {{FULLPAGENAMEE}}
range
A special range to use instead of exact start and end dates. May be one of the following:
  • latest (default) The last 20 days of data
  • latest-N where N is a number. For example latest-30 will show the last 30 days of data
  • last-week Last week
  • this-month This month
  • last-month Last month
start
Start date in the format YYYY-MM-DD.
Omit this parameter and the end parameter to show the most recent data.
Using the format YYYY-MM will be treated as the start month, and show monthly data instead of daily.
end
End date in the format YYYY-MM-DD, defaults to previous day.
Using the format YYYY-MM will be treated as the end month, and show monthly data instead of daily.
platform
One of: all-access (default), desktop, mobile-app, mobile-web
agent
One of user (human viewer, default), spider (search engine crawlers), bot (WMF bots) or all-agents (user, spider and bot)
autolog
Set to false to disable automatically setting the "Logarithmic scale" option