Support > cpg1.5 plugin contributions

External tracker (Google Analytics, Piwik, etc) for cpg.1.5.x

(1/17) > >>

papukaija:
This plugin adds a tracking code to every page if the user isn't logged in as admin. An additional cookie based exclusion is also available after the installation of this plugin. Users may also opt-out from tracking if they enable Do Not Track from their browser's settings. This plugin replaces my Google Analytics plugin. Please note that some translations are incomplete.

Features:

* multilingual (currently: en,fi,fr,pl and partly de,nl,ch,es)
* puts tracker code in all pages except if an admin has logged in or if the user has installed an optional cookie or if the user has enabled Do Not Track
* doesn't overwrite any core files (eg. anycontent.php or theme.php)
* theme independent
Supported trackers:

* Google Anylytics
* Piwik
* Open Web Analytics (OWA)
* BBClone
* CrawlTrack
* Yahoo! Web Analytics
* Bing Webmaster Tools
* Google Search Console
About the config screen's Extra setting:

This setting is used to give the tracker a second setting. Depending on the tracker, this setting is mandatory for the tracker to work. If completing the field for a specific tracker is necessary, then the field is pre-filled with some text (ID-SITE, for example). Currently this field is only used for site IDs.

Google Analytics users:
Please make sure that you're using the Universal Analytics tracking method from Google Analytics's settings before using this plugin.

Credits:

* Written by papukaija
* v. 1.1 has been contributed by André
* v. 1.4 includes some optimisations by Joachim
* This plugin includes database and form related code which are taken from the Social bookmark plugin
Translators:

* André (for German)
* tjiepie (for Dutch)
* a-m (for Chinese)
* jmatute (for Spanish)
* FBleu (for French)
* fabkow (for Polish)

papukaija:
A new version of this plugin has been added to the initial post.

Changes in version 2.0:

- Added support for Open Web Analytics (OWA), BBClone and CrawlTrack (please test if they actually work)
- Added explanation for config screen's Extra setting to README.txt
- Updated Google Analytics's tracker code (removed pageTracker._initData(); which is now only usefull with frame sites, see here for more information)
- DB schema: Changed the varchar for tracker_extra to 50


Upgrading from 2.0beta1 (important): Due to the change in db's schema, you must completely uninstall (including settings) this plugin before installing a new version of it. The change was necessary to add support for OWA's longer site IDs.

papukaija:
A new version of this plugin has been added to the initial post.

Changes in version 2.1:
- Moved README.txt and TODO.txt to /docs/english.html
- Updated few links to use /docs/<user's_lang>.html through greybox
- Changed getRaw to getAlpha in cookie's reading
- This plugin uses now a language fallback
- Added form token to clenup's form
- Added 'success' css class to cookie sender's msg_box() in cookie.php
- inspekt inside external_tracker_footer() is loaded with $strict = FALSE; to use php based trackers but the superglobals are removed at functions's end (@devs: I'll change this method to something else if it isn't safe)
- Fixed redirecting url in cookie.php

papukaija:
A new version of this plugin has been added to the initial post.

Changes in version 2.2
- Moved from inspekt's $strict = FALSE to _source as the $strict has no effect inside a function (but these superglobals are of course deleted immediately after they're not needed)

picturevirginia:
I'm using the plugin for G analytics. Works great so far, thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version