Documentation
Before you start using the add-on you need to Configure the add-on, authenticate with a Google Analytics account, and then select the profile you like to use.
Fig 1. Republic Analytics with bar charts
You can customize which data to display, which member groups that should be able to configuration the module, and choose between a bar or line graph. You can also customize colors and a lot of other things.
Fig 2. Line graph instead of bar graph
This makes it easy to make the add-on blend with your custom Control Panel theme for instance.
Fig 3. Republic Analytics with a custom CP Theme
By installing the extension you can also choose to have Republic Analytics load as the default view when logging in to the Control Panel. The data from Google Analytics is loaded with Ajax, so it won’t delay the Control Panel load time if you’re in a hurry to do something else…
Known issues and solutions
- No data when viewing Statistics
Under some circumstances, if you have a lot of Google Analytics data, you can end up with a blank screen when clicking Statistics. This most likely means that you don’t have enough memory available for PHP to grab all the data. Try to increase your PHP memory limit and you should be able to fetch the data without problem. (You can always try with a profile with very little data and see if that works…)
Installation
Just do as you normally do when installing add-ons in ExpressionEngine 2:
- Extract the .zip file
- Move the
/system/expressionengine/
third_party/republic_analytics
into your ExpressionEngine installation’s/system/expressionengine/
third_party/
folder. - Move the
/themes/third_party/
republic_analytics
folder into your ExpressionEngine installation’s/themes/third_party/
folder. - Activate the module and the extension in the Control Panel.
- Go to Add-ons > Modules > Republic Analytics > Configuration
- Enter a Google Analytics account, save, then choose the profile you like to show.
Update
Just replace the old files with the new ones:
- Extract the .zip file
- Move the
/system/expressionengine/
third_party/republic_analytics
into your ExpressionEngine installation’s/system/expressionengine/
third_party/
folder. - Move the
/themes/third_party/
republic_analytics
folder into your ExpressionEngine installation’s/themes/third_party/
folder. - Go to Add-ons > Modules > Republic Analytics
Download
Download “Republic Analytics (EE2)” for ExpressionEngine 2.2+
Changelog
-
2.2.6
2017-07-14
- Updated the Google Analytics API to support the latest API changes
-
2.2.3.6
2015-05-13
- Fixed set_variable() bug for EE 2.10
-
2.2.3.5
2014-12-12
- Fixed: Redirect on login
-
2.2.3.3
2014-06-10
- Fixed: Redirect on login for EE < 2.8
-
2.2.3.2
2014-03-31
- Fixed: (EE 2.8.1) Redirect problem on login/from homepage to Republic Analytics
-
2.2.3.1
2013-06-07
- Fixed: (EE 2.6+) Redirect problem on login/from homepage to Republic Analytics
- Fixed: (EE 2.6+) Authentication to Google Analytics, since the authentication for 2.6+ requires the session id in the return URL to work.
-
2.2.3
2013-04-24
- Feature: ExpressionEngine 2.6 support
-
2.2.2
2012-10-02
- Fixed: To strong caching in certain situations
-
2.2.1
2012-09-03
- Fixed: New access token saved correctly in the database when old one expires
-
2.2
2012-08-31
- Feature: Changed authorization to oAuth2 instead of authSub
-
2.1.1
2012-05-14
- Fixed: Removed PHP warning in configuration view the first time after installation
-
2.1
2012-04-04
- Feature: Added option to display Page Views in graph
- Feature: Added option to redirect Home icon and CP Home to Republic Analytics (hat tip to Carl Crawley)
- Change: Made Configuration page more intuitive regarding member groups
- Fixed: Fixed a potential issue where cached data would lead to wrong stats
-
2.0
2012-03-28
- Stable release
-
1.7β
2012-02-16
- Feature: Changed authorization to authSub instead of ClientLogin
- Feature: Added profile switcher when viewing the statistics (for selected member groups)
- Feature: Added color picker for graph colors
- Feature: Added hostname filters to include or exclude specific hostnames from statistics
- Change: Shorter date format in graph
- Change: Merged update frequencies and added more options
-
1.5β
2011-11-02
- Feature: MSM support
- Fixed: PHP 5.2.x bug
- Fixed: Graph didn't show in IE8 due to a canvas bug
- Fixed: Deselecting all member groups under "Redirect on login" resulted in a PHP error
-
1.4β
2011-10-30
- Feature: Google Analytics authentication now uses tokens instead of saving the credentials in the database
- Fixed: Removed unintentional limit for number of fetched Google Analytics profiles
- Fixed: Lists profiles in alphabetic order
- Fixed: Line Graphs now uses colors set in configuration
- Fixed: Division by zero error for week and month view if no data is available
- Fixed: Corrected dates for Week and Month statistics
-
1.3β
2011-10-28
- First Public Beta release
License and disclaimer
Republic Factory gives this add-on away for free under a Creative Commons Attribution-NoDerivs 3.0 Unported License. You can use it for free, both in personal and commercial projects, but by downloading this add-on you also take full responsibility for anything that happens while using it. The add-ons are made with love and passion, and are used by us on daily basis, but we cannot guarantee that it works equally well for you.
Support is limited depending on current work load, but if you got any questions or comments feel free to email or follow us on Twitter @republicfactory and we'll try to help you out as soon as time permits.