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. *
Authorwanze
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.

Details

ga_process_preview.png

Instructions

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

README

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.

Important
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.

Features

  • 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

Resources

Requirements

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

Installation

  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.

Comments

  • Naveen

    Naveen 2 years ago 00

    Is this compatible with 2.6?

  • Wanze

    Wanze 2 years ago 00

    @naveen
    Yep it should work fine with 2.6, I'll update the compatibility here. If you have any questions or issues with the module, please report them in the forum.

    Cheers

  • Nick

    Nick 4 months ago 00

    Hi Wanze ;-)
    is this Module compatible with 3.xx?
    Thanks in advance

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.