Re: Simple Google Analytics - Support
Just did fresh install on a new site of mine. Version 1.5.0. I installed this mod and cannot get anything to happen once i install the sql patch. Looks like im in the same boat as the previous posts. Need the information for the Admin Page Registration.
Re: Simple Google Analytics - Support
The SQL patch did not import correctly during my installation, citing a syntax error instead.
Re: Simple Google Analytics - Support
In response to several postings of this nature:
[QUOTE]
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1
in:
[CREATE TABLE [?QUOTE]
In trying to research the 1064 error where the MySQL tables have not accepted the sql patch, I ran across an answer in this thread.
http://www.zen-cart.com/forum/showthread.php?p=689865
This question seems to pop up in a great many threads where people are installing modules. It probably should have a thread of its own.
Notageek
Re: Simple Google Analytics - Support
what is language_key? where to find it? Good question as I don't know either.
Step by Step the Admin
How & what do you put in each section?
Mine never appeared on config after installing this mod
so if all new plugin's require this I would like to know the
meaning of each section in the Admin.
Page Key (e.g. myModPageName)
Page Name (e.g. BOX_MY_MOD_PAGE_NAME)
Page Filename (e.g. FILENAME_PAGE_NAME)
Page Parameters (e.g. option=1 or, more usually, leave blank)
Menu
Display on Menu?
Sort Order
Page Key= The Name of the New Setting?
Page Name? for the title pages or is it the same as above?
Page Filename? is this like a .EXE or .PHP the executes the setting? where are they usually held? admin/includes/functions?
Page Parameters ? No Idea
sort order ? I didn't know the rest of the zen cart settings were sorted so I would need to know the order of whats there now so I don't understand this setting at all.
HELP! lol
Re: Simple Google Analytics - Support
Still no luck I read all 172 posts to no avail & re downloaded the mod. I am not recieving errors anywhere! google looks to be finding the code & the sql patch went in I even checked my PHPadmin. It's all there except for tables for config settings looks like Language & groups went it. The config setting are still not showing in my admin panel do I have to name my folder back to ADMIN before I run patch? I have it renamed to something differnt for security. :censored: Frustration is setting in. One more shot at this if anyone have another suggestion to try. if not this mod is coming out & I will put the basic code back in my INDEX.PHP file.
Re: Simple Google Analytics - Support
Ok now I am seeing all the tables in MYPHPadmin but still not in admin panel
Re: Simple Google Analytics - Support
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!
Re: Simple Google Analytics - Support
I've been using Simple Google Analytics successfully for over a year. Tracking visitors and conversions.
I recently installed some 3rd party tracking code using the instructions in this ZenCart Tutorial: https://www.zen-cart.com/tutorials/i...hp?article=399
The tutorial directs you to create a checkout_success directory under includes/templates/XXXXX/ and place a tpl_footer.php file there. That all worked just fine until I realized that this solution caused my Analytics conversion tracking to stop.
It appears to have disabled the execution of the Simple Google Analytics code on the checkout success page. After investigating and running some tests, just the existence of a tpl_footer.php file under checkout_success causes the conversion tracking to stop (ie same file no 3rd party mods in it).
I found some references to this incompatibility in this thread and took the advice to move my tracking code to includes/templates/XXXXX/common/tpl_main_page.php and deleted the checkout_success override directory and tpl_footer.php in it.
This solved the problem, conversion tracking is working again and my 3rd party tracking code is executing.
I just wanted to share this experience. I don't understand why the incompatibility occurred but I'm very glad to have it all working again!
Re: Simple Google Analytics - Support
I just re-downloaded it I will try it & let you know:clap:
Re: Simple Google Analytics - Support
It Worked like a Charm! the /languages/english/extra_definitions/googleanalytics.php is not in the mod.
After I made that file & then pointed the Admin Register page to the correct place using the ID from the phpadmin it came right up.
So a update will be required on this one to make it really simple for people that know even less then me about php/Sql.
I understand the PCI compliance but I don't have to like it either.
Thank You joepixel & pinkchalkstudio for the help on this one.
:D I just Love Zen Cart! I don't think I would be running a E commerce business without it!
Now to get this puppy set up!