Google Analytics Issue
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
Google Analytics Issue
I've got the Google Analytics Widget in all my footers and both the page tracking and e-commerce tracking are enabled in the Admin interface. What I can't figure out is why none of the e-commerce information is going through to Google. About a month ago, one of my test transactions went through, but since we've gone live, nothing has transferred at all.
Any ideas?
Mike
Any ideas?
Mike
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
hmm wonder if mine is coming through...
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
I don't think mine is set up right on google's side so I'm not a good source of info right now
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
I scanned my site with a link checker and it returned an error on the https link to the ga.js ... which would explain why it doesn't work now that SSL is turned on. However, when I typed the link directly, it downloaded the js file just fine. So... the link's not bad, I'm not sure if it's AbleCommerce, or what.
I ended up downloading the file and putting it on my site and changing the GoogleAnalyticsWidget conlib to reference that link if it's a https page. I'll see tomorrow if my e-commerce data shows up in Google Analytics and report back then.
Mike
I ended up downloading the file and putting it on my site and changing the GoogleAnalyticsWidget conlib to reference that link if it's a https page. I'll see tomorrow if my e-commerce data shows up in Google Analytics and report back then.
Mike
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Hi Mike
Are you using the new ga analytics or the older urchin version?
We are using the older urchin and want to change it to the newer version that came out in DEC.... so we are working on this too.
Have you actually done a transaction and looked at the code (view source) just before you make the purchase and just after you complete the purchase (on the receipt that comes after you have successfully made a transaction)? I believe that it needs to be in both places. If page view is working but ecommerce is not working, the google code may not be on the receipt page.
Don
Are you using the new ga analytics or the older urchin version?
We are using the older urchin and want to change it to the newer version that came out in DEC.... so we are working on this too.
Have you actually done a transaction and looked at the code (view source) just before you make the purchase and just after you complete the purchase (on the receipt that comes after you have successfully made a transaction)? I believe that it needs to be in both places. If page view is working but ecommerce is not working, the google code may not be on the receipt page.
Don
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
Don - I've been using the new GA code. However, I think I've figured out what's causing the problem.
In the Google Analytics Widget, the new ga.js script file is called, so all the normal tracking data goes through fine using the new file. But for e-commerce transactions, the code is using the old UTM|T ... setup. The new ga.js has a different setup using the _addTrans and _addItem methods.
Now for the new problem ... I've never done very good with setting up the transaction code so if anyone has some better experience with that, I'd certainly be grateful. (I'll submit a bug request too, though)
Mike
In the Google Analytics Widget, the new ga.js script file is called, so all the normal tracking data goes through fine using the new file. But for e-commerce transactions, the code is using the old UTM|T ... setup. The new ga.js has a different setup using the _addTrans and _addItem methods.
Now for the new problem ... I've never done very good with setting up the transaction code so if anyone has some better experience with that, I'd certainly be grateful. (I'll submit a bug request too, though)
Mike
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Hi Mike,
Try it this way with ga on 1 side and ua on the checkout receipt side - it seems to work for us as we see tracking and orders both. Or if not, you could just use Urchin on both sides. This ga is new for Google - in DEC.
Mike and Logan - check it out as ga is the new code and should work on both sides of the Checkout Process.
Don
Try it this way with ga on 1 side and ua on the checkout receipt side - it seems to work for us as we see tracking and orders both. Or if not, you could just use Urchin on both sides. This ga is new for Google - in DEC.
Mike and Logan - check it out as ga is the new code and should work on both sides of the Checkout Process.
Don
Re: Google Analytics Issue
Does anyone have an update on this item? I'm thinking about enabling e-commerce tracking as well.
I suppose I could write my own hooks to the addItem and addTrans methods in the receipt page, but I'd rather stick with the widget.
Thanks,
Mike
I suppose I could write my own hooks to the addItem and addTrans methods in the receipt page, but I'd rather stick with the widget.
Thanks,
Mike
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Re: Google Analytics Issue
Hi All,
We have the old version of Google Analytics working ( the Urchin version ). When we tried to install the new Google ga code ( revised in Dec 2007 ) it did not work properly. I wonder if AC has checked this or if anyone else has successfully installed the new ga code ??
Judy ??
Thanks, Don
We have the old version of Google Analytics working ( the Urchin version ). When we tried to install the new Google ga code ( revised in Dec 2007 ) it did not work properly. I wonder if AC has checked this or if anyone else has successfully installed the new ga code ??
Judy ??
Thanks, Don
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Google Analytics Issue
I installed it on a site a few days ago that is supposed to go live next week and I am getting data. I haven't tried to set up the e commerce tracking yet. Here is the code I used:
<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-xxxxx-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
BTW, you are goinginstyle.com aren't you?
I got a page error trying to access it
Server Error in '/gis' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
-----
I got in OK when I went to a link in your sitemap I found in Google.
<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-xxxxx-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
BTW, you are goinginstyle.com aren't you?
I got a page error trying to access it
Server Error in '/gis' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
-----
I got in OK when I went to a link in your sitemap I found in Google.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Re: Google Analytics Issue
Hi Judy,
Thanks. The error is unrelated ... our Home Page got corrupted when we tried to set the Product Reviews from False to True. And so we restored the database and all is well.
On Google Analytics - just to tell you our experience. We got ga to work on the web site of the site but when we put it on the cart side ( different job ) we got no ecommerce data. We got page tracking but no sales or transactions info. So we took ga off the cart and we are now getting both page info and sales info.
A strange one ... we dont know if it is us or AC 7. Also, that was with RC1 - we havent touched it since then as we havent heard of anyone else getting the new ga code to work on both the pages and the cart.
Let us know what you find. If it works on both sides for you, we will try it again.
Don
Thanks. The error is unrelated ... our Home Page got corrupted when we tried to set the Product Reviews from False to True. And so we restored the database and all is well.
On Google Analytics - just to tell you our experience. We got ga to work on the web site of the site but when we put it on the cart side ( different job ) we got no ecommerce data. We got page tracking but no sales or transactions info. So we took ga off the cart and we are now getting both page info and sales info.
A strange one ... we dont know if it is us or AC 7. Also, that was with RC1 - we havent touched it since then as we havent heard of anyone else getting the new ga code to work on both the pages and the cart.
Let us know what you find. If it works on both sides for you, we will try it again.
Don
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Google Analytics Issue
I'll do some checking this weekend on the ecommerce part of the new ga.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Commander (CMDR)
- Posts: 172
- Joined: Mon Oct 15, 2007 2:53 pm
- Location: Palo Alto, CA
- Contact:
Re: Google Analytics Issue
Thanks Judy,
I hope RC3 cleared this ga tracking issue, up but I dont know as we havent looked at it since we tried to make it work as few months ago. Google Tracking is a very valuable tool to have ... The old Google Tracking code we put onto every page + the shopping cart ( separately) last Nov seems to be working but if Google recommends an update to the new code ( with more enhanced features ) , it would be nice to install it.
****
On another note, I think it would be good to have a review of the AC 7 Feature list - what is now working and what isnt working properly. I do not believe that this list has been updated since last September. We are still trying to figure out how to do the feeds and how to get Google Checkout to work properly with callback URLs and proper transfer of options (colors), tax, and variations in shipping prices ( as a function of price).
This is the Feature List for AC 7 :
http://www.ablecommerce.com/AbleCommerc ... 25C20.aspx
Don
I hope RC3 cleared this ga tracking issue, up but I dont know as we havent looked at it since we tried to make it work as few months ago. Google Tracking is a very valuable tool to have ... The old Google Tracking code we put onto every page + the shopping cart ( separately) last Nov seems to be working but if Google recommends an update to the new code ( with more enhanced features ) , it would be nice to install it.
****
On another note, I think it would be good to have a review of the AC 7 Feature list - what is now working and what isnt working properly. I do not believe that this list has been updated since last September. We are still trying to figure out how to do the feeds and how to get Google Checkout to work properly with callback URLs and proper transfer of options (colors), tax, and variations in shipping prices ( as a function of price).
This is the Feature List for AC 7 :
http://www.ablecommerce.com/AbleCommerc ... 25C20.aspx
Don
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Google Analytics Issue
I am getting ecommerce data in GA using the above tracking code.
Be sure to turn on the Ecommerce Website? Yes in GA.
Be sure to turn on the Ecommerce Website? Yes in GA.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Google Analytics Issue
I am new to able commerce. Does anyone have any idea where one is supposed to place the google analytics code for google to track the data?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Google Analytics Issue
I don't remember for sure, but I think all I did was enter the Urchin Id in the Configure-->Page Tracking and check the boxes. There is also info on that page about adding the tracking code to the pages. Then turn on Ecommerce tracking in your GA account.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx