Forums / All Other Contributions/Addons / Google Analytics

Google Analytics

Locked
Results 1 to 16 of 16
This thread is locked. New replies are disabled.
19 Sep 2006, 10:49
#1
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Google Analytics

I've read through the thread about integrating google analytics, but i'm having no joy, I'm not sure where to upload the files, and when i have uploaded them i cannot see any update in the Go to Admin->Tools->Install SQL Patches instruction either.

Can anyone point me in the right direction with step by step points? sorry to be a nuisance, hope someone can hel
19 Sep 2006, 15:12
#3
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

i have read that but im having difficulty with steps 1 and 2.



1. Unzip and upload all files to your store directory (change YOURTEMPLATE to your template directory);

I'm unsure which folder to upload these files to i uploaded them to my store folder is this correct? the template is a few sub folders down so will the file be in the correct location?

2. Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql;

On my attempt to upload the files i then went and followed the above, but i don't know how to run the command there aren't any updates in the list.


Sorry for all the questions, i'm not sure where else to find this information? my hosting company provided my shop and support but can't help me with this.
19 Sep 2006, 19:32
#4
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

can anyone who has integrated this successfuly help me at all?
19 Sep 2006, 21:05
#5
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Posts:
606
Plugin Contributions:
0

Re: Google Analytics

I'm afraid it's a case of help yourself by searching or sit back and patiently wait for somebody to come along and help you.:D

You'll need to do some homework by reading through the WIKI here or searching these forums before you'll really understand how ZC works. It doesn't come easily and if it appears that you have tried everything and are still failing you are more likely to get help.

Rename the classic folder (\includes\templates\classic) so that it matches the name of YOUR template folder. If you are unsure of what this means there are numerous threads or have a look at the WIKI

Upload the files to the same folder your ZC is in keeping the same structure. If you look at your store you'll notice you already have an includes folder etc.

It is stated on the other thread but googlefroogle.sql is a typo it should be googleanalytics.sql
20 Sep 2006, 14:46
#6
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

i've uploaded the you code to... includes/templates/YOUR_TEMPLATE/common/html_header.php.

i now get the following message on analytics

Analytics has been successfully installed and data is now being gathered


do i need to do anything else? i've just been reading another thread about a ssl security window pop up, not sure how i can check if i will be affected by this.
20 Sep 2006, 16:37
#7
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: Google Analytics

I've installed the google analytics mod, but can't see that any code is being inserted in my pages, and testing it on the google analytics site says that the code has not been inserted. jscript_google_analytics.php is installed in the js directory of my custom template directory.

I've read all the threads, and may be missing something obvious, but would appreciate a fresh set of eyes. The site is www.photoimprints.com.
Thank you
23 Sep 2006, 15:09
#8
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: Google Analytics

Bump! I'm sure hoping someone can help me with this. I've installed lots of mods, but I just can't get this one working. Can someone take a look for me? Thank you in advance.

www.photoimprints.com
23 Sep 2006, 16:03
#9
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Posts:
1,782
Plugin Contributions:
4

Re: Google Analytics

1. You don't copy jscript_google_analytics.php to your template directory.
OR
2. You use zen-cart 1.2.x
OR
3. You use template with html_header, that does not support jscript_*.php
23 Sep 2006, 16:29
#10
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: Google Analytics

a_berezin:

1. You don't copy jscript_google_analytics.php to your template directory.
OR
2. You use zen-cart 1.2.x
OR
3. You use template with html_header, that does not support jscript_*.php


Thanks for your reply, but frankly I don't understand what you are saying.

1. Do you mean 'don't' as in you shouldn't, or 'don't' as in you aren't.
2. I am on 1.3.02 and not considering going backwards.
3. I don't know what this means.

I need a solution oriented response, if possible, and I know enough to make changes and install mods, but I am not a proficient coder yet.
Thank you
23 Sep 2006, 17:33
#11
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

mines working many thanks
25 Sep 2006, 14:37
#12
styledata avatar

styledata

Zen Follower

Join Date:
Feb 2006
Posts:
290
Plugin Contributions:
0

Re: Google Analytics

My Google Analytics is now working. I removed all files from the script and added the script code that Google Analytics generates for my site to the html_header.php file in mytemplate/common. I guess that's what did it.
29 Sep 2006, 13:34
#13
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

i notice that my guests online, when i know for a fact people off an ebid forum are viewing my site, but when i check my analytics i only have a record of say 2 visitors, even though i know there were at least 10 at a point, could this be the setup?
17 Oct 2006, 19:59
#14
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Google Analytics

i got a reply back from google to check all my settings over agian, re my problem with analytics clicks not counting on analytics, i used the module provided on these forums but from what i can see the code has inserted in the head and not body tags? can this be resolved?
05 Dec 2006, 14:33
#15
stuiebrookes avatar

stuiebrookes

New Zenner

Join Date:
Sep 2006
Posts:
1
Plugin Contributions:
0

Re: Google Analytics

Hi,

I found the easiest way of incorporating Google Analytics into my site was to take the Javascript code that Google creates for you and paste it into the following:

includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

Paste the code at the end of the php script just before the closing BODY TAG </body>

You will now find that you can see the Javascript code at the bottom of every page of your site by looking at the source code in your browser.

Stu.:D
05 Dec 2006, 14:41
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Google Analytics

Yes, that may be the easiest way, and will give basic results.
However, there are more efficient ways to do it if you want different kinds of tracking on different pages. These approaches are documented in numerous other discussion threads.