The Ecommerce Expert

Successful Ecommerce Businesses Start Here

  • Home
  • Services
    • Ecommerce PPC Management
    • Conversion Rate Optimization
    • Ecommerce Consulting
    • Website Design / Redesign
  • Free Resources

NEW RELEASE: Simple Google Analytics v1.2.0 – New “ga.js” code compatible

By Eric Leuenberger 16 Comments

Version 1.2.0 of Simple Google Analytics (for Zen Cart) now uses the updated “ga.js” tracking code released by Google in December 2007.

The older urchin.js tracking code will be phased out, and no longer will be supported after the end of the year by Google.

The newer ga.js tracking code provides increased reporting capability and is considered “lighter weight” from a code perspective.

Features of Version 1.2.0

  • Adds standard Google Tracking to website
  • Automatically Adds E-Commerce tracking to website
  • Adds the ability for you to install Google Conversion Tracking
  • Uses the new “ga.js” code released by Google in December 2007

How to Download Version 1.2.0
You can download this new version by clicking here. You will be taken to my downloads page where you can select the new 1.2.0 version.

Complete instructions are enclosed in the download to assist you in either upgrading (from previous versions) or “new installations”. Please make sure you read the instructions carefully for upgrading etc… It is easy and straight forward, but you should be aware of a few file changes.

A screenshot of new version 1.2.0 is below for reference:

Simple Google Analytics for Zen Cart version 1.2.0

Related posts:

  1. NEW RELEASE: Export Shipping and Order Information v1.2.2 Contribution
  2. New Release: Yahoo Search Marketing Conversion Tracking for Zen Cart
  3. NEW RELEASE: Simple Google Analytics Version 1.2.2
  4. NEW RELEASE: Simple Google Analytics v1.1.0 – Now With Conversion Tracking

Filed Under: Zen Cart Contributions

Books by The Ecommerce Expert

Google Analytics Uncovered: How to Set Up and Maximize Ecommerce Data in Google Analytics
Available on Amazon Now!

About Eric Leuenberger

Ecommerce conversion marketing expert who has been helping store owners since 1995 increase sales and build more profitable, more sustainable ecommerce businesses.

Comments

  1. sheds says

    January 17, 2008 at 6:45 am

    Do you know what the Extra Reporting is?

    Reply
  2. econcepts says

    January 17, 2008 at 4:12 pm

    It is wise to switch over as the old urchin code will not be supported very long (end of the year). I have not yet noticed any new “extreme” differences, but as Google puts it … and I quote … you should install the new updated ga.js code because it:

    “lets you take advantage of upcoming advanced features and sophisticated reporting”

    I’m sure I’ll be writing on any new reporting features as I test them. Keep your eyes open.

    Reply
  3. Vincent says

    November 20, 2008 at 7:29 am

    Hi Eric,

    Google has updated their analytics tracking code.

    Where it formerly stated:

    var pageTracker = _gat._getTracker(“UA-XXXXXX-XX”);
    pageTracker._initData();
    pageTracker._trackPageview();

    It now is:

    try {
    var pageTracker = _gat._getTracker(“UA-XXXXXX-XX”);
    pageTracker._trackPageview();
    } catch(err) {}

    I don’t know what difference it makes, but maybe the plugin can be updated?

    Cheers,
    Vincent

    Reply
  4. Eric Leuenberger says

    November 21, 2008 at 2:33 pm

    Thanks for the info Vincent. Yes, I’ll be updating the plugin with it once I determine the effect it has.

    Thanks!

    Reply
  5. DQ says

    February 26, 2009 at 4:34 pm

    Have you determined the effect? I’m dealing with an odd subdomain shopping cart and was just adding the line:
    pageTracker._setDomainName(“.example.com”);

    When I realized that the tracking code Google supplied was different than the one in your tool. Everything seemed to be working except I had a problem with properly tracking order referrals. It kept saying the referrer was my www domain. Lame. Hopefully google’s advice to add that line will help.

    Should I just leave your code as the old Google code? I’m afraid I’ll break it beyond adding the one line.

    Reply
  6. Eric Leuenberger says

    February 27, 2009 at 3:18 pm

    Leaving the code as is will not affect tracking at this point.

    I will be updating that code in the future but the current code is ok.

    Reply
  7. WP says

    July 18, 2009 at 1:16 pm

    I received an error on the checkout success page:

    Fatal error: require() [function.require]: Failed opening required ‘includes/templates/olivus_template/checkout_success//google_analytics.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/olivus/public_html/includes/templates/olivus_template/common/tpl_main_page.php on line 180

    Reply
  8. Eric says

    July 19, 2009 at 7:21 am

    If you are using my module (Simple Google Analytics) then there shouldn’t be a any files loaded into the “checkout_success” directory at all. You need to only upload the files as is for it to work (make sure you change the custom directory to something that matches yours).

    Two things I notice here.

    1) You have a double slash in the url after “checkout_success”

    2) The file “google_analytics.php” is in the wrong location and should be removed from the checkout_success directory. It should be in the following directory for the module to work:

    /includes/templates/(your template here)/google_analytics/google_analytics.php

    As long as the file is in the right location you should be ok.

    Reply
  9. WP says

    July 25, 2009 at 3:15 pm

    I have vs 1.1 I’ll upgrade to 1.2 and see if this corrects the problem.

    I have a file tpl_footer.php in my checkout_success directory which is for my affiliate tracking program. is this OK?

    Reply
  10. Eric says

    July 25, 2009 at 9:00 pm

    The problem is very likely your Affiliate program. I suspect it is JROX. If that’s the case the “tpl_footer” file in the checkout_success directory is overwriting the code for analytics on that same page.

    Here is the instructions I posted to correct that issue:

    http://www.zen-cart.com/forum/showpost.php?p=758308&postcount=963

    Reply
  11. Tim says

    November 24, 2009 at 2:44 pm

    Thanks for this add-on! You made it very easy for me to implement analytics on my site. I followed your instructions and everything worked just fine.

    Reply
  12. Whitney says

    December 19, 2010 at 8:26 pm

    Hello,

    We’re using Zen Cart, but we paid a programmer to do a lot of customization to our page as a whole. I tried to add the Simple Google Analytics module myself and my conversions and ecommerce analytics aren’t tracking. How do I troubleshoot this?

    Thanks :)

    Reply
    • Eric Leuenberger says

      December 20, 2010 at 1:29 am

      Make sure you have activated ecommerce tracking in you google analytics profile. If you haven’t done that, you won’t get info on any ecom transactions.

      Reply
  13. Whitney says

    December 24, 2010 at 5:27 am

    Yeah, that’s done. It looks like I had a conversion track the in AdWords but my analytics is still showing just zeros. It’s definitely set on “yes” to be an ecommerce site though…

    Reply
  14. Pankaj says

    February 17, 2011 at 3:43 am

    I tried uploading few files Simple_Google_Analytics_ver1-2-4 and SQL patch as well …still my Google analytic s not working …

    can some one tell me step by step procedure how to do and what all files we have to edit

    Help with the details will be appreciated
    Pankaj

    Reply
    • Eric Leuenberger says

      February 17, 2011 at 8:44 am

      The readme file that comes with the package has a step by step process detailed out. That should help.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Blogging
  • Conversion
  • Customer Retention
  • Design & Usability
  • E-Commerce Optimization
  • Email Marketing
  • Featured
  • Google Adwords
  • Increase sales
  • Marketing Strategies
  • Mobile Commerce
  • Search Engine Optimization
  • Search Marketing
  • Security
  • Shopping Cart Abandonment
  • Social Media
  • Website Analytics
  • Zen Cart
  • Zen Cart Contributions
  • Popular
  • Recent

About

The Ecommerce Expert offers products and services that help move ecommerce businesses toward growth and success. Our products and services help store owners maximize their ROI, decreasing expenses and increasing revenue. The net result is sustainable growth and stability with above average results.

Services

  • Conversion Rate Optimization
  • Search Engine Marketing (SEM)
  • Ecommerce PPC Management
  • Social Media Marketing
  • Ecommerce Consulting
  • Website Design / Redesign

Copyright © 2023 | Privacy Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT