
Originally Posted by
joepixel
I managed to get Simple Google Analytics Version: 1.2.5 to work for me on Zen version 1.5 and added to the admin menu. I thought I'd share.
The new GA version does not seem to have a language file to define one of the settings for the admin menu to appear. I created this file: admin/includes/languages/english/extra_definitions/googleanalytics.php and placed the following code in this file:
<?php
define('UN_BOX_GOOGLE_ANALYTICS', 'Simple Google Analytics');
Here are the settings I used in the admin registration page.
Page Key: Simple Google Analytics
Page Name: UN_BOX_GOOGLE_ANALYTICS
Page Filename: FILENAME_CONFIGURATION
Page Parameters: gID=36 (make sure you look up this in your database because the number will be different. see below on how to do this.)
Menu: configuration
Display on Menu? Y
Sort Order: whatever you want
To find the gID number run this select statement in phpMyAdmin:
SELECT * FROM `configuration` WHERE configuration_key like '%google%'
Then look for the configuration_group_id. This is the number to use after gID=
I hope this helps someone!
Bookmarks