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

Simple Google Analytics - Support

Views: 451,130

Results 601 to 620 of 2,165
6 Feb 2008, 12:57 AM
#601
buster avatar

buster

New Zenner

Join Date:
Apr 2007
Location:
Charlotte NC
Posts:
28
Plugin Contributions:
0

Simple Google Analytics - Support

Thanks for your help econcepts. I got the mod to work. Is is possible to add the code to the home page? It's flash

6 Feb 2008, 4:30 PM
#602
teebo avatar

teebo

Zen Follower

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

Re: Simple Google Analytics - Support

I would like to install this to track the ecommerce conversion rate from adwords.

However, I do not use the standard zen cart checkout method, I only use google checkout of which does not communicate with zen cart because I allow them to checkout without creating an account on my website.

Therefore my stock totals don't subtract, or orders go into the admin.

Is it still possible for me to track adwords conversion with this mod? What page would I use for checkout success, response handler?

I have google analytics installed right now, but it shows $0.00 for ecommerce, I have not set any goals or anything.

6 Feb 2008, 9:16 PM
#603
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Buster:

Thanks for your help econcepts. I got the mod to work. Is is possible to add the code to the home page? It's flash

You could so this for the home page.

  1. View one of your shop pages in a browser, then perform a "view source". Copy and paste the code from the bottom of the page.

  2. Now, Manually paste that code into the "flash" home page.

6 Feb 2008, 9:17 PM
#604
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

CES:

Hi

Just to confirm I too am having discrepencies with the new analytics.

I am having 0.00 revenue figured for some transactions.

And the Adwords Campaign figures do not tally either. I think if the revenue from a transaction is 0.00 then in e-commerce tab of the ad-words section it shows as no transaction.

I think I made sense???

Craig

I'm seeing this too on a number of sites now. I am researching it on the Internet and with Google. The tracking code is up to spec according to them, so there may be something else causing it.

6 Feb 2008, 9:21 PM
#605
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

teebo:

I would like to install this to track the ecommerce conversion rate from adwords.

However, I do not use the standard zen cart checkout method, I only use google checkout of which does not communicate with zen cart because I allow them to checkout without creating an account on my website.

Therefore my stock totals don't subtract, or orders go into the admin.

Is it still possible for me to track adwords conversion with this mod? What page would I use for checkout success, response handler?

I have google analytics installed right now, but it shows $0.00 for ecommerce, I have not set any goals or anything.

You can still track AdWords conversion IF (and only IF) you have access to (as in able to modify it) the "thank you page" the user is taken to after a sale.

If you have the ability to do that, then all you have to do is insert the Tracking code that you'll find under your Adwords account (not in Zen) onto that "thank you page" and you should be good to go.

If your thank you page is the Zen Cart "checkout success" then all you have to do is turn on Conversion Tracking from within the Zen Admin and enter your conversion tracking ID in the space provided (again, in the Zen admin).

7 Feb 2008, 6:03 AM
#606
teebo avatar

teebo

Zen Follower

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

Re: Simple Google Analytics - Support

econcepts:

You can still track AdWords conversion IF (and only IF) you have access to (as in able to modify it) the "thank you page" the user is taken to after a sale.

If you have the ability to do that, then all you have to do is insert the Tracking code that you'll find under your Adwords account (not in Zen) onto that "thank you page" and you should be good to go.

If your thank you page is the Zen Cart "checkout success" then all you have to do is turn on Conversion Tracking from within the Zen Admin and enter your conversion tracking ID in the space provided (again, in the Zen admin).

Yeah I figured that, and unfourtnely I don't have access to the thank you page that is on the googles end. You can control where it goes once they hit keep shopping, but obviously most people will not click that.

I am going to find some way, there must be.

7 Feb 2008, 4:10 PM
#607
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Simple Google Analytics - Support

econcepts:

I'm seeing this too on a number of sites now. I am researching it on the Internet and with Google. The tracking code is up to spec according to them, so there may be something else causing it.

I'm seeing this - as well as orders with missing items (both in the 0 total orders and the non 0 totals)

can't find any rhyme or reason for it

one thought - if the user clicks away from the checkout success page before the javascript has had chance to comlete (slow connection??) would that cause the problem??

Regards
David

10 Feb 2008, 1:32 PM
#608
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

David Allen:

I'm seeing this - as well as orders with missing items (both in the 0 total orders and the non 0 totals)

can't find any rhyme or reason for it

one thought - if the user clicks away from the checkout success page before the javascript has had chance to comlete (slow connection??) would that cause the problem??

Regards
David

I don't think that is the case at all. Once that page loads, it records. Until Google released the new "ga.js" version of code, everything seemed to work fine with many clients I use it on.

Once that code was released I began to see a number of users across the Internet reporting this issue as well. I can't be sure, but am feeling it may be a Google issue. Recently, one of the client sites that was incorrectly recording data began to properly record it again without me making any changes.

10 Feb 2008, 3:48 PM
#609
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I am running zc 1.3.8a and MySQL 5.x

I read the installation instructions for a new install and followed them - I thought.

I installed this S-G-A mod, using the Tools > Install SQL Patch to install the mysql file, browsed to your .sql file on my HD and clicked Upload.

I then went to Admin > Configuration > Google Analytics and set things up, putting in my GA code, etc.

I see Adwords clicks, but I get no records in my Google Analytics reports. Is there something more I need to do with the mysql patch? When I "uploaded" it nothing appeared in the ZC text area that is labeled "Enter query". Was I supposed to do a copy/paste here? I know nothing about mysql queries.

Jack
Ref: http://artbeautiful.com

10 Feb 2008, 6:05 PM
#610
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Correction:

I used the term "GA code". I should have said GA account ID, which I pasted into the Config > Google Anaylitics setup. I have no idea which version of the code your mod grabs for my pages.

12 Feb 2008, 2:41 PM
#611
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

JackA:

I am running zc 1.3.8a and MySQL 5.x

I read the installation instructions for a new install and followed them - I thought.

I installed this S-G-A mod, using the Tools > Install SQL Patch to install the mysql file, browsed to your .sql file on my HD and clicked Upload.

I then went to Admin > Configuration > Google Analytics and set things up, putting in my GA code, etc.

I see Adwords clicks, but I get no records in my Google Analytics reports. Is there something more I need to do with the mysql patch? When I "uploaded" it nothing appeared in the ZC text area that is labeled "Enter query". Was I supposed to do a copy/paste here? I know nothing about mysql queries.

Jack
Ref: http://artbeautiful.com

Jack,

A few things to note.

  1. It is sometimes best to "copy and paste" the SQL patches into the Admin interface rather than upload files (which in the past have been shown to be rather shaky at times).

  2. Seeing Adwords clicks does not mean you have the module installed. Adwords clicks are tracked from the GOOGLE side and triggered when a user clicks on your ad). Integration between Google AdWords and Google Analytics is what can happen with my mod (so that the Adword data shows in your Google Analytics reports).

  3. Did you add the line of code to your "tpl_main_page.php" file as listed in the installation? I looked at your site, and the tracking code is not showing at the bottom of your pages. This means that you skipped Step 3 of the installation instructions which mentions that you need to add the following lines of code to the "tpl_main"page.php" file:

<?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?>

If you perform #3 above, I think you'll get it all working. :)

12 Feb 2008, 5:36 PM
#612
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks.

I'm asking the following for the benefit of others and because the reports are only generated once a day. I pasted it in the tpl_main_page.php just before the </body> tag, correct? So, a live page now shows this at the bottom (my UA id hidden here):

<!--eof- site copyright display -->

</div>

<!--bof- parse time display -->

<!--eof- parse time display -->

<!--bof- banner #6 display -->

<!--eof- banner #6 display -->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-XXXXXXX");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</body>

</html>
12 Feb 2008, 5:45 PM
#613
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Sorry, tried to add this to the previous, but the editor froze.

How would I check to see if the mysql patch uploaded correctly?

13 Feb 2008, 8:50 PM
#614
elhauk avatar

elhauk

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm feeling especially dim right now.

Been working with this for hours now but google still says tracking not installed.
But i can see it in the page source! What is it that either google or i are missing?

The page is at www.napavi.no/shop

Anyone feeling bright?

13 Feb 2008, 11:21 PM
#615
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

elhauk
I'm having my own troubles, but I do know Google update the results only daily. I frankly don't remember if the "√Receiving data" shows immediately or not. Someone else will have to answer that. I also see you have not placed the php code (reply #613 ) at the bottom of the tpl_main_page.php file.
I like your design.

econcepts:
My problem is that I have added the code as you recommended in post #613, I see the Google Analytics code in my page, and I see √Receiving data in my GA dashboard, but no visitors are registering in the reports.

In phpmyadmin, I see the table, google_analytics_languages, in my database, but that's all. Is there more I should see to confirm that the Simple-Google-Analytics patch is in place?

13 Feb 2008, 11:27 PM
#616
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

elhauk:
I'm having my own troubles, but I do know Google update the results only daily. I frankly don't remember if the "√Receiving data" shows immediately or not. Someone else will have to answer that. I also see you have not placed the php code (reply #613 ) at the bottom of the tpl_main_page.php file.
I like your design.

econcepts:
My problem is that I have added the code as you recommended in post #613, I see the Google Analytics code in my page, and I see √Receiving data in my GA dashboard, but no visitors are registering in the reports.

In phpmyadmin, I see the table, google_analytics_languages, in my database, but that's all. Is there more I should see to confirm that the Simple-Google-Analytics patch is in place?

If I copy/past the patch into the /admin area under Tools > Install mySQL patches, will it overwrite what is there, and how should I open the data to copy it without losing any important formatting?

14 Feb 2008, 10:29 AM
#617
elhauk avatar

elhauk

New Zenner

Join Date:
Nov 2007
Posts:
7
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanx for compliment and advice JackA

Obviously the Recieving data takes som time to update. Should maybe be some kind of warning in the installation file saying; "patience young padawan, if google doesnt register your site, leave it till the next morning before you post a hysteric complaint..."

14 Feb 2008, 7:46 PM
#618
larry_hendrick avatar

larry_hendrick

New Zenner

Join Date:
Dec 2007
Location:
Texas
Posts:
9
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I am upgrading to the new 1.2.1 on ZenCart 1.3.7. Simple Google Analytics has been installed and working since December, but I am getting an error when I run the upgrade sql patch for the new one. These are the steps I did:

  1. uploaded google_analytics.php to:
    includes/templates/cherry_zen/google_analytics folder.
  2. opened includes/modules/pages/checkout_success/on_load_main.js and determined "javascript:__utmSetTrans();" was the only line in the file, so I deleted it from the directory.
  3. copied the googleanalytics-UPGRADE.sql contents into the SQL query executer and hit "SEND"
  4. got the following page:

1062 Duplicate entry 'GOOGLE_CONVERSION_ACTIVE' for key 2
in:
[INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Activate Conversion Tracking', 'GOOGLE_CONVERSION_ACTIVE', 'No', 'This element enables you turn on or off Google Conversion Tracking.

Please Note: Conversion tracking is used to track the effectiveness of Google AdWords paid search campaigns. If you are not running any paid search campaigns, then you should leave this set to "No".

If you are running Google AdWords (paid search) campaigns, then turning this on will place the proper conversion tracking code on your checkout success page and enable you to start tracking conversions.

Turning this on requires you to enter your unique Google Conversion Tracking ID in place of the "XXXXXXXXXXX" number shown in the next section.

For more hints and tips on how to use Google Analytics to increase sales from your store, visit ZenCartOptimization.com

Do you want to turn on Google AdWords Conversion Tracking?
', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''Yes'', ''No''), ');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I've double-checked the location of the files and tried running the query again with the same results. The only way to exit this page is the "back" button or close the page.
website: flagstore.flagsbay.com

14 Feb 2008, 8:04 PM
#619
jacka avatar

jacka

Zen Follower

Join Date:
Nov 2007
Location:
Dallas, Texas USA
Posts:
180
Plugin Contributions:
0

Re: Simple Google Analytics - Support

OK, I notice that the Google account ID and the Google account number are slightly different. The ID is UA-xxxxxxx but the account number for a specific url is UA-xxxxxxx-x, I suppose because I am tracking several sites.

So, I went back to Configuration > Google Analytics Configuration and added the -x at the end of the account number, which was not there before. Was this the problem? It appears I can't find out till tomorrow.

14 Feb 2008, 8:31 PM
#620
bsp avatar

bsp

New Zenner

Join Date:
Jan 2008
Location:
Sunnyvale, CA, USA
Posts:
6
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I am trying to install this Google analytics as new, but i am confused...

"1. After you have identified the directory that your template is running from and determined where you will be uploading the files to,
upload the included install files and directories to your zen cart site."

Upload which of the many files and directories? To which one of my custom templates.....? I have a few custom templates, or is that wrong?