Zen Cart Logo
Forums / All Other Contributions/Addons / Simple Google Analytics - Support

Simple Google Analytics - Support

Views: 451,180

Results 1,281 to 1,300 of 2,165
15 Aug 2010, 11:54 AM
#1281
upnorthal avatar

upnorthal

New Zenner

Join Date:
Jun 2010
Posts:
19
Plugin Contributions:
0

Simple Google Analytics - Support

Please ignore my previous.

I refreshed Google after 10 minutes the icon has changed to a 'tick' (receiving data).

So, this MOD is fine and so are the instructions!

Google wasn't in a hurry to re-validate my tracking code!!

Thanks

Al

16 Aug 2010, 2:52 PM
#1282
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

upnorthal:

Hi

I'm running Zencart 1.3.9 d

This is a fresh install of Simple google Anayltics

Files installed.

I've appended the code to just before the closing <\body> in
/includes/templates/[your_template]/common/tpl_main_page.php

I've run the install.sql - no errors.

I've setup up a google analytics account.
I've configured the "UA-" account number in Zencart to match.

No matter what I do, I can't get Google to connect. The yellow hazard sign never dissaperas in Google.

I can see code has been appended to my source when viewing in FireBug.

My site is :-

http://www.reefbay.co.uk/ (which redirects with a 903 to http://www.reefbay.co.uk/shop)

Can anyone see anything obvious I have missed? I'm sure it must be something really basic, but I just can't see it.

cheers
Al

Make sure you provide Google with the proper URL for verifying the tracking code at. The redirect is likely hurting that process.

Try giving Google the exact url of the store:

http://www.reefbay.co.uk/shop/

That should do it.

17 Aug 2010, 7:34 AM
#1283
upnorthal avatar

upnorthal

New Zenner

Join Date:
Jun 2010
Posts:
19
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,

Thats exactly what I did, just prior to the thing working!

I did wonder if the re-direct could cause problems.

Nice mod.

Cheers

Al

20 Aug 2010, 4:40 PM
#1284
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

I went into the directed path for the first time install:

/includes/templates/[your_template]/common/tpl_main_page.php
(/includes/templates/darkness/common/tpl_main_page.php)

In order to copy and paste the line of code, as directed but which I go to the above path I do not have the /tpl_main_page.php. The only files I have listed in that path are:
tpl.header.php
tpl.footer.php

Am I in the wrong area?

21 Aug 2010, 12:21 PM
#1285
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

outeredge2:

I went into the directed path for the first time install:

/includes/templates/[your_template]/common/tpl_main_page.php
(/includes/templates/darkness/common/tpl_main_page.php)

In order to copy and paste the line of code, as directed but which I go to the above path I do not have the /tpl_main_page.php. The only files I have listed in that path are:
tpl.header.php
tpl.footer.php

Am I in the wrong area?

You'll need to copy the tpl_main_page.php from the template_default directory to your custom directory then add the line of code. That is so Zen activated the override system for that file on your template. Right now your cart is pulling the file from the default template directory.

26 Aug 2010, 2:49 PM
#1286
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

econcepts:

You'll need to copy the tpl_main_page.php from the template_default directory to your custom directory then add the line of code. That is so Zen activated the override system for that file on your template. Right now your cart is pulling the file from the default template directory.
Thanks... Found it and got it loaded. I have installed the patch and everything but when i go to Google Analytics it doesn't show any numbers? Do I need to put the code from the google analytics site into my Main page or something?

27 Aug 2010, 12:02 PM
#1287
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

@outeredge2

You need to now enter your Google Analytics ID number into the configuration section of the admin (zen cart). If you are using Adwords and want to activate conversion tracking you'll want to add that number as well.

Once you enter those items you'll want to have Google "verify the tracking code". All should work after that.

You can perform a "view source" on the page to verify the proper tracking id has been inserted.

27 Aug 2010, 12:52 PM
#1288
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

Thanks Eric. I added the ID Number and still nothing. I went into Google Anyalytics and it said that the code could not be found! grrrr. This was meant to be easier than this I thought! :(

I have 6 sites being tracked by Google. So the account numbers are all like below:
UA-########-1
UA-########-2
UA-########-3
UA-########-4
etc.

28 Aug 2010, 12:10 PM
#1289
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

What is the url to the site you are looking to track? I'll take a look here.

30 Aug 2010, 12:07 PM
#1290
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

econcepts:

What is the url to the site you are looking to track? I'll take a look here.

The website is https://www.driftbuildstore.com

Some how this site below starting getting tracked recently but I have never done anything to it so I'm not to sure what is going on with it or how it happened.

https://www.extremeduraflex.com

30 Aug 2010, 10:49 PM
#1291
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

Ok... it just started working for some reason! not sure how though! Any thoughts?? The code doesn't seem to apprea when I firebug it!

31 Aug 2010, 1:22 PM
#1292
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

outeredge2:

Ok... it just started working for some reason! not sure how though! Any thoughts?? The code doesn't seem to apprea when I firebug it!

It can take Google any amount to actually start tracking once the code has been verified. Usually within 24 hours, but I have seen it take a week or more to actually start tracking on some sites.

Glad you got it working!

1 Sep 2010, 1:19 PM
#1293
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Simple Google Analytics - Support

Cool! Thanks again. I will try it on the others now! :) fingers crossed!

1 Sep 2010, 3:57 PM
#1294
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,
I'm just wondering if Simple GA will be able to use the new asynchronous tracking code available from GA soon?
I thought it would be a simple matter of just changing the javascript in google_analytics.php until I ran in to the conversion section for the checkout_success page, then I realised I was out of my depth :no:

I have supertracker installed, and sometimes I get more hits logged in that mod than I do in GA, I'm presuming it's something to do with the loading speed issue that Google mention on the old snippet code vs the new asynchronous one but I could be wrong!

Thanks for a great mod though, really easy to set up and works great!

2 Sep 2010, 1:05 PM
#1295
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

damiantaylor:

Hi,
I'm just wondering if Simple GA will be able to use the new asynchronous tracking code available from GA soon?

It does not have that capability yet, but I am working on a new release that will have that ability. Make sure you read about the async code. Currently I have heard and read it does not track as well as previous versions (missing some things here and there.)

damiantaylor:

I have supertracker installed, and sometimes I get more hits logged in that mod than I do in GA, I'm presuming it's something to do with the loading speed issue that Google mention on the old snippet code vs the new asynchronous one but I could be wrong!

It has nothing to do with the way Google loads etc... The true figure you always want to pay attention to is Google. They track "unique visits" which is the real number of actual visitors that come to your site. 'hits' is not real visitors. It will always be inflated and should not be looked at as it provides no real value.

Here is an article that might help on that topic.
http://www.zencartoptimization.com/2007/05/26/all-web-site-traffic-is-not-created-equal/

4 Sep 2010, 11:36 AM
#1296
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks for the info Eric, that article made for an interesting read.
I'm using Google analytics from now on!

The only advantage with Supertracker is that it tells me if someone added an item to their cart, so I can tell if people are adding products but not checking out.
With this in mind, I've added some event tracking code to my 'Add to Cart' button to log it as an event. This is working well.

What I'd like to do now is be able to log if a customer presses 'Add to Cart' but the item they are adding is out of stock.
The trouble is I don't know how I can tell when they press the button if an item is in stock or not!

Have you got any ideas how I can track customers attempting to add out of stock items to their cart?

5 Sep 2010, 12:11 PM
#1297
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

That would be tough to track. However on a side note, is there are reason you are letting them add an item that is out-of-stock? You should tell them the item is out-of-stock before you give them the opportunity to add it or you are going to really create some frustrated customers which will translate to lost sales.

Just some added thoughts.

5 Sep 2010, 4:26 PM
#1298
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks Eric,
I don't think there is a way to tell the customer before hand if an item is out of stock if it has attributes is there?
For example, if I have a pair of impact shorts that is available in black and white, and sizes small, medium and large I don't think there is any way to say which is out of stock up front.

I've done the best I can and made some mods......
I've added a stock checker button that pops up a window showing which items are in stock, and if someone tries to add an out of stock item to their cart I keep them on the product page and show an out of stock error message.
On that note, I've managed to track when the customer tries to add an out of stock item.
All do is check for the out of stock error message being in the message stack and if it is present, I send an event track to GA.
It seems to be working pretty well :)

1 Oct 2010, 1:17 PM
#1300
nycxkkoma avatar

nycxkkoma

New Zenner

Join Date:
Aug 2010
Posts:
13
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello,

I just installed Simple Google Analytics and am still getting an exclamation mark for status. I double checked all the files I copied to the server and also installed the SQL patch. I even put in the UA number into the zencart admin. Anybody have any ideas? Thank you in advance.

Oh yes, I am using ZenCart 1.3.9g. Thank you.