If you like this project, you can buy me beer, always appreciated! 🍻😁
Enable Google Analytics reporting on your iTop instance within seconds! Just put your tracking code in the configuration file and you are good to go. Reporting can be enabled on both the admin. console and the end-user portal.
Features:
- Works on both the admin. console and end-user portal.
- Different tracking codes can be set to the admin. console and end-user portal.
- Supports multi end-user portal setups, just add portal IDs in the configuration file.
- Option to not track specific users, IPs or profiles (e.g. administrators).
Compatible with iTop 3.2+
Stable releases can be found either on the releases page or on Molkobain I/O.
Downloading it directly from the Clone or download will get you the version under development which might be unstable.
Installation procedure is the same as for any iTop extension, just follow the instruction on the iTop official documentation here.
Get tracking codes from Google Analytics' website and put them in the tracking_codes parameter (see below).
Some configuration parameters are available from the Configuration editor of the console:
enabled
: Enable or disable extension. Possible values aretrue
|false
, default istrue
.tracking_codes
: Tracking code for each iTop "portal".backoffice
being the admin. console,itop-portal
the standard end-user portal. You can add any other end-user portal instance you have by adding'PORTAL_ID' => 'TRACKING_CODE',
to the list.ignored_profiles
: Ignore specific profiles with a list of profiles. Value must be an array of profiles (e.g.['Administrator']
), default is an empty array.ignored_users
: Ignore specific users with a list of user logins. Value must be an array of logins (e.g.['admin', 'test-user']
), default is an empty array.ignored_ips
: Ignore specific IPs within a list. Value must be an array of strings (e.g.['123.456.789.999', '192.168.0.1']
), default is an empty array.
Example:
'molkobain-google-analytics' => array (
'enabled' => true,
'tracking_codes' => array (
'backoffice' => 'FIRST_TRACKING_CODE',
'itop-portal' => 'SECOND_TRACKING_CODE',
),
'ignored_profiles' => [],
'ignored_users' => [],
'ignored_ips' => [],
),
This extension is under AGPLv3.