|
|
||||
|
![]() |
![]() ![]() |
May 26 2008, 02:30 PM
Post
#1
|
|
|
Super Member Group: Commercial Contributor Posts: 578 Joined: 14-March 07 From: Australia Member No.: 20 Catalogue Listing About Us Store Review Here |
File Name: Google Analytics CC4 File Submitter: estelle File Submitted: 27 May 2008 File Updated: 13 Jul 2008 File Category: Miscellaneous For CubeCart Version: 4.2.2 CubeCart 4 already integrates with Google Analytics, excluding one major area - Ecommerce Tracking. With the installation of this free mod you can trace transactions to campaigns and keywords, get loyalty and latency metrics, and identify your revenue sources. You can view reports for any time period of your choice and you can easily compare data collected over two different time periods. Ecommerce reports include:
This CubeCart mod comes with very easy to follow installation instructions, presented with colour coded HTML. Version: 1.3 -- Updated July 13, 2008 The latest version of the mod will always be available here at Estelle's Mod Store Click here to download this file -------------------- ![]() Estelle's Mod Store --> For help with any of my mods please use my contact page! I am unable to visit these forums regularly so use my contact page if you want a timely response! Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more! |
|
|
|
May 26 2008, 03:03 PM
Post
#2
|
|
|
Member Group: Members Posts: 43 Joined: 13-September 07 Member No.: 1,598 |
Nice mod!
Wondering if anyone knows.....ive never used the google service. So ive setup a new account. Inserted the code into the CC admin....is that it or is there settings i need to do in google analytics itself? I noticed that it has filters and goal settings or is that what is being covered in the mod? Just wondering if im supposed to input anything else into the analytics service itself? Talk about analytics noobie or what!! This post has been edited by hennaboy: May 26 2008, 03:37 PM |
|
|
|
May 27 2008, 01:27 AM
Post
#3
|
|
|
Member Group: Members + Posts: 87 Joined: 20-May 07 From: New Orleans, la Member No.: 374 |
just installed this mod on a 4.1.1 store (yes i know it says its not tested on 4.1.1, but it seemed generic enough to try) and while I don't get any errors
this is what my confirmed page looks like .. CODE <div class="mainboxTitle">Confirmation Screen</div> <div> <div style="text-align: center; height: 25px;"> <div class="cartProgress"> Basket --- Checkout --- Payment --- <span class='txtcartProgressCurrent'>Complete</span> </div> </div> <p>Thank you, your order was successful and payment has been made! Your goods will be dispatched as soon as possible. Please visit again soon.</p> </div> </div> <!-- start mod - Google Analytics - by Estelle - http://cubecart.expandingbrain.com --> <!-- end mod - Google Analytics - by Estelle - http://cubecart.expandingbrain.com --> </div> it looks like the mod isn't outputting anything where it should .. any ideas ? |
|
|
|
May 27 2008, 04:31 AM
Post
#4
|
|
|
Super Member Group: Commercial Contributor Posts: 578 Joined: 14-March 07 From: Australia Member No.: 20 Catalogue Listing About Us Store Review Here |
@hennaboy - Within your Google Analytics account you will have to enable the Ecommerce feature.
1. Log in to your account. 2. Click Edit next to the profile you'd like to enable. 3. On the Profile Settings page, click edit next to Main Website Profile Information. 4. Change the E-Commerce Website radio button from No to Yes. @energy0m - Please send me an email with your website URL. Please also confirm that you have entered your google analytics ID within the CubeCart Admin -> General Settings page? -------------------- ![]() Estelle's Mod Store --> For help with any of my mods please use my contact page! I am unable to visit these forums regularly so use my contact page if you want a timely response! Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more! |
|
|
|
May 27 2008, 05:44 AM
Post
#5
|
|
![]() Member Group: Members + Posts: 39 Joined: 9-February 08 From: NL / USA Member No.: 3,390 |
thx Estelle, you made some
especially the free ones are highly appreciated !! --------------------
|
|
|
|
May 27 2008, 07:17 AM
Post
#6
|
|
|
Regular Member Group: Members + Posts: 220 Joined: 19-March 07 From: UK Member No.: 94 |
Well Done Estelle!!
I am glad someone had time to write this mod up... I have had it oscommerce tracking running for sometime but had no time to write it up!! Well done!! Adam |
|
|
|
May 27 2008, 12:20 PM
Post
#7
|
|
|
Member Group: Members Posts: 22 Joined: 3-February 08 Member No.: 3,290 |
Estelle, do you have any idea if this might 'just work' with a CC 3.0.17 installation? If not, can you suggest what I might be able to do? (Looking at the v3 code it doesn't look the same, I'd be happy to pay for a cc v3 version of this).
This post has been edited by spanishben: May 27 2008, 01:08 PM |
|
|
|
May 27 2008, 01:22 PM
Post
#8
|
|
|
Super Member Group: Commercial Contributor Posts: 578 Joined: 14-March 07 From: Australia Member No.: 20 Catalogue Listing About Us Store Review Here |
@spanishben - No, it won't work for CubeCart 3.0.17 as is. For CubeCart 3 the code will need to be changed, also the Google Analytics tracking code will need to be added into the page headers (styleTemplates/global/cart.tpl and styleTemplates/global/index.tpl). I will release this same mod for CubeCart 3 but not immediately... the mod doesn't yet work with the Print Order Form and I'm not sure if it works with gateways other than PayPal. If you'd like to be notified by email when this mod is released for CubeCart 3, send me an email.
Please post any feedback here. If the mod does/doesn't work successfully on CubeCart 4.1.x or earlier versions, and if the mod does/doesn't work successfully with gateways other than PayPal... let me know. -------------------- ![]() Estelle's Mod Store --> For help with any of my mods please use my contact page! I am unable to visit these forums regularly so use my contact page if you want a timely response! Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more! |
|
|
|
May 27 2008, 04:35 PM
Post
#9
|
|
|
Member Group: Members Posts: 22 Joined: 3-February 08 Member No.: 3,290 |
@spanishben - No, it won't work for CubeCart 3.0.17 as is. For CubeCart 3 the code will need to be changed, also the Google Analytics tracking code will need to be added into the page headers (styleTemplates/global/cart.tpl and styleTemplates/global/index.tpl). I will release this same mod for CubeCart 3 but not immediately... the mod doesn't yet work with the Print Order Form and I'm not sure if it works with gateways other than PayPal. If you'd like to be notified by email when this mod is released for CubeCart 3, send me an email. Thanks Estelle, I've got the tracking code in there already, and I've sent you an email.Please post any feedback here. If the mod does/doesn't work successfully on CubeCart 4.1.x or earlier versions, and if the mod does/doesn't work successfully with gateways other than PayPal... let me know. |
|
|
|
May 29 2008, 08:50 AM
Post
#10
|
|
|
Member Group: Members Posts: 43 Joined: 13-September 07 Member No.: 1,598 |
Ive had sales and the analytics code is in the general settings, website is set to www.henna-boy.co.uk/shop which is for the shop part of my website.
Anayltics isnt tracking anything though. Vistors, sales everything is 0 - does it report on a 24hr+ delay?? I use Nochex, 2CO and Paypal for my payment methods. |
|
|
|
May 29 2008, 02:49 PM
Post
#11
|
|
![]() ShopDev Group: Commercial Contributor Posts: 1,452 Joined: 4-April 07 From: Surrey, United Kingdom Member No.: 200 Catalogue Listing About Us Store Review Here |
Ive had sales and the analytics code is in the general settings, website is set to www.henna-boy.co.uk/shop which is for the shop part of my website. Anayltics isnt tracking anything though. Vistors, sales everything is 0 - does it report on a 24hr+ delay?? I use Nochex, 2CO and Paypal for my payment methods. When you select the date in Google Analytics, make sure that you are selecting the range to include today. There is a delay. If Google is showing that you code is installed correctly (in the dashboard), try wait for 24 hours and check again. -------------------- |
|
|
|
May 29 2008, 05:52 PM
Post
#12
|
|
|
Super Member Group: Commercial Contributor Posts: 578 Joined: 14-March 07 From: Australia Member No.: 20 Catalogue Listing About Us Store Review Here |
Version 1.1 released to fix a compatibility issue with CubeCart 4.1.x and 4.0.x stores. Added explanations of how to test whether the mod is going to work (so that you don't have to wait 24 hours to see if the stats show up in GA).
Support for Print Order Form has not yet been added, will be added in a future version. -------------------- ![]() Estelle's Mod Store --> For help with any of my mods please use my contact page! I am unable to visit these forums regularly so use my contact page if you want a timely response! Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more! |
|
|
|
May 30 2008, 12:03 AM
Post
#13
|
|
|
Newbie Group: Members Posts: 1 Joined: 29-May 08 Member No.: 4,957 |
I'm also getting no output on the order receipt except for the start and end mod tags and can confirm that GA is working for the rest of the website. Using Authorize.net as the gateway and CC 4.2.2. I hope you don't mind me taking the liberty of sending you an e-mail with the store URL as well Estelle.
Edit: This probably has something to do with test mode on authorize.net This post has been edited by lrdm: May 30 2008, 12:34 AM |
|
|
|
May 30 2008, 01:56 AM
Post
#14
|
|
|
Member Group: Members + Posts: 87 Joined: 20-May 07 From: New Orleans, la Member No.: 374 |
Estelle .. fyi ...
in your script CODE <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-XXXXXX-X"); pageTracker._initData(); pageTracker._trackPageview(); </script> it throws errors in Firebug ... but if you make the VAR statements lower case it throws no errors ... |
|
|
|
May 30 2008, 07:35 AM
Post
#15
|
|
|
Super Member Group: Commercial Contributor Posts: 578 Joined: 14-March 07 From: Australia Member No.: 20 Catalogue Listing About Us Store Review Here |
@energy0m - Thanks, typo. But no one should need to add that block into their files, it should already be there!
Working on a new version of the mod, will post here when its ready. -------------------- ![]() Estelle's Mod Store --> For help with any of my mods please use my contact page! I am unable to visit these forums regularly so use my contact page if you want a timely response! Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more! |
|
|
|
May 30 2008, 09:59 AM
Post
#16
|
|
|
Member Group: Members Posts: 43 Joined: 13-September 07 Member No.: 1,598 |
Cool starting to get click through reports on the analytics now....still waiting for the ecommerce conversions to come through as its still showing 0 but that may be from Nochex as apparently its not fully intergrated into CC4
Very nice mod hopefully the ecom conversion stats will come through if not then it dont matter |
|
|
|
Jun 1 2008, 09:21 AM
Post
#17
|
|
|
Member Group: Members Posts: 32 Joined: 19-December 07 Member No.: 2,682 |
Hi Estelle,
thanks for working on this, i'm sure it will help a lot of people. Just a quick query about the google tracking code. When i check to see if analytics is set up properly, it seems my site is using the old code: <script type="text/javascript"> _uacct = "UA-*******-*"; urchinTracker(); </script> as opposed to: <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-XXXXXX-X"); pageTracker._initData(); pageTracker._trackPageview(); </script> which you say is a prerequisite in the installation instructions. Does this matter? And if so can i change to the new code manually (without having to update to 4.2.2)? thanks again |
|
|
|
Jun 1 2008, 12:17 PM
Post
#18
|
|
|
Member Group: Members Posts: 43 Joined: 13-September 07 Member No.: 1,598 |
If you login to google analytics they have a new version of the code which is what is in Estelle's instructions and what is used in CC 4.2.2
So im assuming that the older is code is in the older CC4 versions. |
|
|
|
Jun 1 2008, 12:25 PM
Post
#19
|
|
|
Member Group: Members Posts: 32 Joined: 19-December 07 Member No.: 2,682 |
How can i add this new code into cc4.1.1 though, as i'm under the impression that for Estelle's mod to work the google analytics code has to be added into the admin of the store, not merely pasting the new code into the skin templates?
thanks |
|
|
|
Jun 1 2008, 07:56 PM
Post
#20
|
|
|
Member Group: Members Posts: 32 Joined: 19-December 07 Member No.: 2,682 |
How can i add this new code into cc4.1.1 though, as i'm under the impression that for Estelle's mod to work the google analytics code has to be added into the admin of the store, not merely pasting the new code into the skin templates? thanks Just checked with the new updated version of the mod (1.1), and seems to work fine as is. I am getting the correct result in the confirmation HTML anyway. Will have to see if it shows up in Analytics. would still be interested to know how to do this though... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd September 2010 - 04:06 AM |