Skip to content

fourmi4x/mpgat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiple Profile Google Analytics Tool - MPGAT

/** *

  • Copyright (c) 2012 Mario Rothauer
  • www.rothauerwebsites.com
  • http://github.com/mrothauer/mpgat
  • @author Mario Rothauer office@rothauerwebsites.com
  • @version 1.0
  • @license MIT
    • no warranty for anything, usage at own risk
    • provides an overview of all your different google analytics profiles / accounts
    • no more need to click around in google analytics just to check today's visitors of all projects
    • provides a useful grid of your profiles
    • provides also graphical dashboard with charts
    • highly customizeable
    • well defined default values
  • USAGE
    1. download gapi.class.php from http://code.google.com/p/gapi-google-analytics-php-interface and copy it in same folder
    1. rename config.default.php to config.php
    1. change the $profiles array to your profile data
    1. enable curl (if not already enabled)
    1. call index.php
    1. click on a link on the top left corner
  • TROUBLESHOOTING
    • If you see nothing but a blank page: there must be a configuration error. Set display_errors = 1 in your php.ini file, to see the error details.
    • If you have this error: "GAPI: Failed to authenticate user. Error: BadAuthentication"
  • ==> Try to activate the google analytics API in your account by accessing: https://code.google.com/apis/console/
  • If you have the error: "GAPI: Failed to request report data. Error: "GData insufficientPermissions User does not have sufficient permissions for this profile."
  • ==> Try to visit this URL to unlock access: https://accounts.google.com/DisplayUnlockCaptcha
  • CAUTION
  • if you use this program for a lot of profiles with a lot of dimensions, a lot of
  • requests to google analytics are fired: you can get an error message for that and you will have
  • to wait some time in order to use this program again
  • i did not have any problems for about 20 profiles with 5 dimensions (average) => 100 requests, fired max 5 times a day
  • that's enough to keep track of what's going on on your sites
  • for detailed information use google anayltics web interface found on http://www.google.com/analytics

*/

About

multiple profile google analytics tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors