Results 1 to 10 of 43

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    This is something that is completely controlled on Google end and is no function of any tracking module (because it is controlled on Google's end). It's for privacy reasons and works like this:

    When a user is logged into their Google Account and actively searches the internet, Google does NOT track their search habits. However, when they are not logged into their Google Account it does (that is when you see the keywords).

    There are filters I usually set on all my client's Google accounts that can give you great insight and better detail to those pesky "not provided" listings though (which basically are no help at all in determining what your visitors searched on.)

    Hopefully that helps a bit.
    Thanks for your lightening quick answer.

    Seems to be a trick by Google to favour people who pay for adwords, if the customer clicks on an adword advt. then I see the exact search term; if they click on a relevant link provided by Google then I do not see the search term (mostly). :)

  2. #2
    Join Date
    Sep 2014
    Location
    chapel hill, nc, usa
    Posts
    1
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    I have zc 1.5.4 and I installed easy google analytics. I am getting a "ga not found" error on my console. it seems that
    it is possible that the ga function has not been loaded by the time it is called OR the correct call is now some
    variation on gaTracker. Not sure how to figure out what the problem is.

  3. #3
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    What is your site? What settings did you use in GA set up in the admin?

  4. #4
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    I recently upgraded this plugin to replace the old version from last year. Enhanced Ecommerce isn't working for me. I'm viewing the Shopping Behavior Analysis report and all the numbers are zero except Sessions. Product views, add to cart, checkout, and transactions are zero. Regular Universal Analytics data is still being collected as before the upgrade, including ecommerce transaction data on other reports.

    I checked that all the catalog files are in place, and I did all the core files merges.

    When I view the page source from a browser, here are the snippets in the source, with account number and widget names sanitized.

    This is in my product page HEAD.

    Code:
                <script type="text/javascript"><!--//
                (function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() {
                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
                })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
                            ga('create', 'UA-xxxxxx-2', 'auto');
                    			ga('require', 'displayfeatures');
    						ga('send', 'pageview');
        //--></script>

    This is my add to cart button.

    Code:
    <!--bof Add to Cart Box -->
                      <div id="cartAdd">
        Quantity: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="3569" /><input type="image" src="includes/templates/mistik/buttons/english/btn_add_cart_green.gif" alt="Add to Cart" title=" Add to Cart " onClick="_gaq.push(['_trackEvent', 'Cart', 'Add to Cart', 'Product Page']);" />          </div>
      <!--eof Add to Cart Box-->

    This is before /BODY.

    Code:
    <!-- ===== Google Enhanced Ecommerce - Product Information ===== -->
    
    <script><!--
    
      var arrInputTags = document.getElementsByTagName('input');
    
      var i = 0;
      var sFound = "false";
      var intLength = arrInputTags.length;
      while ((sFound == "false") && (i < intLength)) {
          if (arrInputTags[i].getAttribute("title") == " Add to Cart ") {
              sFound = "true";
          }
          if (sFound == "false") { i++ }
      }
      function geeAddToCart() {
    
          var myQuantity  = document.getElementsByName('cart_quantity')[1].value.valueOf();
    
          ga('ec:addProduct', {
              'id'      : '2444',
              'name'    : 'Widget name',
              'price'   : '49.4000',
              'quantity':   myQuantity.valueOf()  
            });
          ga('ec:setAction', 'add');
          ga('send', 'event', 'UX', 'click', 'add to cart');     // Send data using an event.
      }
    
      if (sFound == "true") {
          arrInputTags[i].addEventListener("click", geeAddToCart);
      }
    
    --></script>
    
    <script><!--
        ga('ec:addProduct', {
            'id': '2444', 
            'name': 'Widget name', 
            'price': '49.4000', 
        });
    
        ga('ec:setAction', 'detail');
    
    --></script>
    What am I missing? Is there something else I need to set up within GA for it to recognize the add to cart actions etc?
    Last edited by fakeDecoy; 23 Nov 2015 at 02:20 AM.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Easy Google Analytics - Support

    Quote Originally Posted by fakeDecoy View Post
    Is there something else I need to set up within GA for it to recognize the add to cart actions etc?
    Question: How are we expected to know what you *haven't* done?

    I could suggest that you haven't yet enabled the Enhanced Ecommerce reporting, but you'd probably think I'm an idiot for even making such an obvious suggestion, so I'm not going to. :-)

    Cheers
    RodG

  6. #6
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    Quote Originally Posted by RodG View Post
    Question: How are we expected to know what you *haven't* done?

    I could suggest that you haven't yet enabled the Enhanced Ecommerce reporting, but you'd probably think I'm an idiot for even making such an obvious suggestion, so I'm not going to. :-)

    Cheers
    RodG
    In GA -> View -> Ecommerce Settings, I have "Enhanced Ecommerce Reporting" enabled. Do I need to enter the checkout labeling steps? I'm not sure what to enter there.

    I don't see any setting in the Easy GA settings in zc admin.

    Are there additional steps? The plugin docs didn't seem to suggest anything.

  7. #7
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Easy Google Analytics - Support

    Also, this page mentions the below line is needed in the HEAD, but I don't see it used in the plugin. Nowhere in the file contents. I might just try adding it and see what happens.
    https://developers.google.com/analyt...nced-ecommerce

    Code:
    ga('require', 'ec');

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Easy Google Analytics - Support

    Quote Originally Posted by fakeDecoy View Post
    In GA -> View -> Ecommerce Settings, I have "Enhanced Ecommerce Reporting" enabled.
    As I previous stated, I/we have/had no way of knowing that.

    What else don't we know? Well, we don't know that either :-)

    Quote Originally Posted by fakeDecoy View Post
    Do I need to enter the checkout labeling steps?.
    Hmmm... does the word 'optional' mean anything to you. I'd swear that these are clearly indicated as being as such. (Sorry, I really not trying to be a jerk but I seem to have been dealing with an awful lot of stupidity today. Apparently I'm losing my patience).

    Quote Originally Posted by fakeDecoy View Post
    I'm not sure what to enter there.
    Nothing. It is optional <g>

    There probably will come a time where you might want to enter data into these fields, but before you can do that you 1st need to identify which 'steps' are being sent to GA by the module that you are using - This can/will even change depending on whether you are using ZenCarts native checkout, or whether you are using something like the FEC module.

    The easiest way to identify this info is after you've had the reporting working for a week or two (long enough for GA to accumulate enough data to record the possible steps for your store. You''ll find what you need by navigation to the 'checkout behaviour analysis' section. You should see entries for 'Step 1', Step 2', 'step 3' etc - These are pretty uninformative by themselves, but you should be able to determine that (for example) ' Step#1' is when the login page is loaded, 'Step#2' could be when the checkout page is loaded, Step#3 could be the payment page, and finally, step#5 the order confirmation page.

    When identified you can then go back into the 'checkout labeling steps' and enter this more informative information.


    Quote Originally Posted by fakeDecoy View Post
    I don't see any setting in the Easy GA settings in zc admin.

    Are there additional steps? The plugin docs didn't seem to suggest anything.
    Disclaimer: I've never installed or used the EasyGA module so I can't comment on its settings or what it doesn't report to the GA servers.

    I created my own GA module that does the ec_tracking and the only setting IT has (or needs) is the Google userID. It is quite possible that Easy GA may have settings to enable.disable the ec_ tracking (and/or parts thereof) and that could possible be the problem, but as with my opening comments, we don't know what your settings are - assuming there are some that may be relevant.

    From Googles' side of things, what I can tell you is that enabling the "Enhanced Ecommerce Reporting" option is the only thing that needs to be done to make things work.

    If you have only done this very recently, please be aware that it can take a couple of days before you'll see any results. Perhaps all you need is to be a little patient? (says the impatient one)

    Cheers
    RodG

 

 

Similar Threads

  1. Simple Google Analytics - Support
    By cuda in forum All Other Contributions/Addons
    Replies: 2160
    Last Post: 22 Dec 2020, 05:38 AM
  2. Easy Google Analytics vs google_conversion_currency
    By enzo-ita in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Nov 2014, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg