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

Simple Google Analytics - Support

Views: 451,190

Results 1,121 to 1,140 of 2,165
8 Jan 2010, 6:09 AM
#1121
rufusclc avatar

rufusclc

Zen Follower

Join Date:
Sep 2008
Location:
San Diego
Posts:
159
Plugin Contributions:
0

Simple Google Analytics - Support

I am sure I followed your instructions, have installled a couple of times on my site at createadesign.net, but I still get:
The Google Analytics tracking code has not been detected on your website's home page
on the Google site, and i have an inverted yellow triangle under Status
any suggestions or help would be greatly appcreciated
Rufusclc

8 Jan 2010, 12:47 PM
#1122
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

I went to your site and it looks like there is a problem near the bottom of the page (when I view source). The closing BODY and HTML tags are missing (which again leads me to to believe there is an issue with code near the bottom somewhere. Looks like the menu calls just stop after "Newsletter Unsubscribe" -- look around that area in your code for a possible error (maybe non-related to this mod?)

Make sure you did Step 3 of the install (added the line of code that calls "google_analytics.php".

Also make sure you add that line of code to the proper page. It looks like you are using a form of the Apple zen template. You will want to add the line of code in step 3 to the tpl_main_page.php in the same folder that your template is running from (like "apple").

Finally, make sure you upload the "google_analytics" folder to your custom template directory as well (not the default one).

Let me know if this helps.

The only reason code won't show (tracking) with this mod is due to one of the three reasons above.

11 Jan 2010, 3:01 PM
#1123
cotsweb avatar

cotsweb

New Zenner

Join Date:
Oct 2007
Location:
Stow on the Wold, in the Cotswolds - England
Posts:
13
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,
Do you have any plans to update Simple GA to use the new asynchronous tracking code now available from GA?
I have used it on a couple of (non zen cart) sites and it is much faster.

Thanks
Mark

PS Thanks very much for Simple GA it is a very good add on.

11 Jan 2010, 3:32 PM
#1124
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

cotsweb:

Hi,
Do you have any plans to update Simple GA to use the new asynchronous tracking code now available from GA?
I have used it on a couple of (non zen cart) sites and it is much faster.

Thanks
Mark

PS Thanks very much for Simple GA it is a very good add on.

Good question Mark.

The answer is yes. In fact I have been working on upgrading it here to include a few other features as well.

Hope to have a new release out soon.

Eric

11 Jan 2010, 3:37 PM
#1125
cotsweb avatar

cotsweb

New Zenner

Join Date:
Oct 2007
Location:
Stow on the Wold, in the Cotswolds - England
Posts:
13
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Good question Mark.

The answer is yes. In fact I have been working on upgrading it here to include a few other features as well.

Hope to have a new release out soon.

Eric

Excellent news, I'll keep an eye out for the new version.
If you can include an easy upgrade path like you did from 1.2.1 to 1.2.2 that would be brilliant.

Thanks for all your good work.

Mark

11 Jan 2010, 5:13 PM
#1126
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

cotsweb:

Excellent news, I'll keep an eye out for the new version.
If you can include an easy upgrade path like you did from 1.2.1 to 1.2.2 that would be brilliant.

Thanks for all your good work.

Mark

Upgrade will be very simple. I don't like messy upgrades. :)

Keep your eyes open.

16 Jan 2010, 4:00 AM
#1127
techiant avatar

techiant

New Zenner

Join Date:
Oct 2008
Posts:
82
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Currently we use GoogleCheckout module with its own integrated Analytics tracking. Everything works fine except the Ecommerceconversion where only the orders processed through GoogleCheckout get tracked in Analytics Ecommerce.

I have two questions:

  1. Can this Simple Google Analytics module track all orders in Ecommerce including the GC, WPP and check/money order?

  2. If so, how do we go about installing this module alongside the GoogleCheckout payment module?

My guess is that we simply install the Simple Google Analytics module and disable the Analytics tracking within GC Payment module, can someone confirm with similar set-up that the two work without any issues please?

Thanks.

16 Jan 2010, 1:20 PM
#1128
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Techiant:

Currently we use GoogleCheckout module with its own integrated Analytics tracking. Everything works fine except the Ecommerceconversion where only the orders processed through GoogleCheckout get tracked in Analytics Ecommerce.

I have two questions:

  1. Can this Simple Google Analytics module track all orders in Ecommerce including the GC, WPP and check/money order?

  2. If so, how do we go about installing this module alongside the GoogleCheckout payment module?

My guess is that we simply install the Simple Google Analytics module and disable the Analytics tracking within GC Payment module, can someone confirm with similar set-up that the two work without any issues please?

Thanks.

  1. Yes, this module tracks all orders on the Ecommerce side of things ... no matter the method of payment processing.

  2. Should work alongside GC Payment module with no conflicts. Just follow the install instructions (very simple) provided with the mod and you're all set. There should be no need to disable one tracking in place of another unless both tracking ids appear on a single page (which would inflate your statistics by "2 times").

Let me know if that helps.

16 Jan 2010, 5:01 PM
#1129
techiant avatar

techiant

New Zenner

Join Date:
Oct 2008
Posts:
82
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks Eric, will give this a try. Hopefully this can resolve the issue. Will post back.

17 Jan 2010, 12:20 PM
#1130
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Sounds good. If you have any questions or problems feel free to ask. Good luck!

17 Jan 2010, 6:39 PM
#1131
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Please forgive me if there is an answer right in front of my face, I have searched for it and not found it. I am trying to put the Google conversion code on my Zen Cart. Where does it go? Templates-->Myname-->Google analytics? Or some place else? Where is the "conversion confirmation page"?The instructions with Google are not easy to follow. Thanks for letting me know.

17 Jan 2010, 8:24 PM
#1132
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: Simple Google Analytics - Support

To be more specific,here is what they say on the Google site and where I am not understanding them (in red):
III. Conversion tracking & Hypertext Preprocessor (PHP)
Follow these instructions to insert the conversion tracking code to a website created using dynamically-generated PHP: Hypertext Preprocessor (PHP) pages.
To add conversion tracking code to PHP pages using your web page editor, complete the following tasks:

  1. Open your conversion confirmation page PHP file. If multiple pages are generated from the same file, find the section in the PHP file which generates your conversion page.
    Where is the conversion confirmation page?

  2. If your site has a variable conversion value, determine the PHP expression that displays that value. For example: <?php echo $totalValue ?>, <? echo totalValue ?>
    Choose the Purchase/Sale conversion type while going through the conversion tracking setup. Insert the full string (<? echo $totalValue ?>) into the "Revenue for your action" field and click Save Changes & Get Code to generate the final tracking code. Click 'OK' when you're prompted about using an unrecognized value. Copy and save the resulting code snippet .
    I don't think that Zen Cart has a variable conversion value, does it?

  3. Insert the conversion tracking code onto the conversion confirmation page. Make sure that the code appears within a static HTML section, not contained within an PHP code section (delineated by <? and ?> markers).
    Insert the conversion tracking code snippet directly into the body of the conversion confirmation page. Search for the </body> tag and place the code immediately above it.
    If the </body> tag is not located within the static portion of the HTML page, make sure that you add the code snippet so that it appears within the <body> section of the page.
    **This seems pretty straightforward. It's just the where of the final conversion page that I think is hanging me up.
    **

17 Jan 2010, 8:43 PM
#1133
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I suspect that the answer is: /includes/modules/pages/checkout_success/header_php.php I did look at that and the entire header_php.php is (guess what) php. According to Google you are supposed to put the code in an area of the checkout success page where there is only static HTML, but all of the header_php.php is (as I said before) php. Would I add some HTML to it, such as Make a phony header up for it to make it look like there is an HTML area. I am baffled. Thank you for any enlightenment.

18 Jan 2010, 8:39 AM
#1134
rasabeh avatar

rasabeh

New Zenner

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

Re: Simple Google Analytics - Support

I have read 30 pages of posts and still can't find a solution to why the tracking code has not been detected by Google.

I am using 1.3.8a and installed the Simple Google... Mod. I thought I put the files in the right places and the SQL patch installed fine. I pasted

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

into the footer of the tpl_main_page.php file, entered my Google account # into the admin section confirming the number was accurate and checked the yes, ecommerce radio button on my Google Account.

I don't see the tracking code on my homepage but I don't understand what I did wrong. This is the URL http://healthybargains.net and I would be happy to give my FTP info if needed.

Any help would be appreciated. Thank you so much.

18 Jan 2010, 12:39 PM
#1135
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Yes, there is no tracking code on your site (obviously). This means that you put the code in the wrong location or into the wrong template.

You're running a custom template so make sure you put it into that folder (tpl_main_page.php) and not another.

PM Me with FTP info and I can take a look.

18 Jan 2010, 6:04 PM
#1136
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I did find the answer to my question, so I will post it here in case someone else looks here for the answer. I have the Google Analytics Configuration module on my Zen Cart. I put in the Analytics Account Number and Google Adword Conversion Tracking Number in the places indicated, I set the "Activate Conversion Tracking" to yes and that was all I had to do to turn on conversion tracking for Google Adwords on my Zen Cart. So there was nothing more to add to other parts of the site.

On the other hand, I needed to put the Analytics code on the tpl_main_page which was located in your template/common folder, and put the code right above the closing </body> tag. I got that code from the Google Analytics site.

Your Analytics Account Number is given to you at the Google Analytics site when you sign up for it.

The conversion ID is sort of hidden, you generate the code snippet and there is a line which looks like this:
var google_conversion_id = 12341234123;
That number is your conversion ID and that is what you put in your module.

So far things are working well. It is more strange to sign up for all this, and then again parts are very easy as well. I hope that this helped someone out there. I was baffled for a long time, too.

18 Jan 2010, 6:08 PM
#1137
techiant avatar

techiant

New Zenner

Join Date:
Oct 2008
Posts:
82
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Sounds good. If you have any questions or problems feel free to ask. Good luck!

Worked very well. Install was as easy as it gets. Now the eCommerce tracking works for all types of checkout. I also disabled the GC module Analytics feature just in case.

Thanks for your help.

18 Jan 2010, 9:41 PM
#1138
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks econcepts, great add-on!

everything works great with only one tiny small problem tho... (and its probs something i have not done right)

When i go to ADMIN> Configuration> Google Analytics Configuration> Google AdWords Language
to change the language from en_US to en_GB it wont let me.
When i go to click 'edit' the whole box on the right hand side disappears?

I have attached a screen dump to illustrate, I have tried this on several stores and each store has the same problem. using a freah download each time.
ZC1.3.8a fully patched.
mods as follows:

Admin Profiles + Patch (kuroi)
Ask a Question (SWGUY)
Module Manager (Yellow1912)
Just another cross-sell Mod (Yellow1912)
EZ Pages Metatags (ebspromo)
Inc/Ex VAT (Andrew Moore)

Install/SQL returned no errors,
no files for core ZC or ZC mods were overridden

Hope you can help!
Cheers

18 Jan 2010, 10:31 PM
#1139
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,

I have worked it out...
I didnt renamed my ADMIN folder to my covert name... LOL
all working great now.. brill mod!

thank you

19 Jan 2010, 11:41 AM
#1140
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

fabienne:

I did find the answer to my question, so I will post it here in case someone else looks here for the answer. I have the Google Analytics Configuration module on my Zen Cart. I put in the Analytics Account Number and Google Adword Conversion Tracking Number in the places indicated, I set the "Activate Conversion Tracking" to yes and that was all I had to do to turn on conversion tracking for Google Adwords on my Zen Cart. So there was nothing more to add to other parts of the site.

On the other hand, I needed to put the Analytics code on the tpl_main_page which was located in your template/common folder, and put the code right above the closing </body> tag. I got that code from the Google Analytics site.

Your Analytics Account Number is given to you at the Google Analytics site when you sign up for it.

The conversion ID is sort of hidden, you generate the code snippet and there is a line which looks like this:
var google_conversion_id = 12341234123;
That number is your conversion ID and that is what you put in your module.

So far things are working well. It is more strange to sign up for all this, and then again parts are very easy as well. I hope that this helped someone out there. I was baffled for a long time, too.

Actually you did this wrong. The way you set it up (if you copied the code that Google Gave you to your tpl_main_page) then a lot of the features of the module will be lost.

My module already has all that code pre-set -- you need to to nothing but upload my files and add your tracking numbers to the adim.

All you have to do is add the line of code from STEP 3 of the readme that came with the module (to the same location on the tpl_main_page) and you're all set.

The way you did it you'll have problems. There should be no need to manually copy any code from Google into your site (only the tracking numbers.)

Again, just follow the instructions in my readme (not on Google) and it should work flawlessly for you .. that includes Ecommerce Tracking, Conversion Tracking for Adwords, Analytics, Goals, Funnels, etc...

It's all pre-built into my module. If you are reading what Google is telling you to do, you're doing it wrong.