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

Simple Google Analytics - Support

Views: 451,067

Results 241 to 260 of 2,165
25 Jul 2007, 9:30 PM
#241
econcepts avatar

econcepts

Totally Zenned

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

Simple Google Analytics - Support

studeo,

I haven't determined if you are using your own "hand coded" version of the code for Google Analytics tracking, or are you using the Contribution available in the downloads section?

If you are using the Contribution, then it already accounts for SSL vs. non-SSL connections.

If however you are using a "hand coded" version (your own) to track Google Analytics, then you will have to account for the SSL vs. non-SSL versions.

I presented code in an earlier post (you'll have to go back a ways) that did just that.

To answer your question, yes, I have it working on SSL and Non-SSL sites just fine (and switching between with no problem).

It may be that the issue in your case is not related. Are you sure you have the tracking installed correctly (from the beginning)?

25 Jul 2007, 9:57 PM
#242
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm using the installed mod.

Maybe I'll re-install it but every other tracking report has been operating well.

It seems also that they dont crawl the pages that often...maybe I just have to be patient.

Thanks so much !

this is my version: Version Date: v 1.0.0 14.12.2006

25 Jul 2007, 10:08 PM
#243
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi

I did make a change to my checkout_success page and it exists in my template override directory......

after reading you included text file again, maybe the problem exists because of the override file?

(What I did was add some text to the bottom of that page warning customers that email fromthe site might get into their junk folder and to check there in case they didnt receive a confirmation)

do you this may be the issue?

studeo

25 Jul 2007, 11:05 PM
#244
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

here is the code from the bottom of my checkout_success file that is in my named template directory under /templates as an override:

 
<div id="checkoutSuccessOrderLink"><?php echo TEXT_SEE_ORDERS;?></div>
<div id="checkoutSuccessContactLink"><?php echo TEXT_CONTACT_STORE_OWNER;?></div>
<h3 id="checkoutSuccessThanks" class="centeredContent"><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3>
</div>
<b><font face="Arial, Helvetica, sans-serif" size="2">PLEASE NOTE:</font></b><font face="Arial, Helvetica, sans-serif" size="2"> 
If you are currently using AOL or have a 'spam blocker' installed on your email 
program, emails from [EMAIL="[email protected]"][email protected][/EMAIL] may be sent to your spam folder. If 
a confirmation email is not received by you check there first. You may also add 
[EMAIL="[email protected]"][email protected][/EMAIL] to your address book to potentially counter this issue.</font>

Should there be anything here that isnt??

Thanks

26 Jul 2007, 12:29 AM
#245
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

one more piece of info:

Here is the view source code from the success page:

<script src="[URL]https://ssl.google-analytics.com/urchin.js[/URL]" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2(masked)-1";
urchinTracker();
</script><form style="display:none;" name="utmform">
<textarea id="utmtrans">UTM:T|8||171.50||3.50|Naples|Florida|United States UTM:I|8|354|WIRED EDGE CHRISTMAS HOLLY RIBBON|Printed Ribbon|8.00|21</textarea>
</form></body></html>

ignore the (masked) part. The # was correct

26 Jul 2007, 1:08 AM
#246
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

This code looks correct so that eliminates the idea that it is not "installed" correctly.

That brings me to a few more questions:

  1. have you enabled e-commerce tracking for your website profile (in Google Analytics)? If not, you need to do that in order for it to start recording e-commerce data.

  2. Does Google Analytics (not the e-commerce tracking) show that you have had visitors, etc...? If so, then that proves the basic code is installed correctly. If not, then you are missing something in the code still (see # 3 below)

  3. Did you copy the proper ".js" file to the right directory (to "on load" the UTM javascript object?) If not, make sure you do that or none of the tracking will register.

  4. If Google Analytics is showing data, but e-commerce tracking is not working, then you need to go back and make sure you performed step # 1 above.

26 Jul 2007, 9:07 AM
#247
pyrobri avatar

pyrobri

New Zenner

Join Date:
Feb 2006
Location:
UK
Posts:
41
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,
I have just been through all the Google Analytics setup and am having a problem that a few others seem to have had.

Everything seems to work OK, I have follwed the steps and this is code from the bottom of my pages:

<!-- Google Analytics Code --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2256908-1"; urchinTracker(); </script></body>

which looks fine, but I keep getting the following message:
Tracking Unknown (Last checked: 2007-07-26 2:01 AM PST.)
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

I have version 1.3.7 installed, I have tried all of the suggestions that seems to have got most other people with this error up and running but it doesn't seem to work here.

This is the line from tpl_main_pafe.php (didn't need to be changed):

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

And I have uploaded all the files.

Any help would be great.
Thanks
Oh the site is https://www.stainlesstools.co.uk

26 Jul 2007, 1:00 PM
#248
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

This code looks correct so that eliminates the idea that it is not "installed" correctly.

That brings me to a few more questions:

  1. have you enabled e-commerce tracking for your website profile (in Google Analytics)? If not, you need to do that in order for it to start recording e-commerce data. YES months ago

  2. Does Google Analytics (not the e-commerce tracking) show that you have had visitors, etc...? If so, then that proves the basic code is installed correctly. If not, then you are missing something in the code still (see # 3 below) YES for months

  3. Did you copy the proper ".js" file to the right directory (to "on load" the UTM javascript object?) If not, make sure you do that or none of the tracking will register. YES double checked

  4. If Google Analytics is showing data, but e-commerce tracking is not working, then you need to go back and make sure you performed step # 1 above.

Thanks for all your support. Since I can track sales in the admin, this is just another source that would be nice, but not crucial. So I'll be patient and see if it starts up on its own some day.

I was thinking though...if the success page is only open for a few seconds by the customer, what happens to it when the customer closes the site? How can it have gotten recorded by Google in those few seconds? Or am I thinking with the novice brain?

Thanks

26 Jul 2007, 2:58 PM
#249
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

heres a thought...

I have my authorize.net cc to authorize only, not capture. This is so we will bill when the product is shipped. Maybe this subverts the data?

What do you think?

26 Jul 2007, 3:31 PM
#250
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

studeo:

heres a thought...

I have my authorize.net cc to authorize only, not capture. This is so we will bill when the product is shipped. Maybe this subverts the data?

What do you think?

First issue to clear up. You only need a few seconds to record the data in Google. A split second will do it, so as long as the user returns to the "checkout success" page, they should be recorded (and providing they are not blocking JavaScript with their browser).

Next point. It doesn't matter if you have Authnet set to authorize only or capture, the sales should be recorded in Google. In fact, you don't even need to accept credit cards for sales to be recorded. So that isn't the problem in your case.

26 Jul 2007, 3:35 PM
#251
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

pyrobri:

Hi,
I have just been through all the Google Analytics setup and am having a problem that a few others seem to have had.

Everything seems to work OK, I have follwed the steps and this is code from the bottom of my pages:

<!-- Google Analytics Code --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2256908-1"; urchinTracker(); </script></body>

which looks fine, but I keep getting the following message:
Tracking Unknown (Last checked: 2007-07-26 2:01 AM PST.)
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

I have version 1.3.7 installed, I have tried all of the suggestions that seems to have got most other people with this error up and running but it doesn't seem to work here.

This is the line from tpl_main_pafe.php (didn't need to be changed):

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

And I have uploaded all the files.

Any help would be great.
Thanks
Oh the site is https://www.stainlesstools.co.uk

Make sure you gave Google the proper URL to check the status of the tracking code. I wrote a post that may help at the following url.

http://www.zencartoptimization.com/2007/07/18/google-analytics-de-mystified-part-2-vanilla-google-analytics/

26 Jul 2007, 6:04 PM
#252
studeo avatar

studeo

Zen Follower

Join Date:
Jan 2007
Posts:
198
Plugin Contributions:
0

Re: Simple Google Analytics - Support

:thumbsup: So it WAS just a matter of time. The last test sale I put through just showed up in the tracking module.

Thanks for all the feedback you were willing to hang in there with!

studeo

Now I have to find out how to delete that bogus sale from the averages...lol

27 Jul 2007, 1:07 AM
#253
pastgentoys avatar

pastgentoys

Zen Follower

Join Date:
Jun 2007
Posts:
169
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Is there a way to see if certain sites block the use of GA? I know for a fact that eBay , through my about me page, is sending folks to my cart but ebay never shows as a source is GA. :wacko:

27 Jul 2007, 1:53 AM
#254
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

PastGenToys:

Is there a way to see if certain sites block the use of GA? I know for a fact that eBay , through my about me page, is sending folks to my cart but ebay never shows as a source is GA. :wacko:

Any sites / browsers that block JavaScript will not show up in GA. You might get an idea of this (very general) by looking at the number of visitors that come to your site who have JavaScript enabled. Those that don't more than likely are not counted in your GA totals.

27 Jul 2007, 6:36 PM
#255
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Any sites / browsers that block JavaScript will not show up in GA. You might get an idea of this (very general) by looking at the number of visitors that come to your site who have JavaScript enabled. Those that don't more than likely are not counted in your GA totals.

AHH I was JUST going to ask about that! I have no-sript installed for Firefox and I always block everything. There has been many times I haven't allowed google analytics on sites....:clap:

27 Jul 2007, 7:26 PM
#256
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

khopek:

AHH I was JUST going to ask about that! I have no-sript installed for Firefox and I always block everything. There has been many times I haven't allowed google analytics on sites....:clap:

Yeah, this is something that many people don't think about, but it is mentioned by Google in the "depths" of their explanation of Google Analytics. They tell you that tracking may differ at times due to users who are blocking JavaScript.

Since their tracking runs purely on JS, those visitors would not be recorded in the statistics (this includes conversions with e-commerce, sales, etc...). All that tracking would be blocked.

27 Jul 2007, 9:42 PM
#257
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I don't suppose you know how to block it from recording when you go on your own site?

I tried following Google explanation of having to make a file with JS code in it, then creating a filter telling it to Exclude computers with that cookie on it....

Makes NO sense....

27 Jul 2007, 10:21 PM
#258
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

khopek:

I don't suppose you know how to block it from recording when you go on your own site?

I tried following Google explanation of having to make a file with JS code in it, then creating a filter telling it to Exclude computers with that cookie on it....

Makes NO sense....

Yes, that IS the best way to do it and it does work. I use it myself.

What problems are you having with that? maybe I can make sense of it for you.

Have you tried to exclude your IP address (assuming it is not dynamic) using the same Filter Manager?

I am finishing up a new workbook that is due to be released on or before August 15th called Google Analytics Uncovered for Zen Cart: The Workbook. In it I go through a number of things including the Filter Manager. That may help when available.

30 Jul 2007, 5:59 AM
#259
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi

I can’t find directory or folder includes/modules/pages/checkout_success directory.
What I got is /includes/modules/pages/checkout_success/ on_load_main.js
Also in my includes/templates/MY TEMPLATE/common/ I don’t have this tpl_main_page.php , should I copy it from some other folder? And from where?

Thank you

30 Jul 2007, 8:29 AM
#260
pyrobri avatar

pyrobri

New Zenner

Join Date:
Feb 2006
Location:
UK
Posts:
41
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Make sure you gave Google the proper URL to check the status of the tracking code. I wrote a post that may help at the following url.

http://www.zencartoptimization.com/2007/07/18/google-analytics-de-mystified-part-2-vanilla-google-analytics/

Seems to be working now, I went away for the weekend without making any changed at all, just had a look and it is now receiving data. Looks like it just takes a bit of time for the process to complete..