Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
kuo_analytics (Google Analytics for Textpattern)
This free plugin will add a new tab to Textpattern’s Extensions section. From there Publishers and other user groups who are granted access can view certain Google Analytics stats.
Installing in 3½ minutes
- Download the package.
- Unzip it and locate the Textpattern plugin file
kuo_analytics_v0.1_zip.txt
. - Install the plugin in Textpattern’s “Plugins” section.
- Upload from the downloaded package the whole folder called
kuo_analytics
to your website’s root so it’s located somewhere like: http://www.yoursite.com/kuo_analytics/. - Go to the plugin’s tab in “Textpattern” -> “Extensions” -> “Analytics” and click “How to install?” at the bottom.
- From the “How to install?” page you can find a unique JSON file name. Please copy that file name.
- Then go to Google Developers Console.
- Create a new project.
- For that project enable “Analytics API” (screenshot).
- Then create credentials for it by clicking “Credentials” and “Create Client ID” (screenshot)
- Click “Download JSON” (screenshot)
- Rename the JSON file.
- Upload it to your website’s root inside folder
kuo_analytics
. - Plugin should now be ready for action.
Last edited by kuopassa (2015-08-17 09:22:07)
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Looking forward to the finished product
…. texted postive
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Looks great, kuopassa! I’ve always wanted to be able to provide some basic edited stats for site admins. The Google Analytics pages are powerful and complex but for most normal users overwhelming and hard to understand. Usually, only selected areas of the stats are relevant for a given site, so if your plugin’s output is tailorable, that would make GA’s stats much more useful… I_m also looking forward to seeing the final version surface.
TXP Builders – finely-crafted code, design and txp
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Thanks for showing interest towards this project. :-)
There’s initially going to be a very simple user group system to control what data Textpattern users can access. It’s split in two parts: Overview and Detailed reports. Overview includes only very basic stats and Detailed has for example AdSense stats (if the site is using it and if AdSense-Analytics accounts are allowed to share data).
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Looks very nice Petri! Any plans to extend this later to other options such as Piwik? Look forward to seeing the finished plugin.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Thanks, jstubbs. :-] No plans for Piwik, at least not yet.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
First post is now updated with the download link and instructions. Installing this might at first seem complex but it’s actually quite easy and fast.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
hi kuopassa.
Thanks for this plugin. I was able to install it yesterday, although I encountered some minor issues doing so.
First, the screenshots on the “How to install?” related to Google Developers Console look outdated. It seems Google has updated its UI.
Second, the help text for the “Analytics View ID” field on plugin settings reads:
Should be a numerical value. You can find the View ID by signing in to your Analytics account, selecting Admin tab and then choosing the desired Analytics account from “Account” column, after which select the desired property from “Property” column, and finally clicking under “Property” option called “Tracking Info”.
But that’s not where I found it. I’ve found the View ID under the View Settings (screenshot 1, screenshot 2).
That’s all I’ve to report back.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Thanks for taking the time to write feedback. It’s really useful stuff. :-)
It really looks like Google Developers Console layout was just updated. It must have happened in the past couple weeks.
When I’ve got more time to modify this plugin, those outdated screenshots will be updated, and I’ll try to make better instructions where the find the “View ID”.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Great Petri!
Thanks to maniqui for the updated help, too ;)
@Petri: is there a way to translate all the Google Analytics views? I would like to offer you a French translation.
I notice this behaviour:
Users with Managing Editor privs can’t access to all detailed analytic views (only simple reports). Can I change that?
Last edited by Pat64 (2015-08-29 13:42:12)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
Pat64, thanks for offering your help. In some future version there’s going to be a possibility to choose language. But not quite yet… Changing language is partly implemented in the code. Before making it complete, I’d like to get rid of problems / bugs like the one you mentioned about Managing Editors privs. :-)
Offline
Re: kuo_analytics (Google Analytics for Textpattern)
I’ll be happy to stop using PiWik for this. Thanks Kuo!
Nothing against PiWik, but it requires having to keep up with frequent install updates for security, and I don’t, which annoys me, but it’s too much overhead for something I don’t use a lot.
Like Jakob said, GA’s own UI has become too complicated for most people, which is why I went to PiWik, but if your plugin extracts out the basics of web traffic patterns and such, it will be perfect for many Txp users, and an obvious choice if you don’t want to wrangle OS packages like PiWik.
Offline