New Zenner
- Join Date:
- Dec 2007
- Posts:
- 4
- Plugin Contributions:
- 0
Google Analytics Integration
I'm not finding it in this thread but does anyone know if the latest version of this mod (v2.2.1) will work with zen-cart v1.37?
Thank,
-bill
Views: 225,787
New Zenner
I'm not finding it in this thread but does anyone know if the latest version of this mod (v2.2.1) will work with zen-cart v1.37?
Thank,
-bill
Deceased
Hi Sharni,
Sharni:
Ok, I am going to have to try and nut this one out. I keep getting interrupted by my 6 month old.
The weird thing is, the next day GA was working and taking data ...
You must check the installation - GA code included 3 times:
<!--eof- site copyright 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 src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5529964-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<script type="text/javascript">
<!--
if(!gaJsHost) {
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">
<!--
if(!pageTracker) {
var pageTracker = _gat._getTracker('UA-5529964-2');
pageTracker._initData();
pageTracker._trackPageview();
}
//-->
</script>
</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
<script type="text/javascript">
<!--
if(!gaJsHost) {
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">
<!--
if(!pageTracker) {
var pageTracker = _gat._getTracker('UA-5529964-2');
pageTracker._initData();
pageTracker._trackPageview();
}
//-->
</script>
</body></html>
Deceased
leroyparker:
does anyone know if the latest version of this mod (v2.2.1) will work with zen-cart v1.37?
Yes, it will work with 1.3.7.
Deceased
dimid:
on the thank you page i don't see the ecommerce tracking code in the source code of the page
How do you viewed the source code?
New Zenner
Hi guys,
In the Admin Config form for this package, it asks for my "Analytics Account" and my "Adwords Conversion ID".
The Analytics account is from my GA account in the form of xxxxxx-x, but where do I get my "Adwords Conversion ID"???
Thanks,
TJ
New Zenner
a_berezin:
Google Analytics Integration
Very easy install, without changed of any files, admin control.Description
This module allow you to integrade the advanced e-commerce Analysis provided by the Google service named Google Analytics as described here:
http://www.google.com/analytics/Affected files
Changed files
None
New files/includes/modules/pages/checkout_success/jscript_google_analytics.php
/includes/modules/pages/checkout_success/on_load_google_analytics.js
/includes/templates/YOURTEMPLATE/jscript/jscript_google_analytics.phpInstall:
- BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
- Unzip and upload all files to your store directory (change YOURTEMPLATE to your template directory);
- Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql;
- Go to admin>tools>Google Analytics and setting up your Google Analytics configuration;
- Go to your Google Analytics Settings -> Edit Settings -> Edit Main Website Profile -> E-Commerce Website : Yes
The comments and wishes are welcomed.
The link is down... was it reposted somewhere in between here and the beginning of the thread?
New Zenner
AutoLeatherInc:
The link is down... was it reposted somewhere in between here and the beginning of the thread?
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=891
:clap:
New Zenner
foteek:
Hi guys,
In the Admin Config form for this package, it asks for my "Analytics Account" and my "Adwords Conversion ID".The Analytics account is from my GA account in the form of xxxxxx-x, but where do I get my "Adwords Conversion ID"???
Thanks,
TJ
Me puzzled too!
Does it matter that I'm using 'Starter Edition' of Adwords, and not 'Standard Edition'?
Zen Follower
I have installed the add on. I went to Configuration>GA Configuration>Analytics Number and entered in my Account ID number.
When I go to my GA account it is telling me that Tracking not installed. This is the error code I get:
Tracking Not Installed (Last checked: Sep 19, 2008 6:24:49 AM )
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.
Any help as to what I've done wrong would be appreciated. Thanks.
Zen Follower
VisExp:
I have installed the add on. I went to Configuration>GA Configuration>Analytics Number and entered in my Account ID number.
When I go to my GA account it is telling me that Tracking not installed. This is the error code I get:
Tracking Not Installed (Last checked: Sep 19, 2008 6:24:49 AM )
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.Any help as to what I've done wrong would be appreciated. Thanks.
Nevermind. It seems to have started working. No reports yet but I guess I have to wait 24 hours for that. Thanks.
New Zenner
Thank you, to share and support
Have you ever been to www.yallcenter.com ?
There is a DIY Heaven:clap:
New Zenner
Hi,
Looking for Google Analytics. Just found some treasure in the Zen Cart backyard.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=891
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=412
Hope all out there stop all their worries and start Google Analytics.
WebMaster,
See example website with applied Google Analytics.
Zen Follower
Please help. Google analytics working just fine UNTIL I switched templates. I'm now using Mother Earth and Google Analytics is reporting but there have been zero customers for the past 4 days WHICH I KNOW IS NOT ACCURATE. I had a customer email me yesterday with a question. And prior to that I had anywhere from 25 customers to over 80.
Is there something I need to do with my new template? Much much appreciated! Lynn
New Zenner
Please help. Google analytics working just fine UNTIL I switched templates. I'm now using Mother Earth and Google Analytics is reporting but there have been zero customers for the past 4 days WHICH I KNOW IS NOT ACCURATE. I had a customer email me yesterday with a question. And prior to that I had anywhere from 25 customers to over 80.
Is there something I need to do with my new template? Much much appreciated! Lynn
You will need to copy the file
/includes/templates/THENAMEOFYOUROLDTEMPLATEFOLDER/jscript/jscript_google_analytics.php
to your new template folder
/includes/templates/THENAMEOFYOURNEWTEMPLATEFOLDER/jscript/jscript_google_analytics.php
New Zenner
I just switched from Simple Google Analytics to Google Analytics by Andrew 2.2.1. It seems as though quotes are not escaped when submitting product names to google analytics.
Example...
Right Bank Babies Reversible Romper "Mary Anne"
After switch over...
Right Bank Babies Reversible Romper "Mary Anne"[Size: 18-24m]
The good thing is that Analytics by Andrew included the attribute. The bad thing is the quotes don't get escaped. I am going to go poking around but in case anyone is listening, maybe there is an easy fix.
Cal
Deceased
This is fixed in v 2.2.3. Wait a few days. Or replace zen_output_string_protected to addslashes.
New Zenner
a_berezin:
This is fixed in v 2.2.3. Wait a few days. Or replace zen_output_string_protected to addslashes.
Just to confirm on line 136 replace...
'"' . zen_output_string_protected($order->products[$i]['name'] . $products_attributes_name) . '",' .
with...
'"' . addslashes($order->products[$i]['name'] . $products_attributes_name) . '",' .
Something tells me I took that too literally.
Deceased
You did everything correctly. But better replace ALL zen_output_string_protected.
Zen Follower
Does google analytics by andrew integrate goal value into GA? I currently just have the GA code pasted into the footer and it tracks everything fine except for goal value ($).
Or is there an easy fix to get the goal value working?
Thanks.
Zen Follower
Maybe helpfull what does the options in the admin mean:
Target Address
Affiliation
Use sku/code
Use pagename
Attributes Brackets
Attributes Delimiter
Tracking Outbound
Tracking Outbound Links Prefix
Use AdWords Conversion
AdWords Conversion ID
AdWords Conversion Language
Use pagename
These are options in the admin, but there is nothing what tell what these options do
Fields marked required must be completed.
Tell staff why this post should be reviewed.