About Google Analytics

Adds a Google Analytics Page in the Processwire Admin Panel and displays various Statistics from a Google Analytics Account.

Category 1Logs/Monitoring
Modules that maintain activity logs or monitor and report activity in some form or another.
Category 2Process Modules
Process modules are apps that run in the ProcessWire admin.
Release StateStable
Should be safe for use in production environments. *
Module Version1.2.1
Class NameProcessGoogleAnalytics
Compatibility2.2, 2.3, 2.4, 2.5, 2.6
Date AddedAugust 8, 2012
Last UpdatedMarch 18, 2015
Recommended ByNew recommendations may take up to 1 day to appear.




This module's files should be placed in /site/modules/ProcessGoogleAnalytics/
How to install or uninstall modules


Google Analytics Page for ProcessWire

This module adds a new "Google-Analytics" Page in your Admin-Panel and displays various Statistics from a Google Analytics Account.

If you update from a version < 1.2.0, you need to revoke authentication and choose the Google Analytics account again.
Check Revoke Authentication in the module's config and save. Follow step 4,5 and 6 from the Installation section below.


  • Visits by Date (Chart)
  • General Statistics about Visits (Total visits, Visit duration, New visitors, Returning visitors etc.)
  • Demographics: Countries, Cities, Languages
  • System: Browsers, Operating Systems, Screen Resolutions
  • Mobile: Operating Systems, Screen Resolutions
  • Pageviews by Date (Chart)
  • Top Content
  • Traffic Sources: Keywords, Referral Traffic by Domain and URL
  • Choose a default date range displaying statistics: last 24 hours, 2 days, 1 week, 1 month etc.
  • Custom date range by setting a start date and end date



  • Google account and Analytics account
  • Project in the Google APIs console
  • cURL


  1. Create a Project in the Google APIs console: https://code.google.com/apis/console/
    The project can be used for this module on multiple ProcessWire sites
  2. Place the module's files in /site/modules/ProcessGoogleAnalytics and install the module.
  3. Enter the Client-ID and Client-Secret keys from your created project in the module config
  4. Load the Google Analytics page in the admin and click on button "authenticate"
  5. Log in with your google account
  6. Choose a Google Analytics account from the dropdown

In order to let other users see the Google Analytics page, you must give their role access to the ga-view permission.