Support » Plugin: WooCommerce » Google analytics ecommerce tracking on working with Woo Commerce

Viewing 15 replies - 1 through 15 (of 31 total)
  • Hi keith, have you been able to find a solution to this at all?



    Plugin Author Mike Jolley


    Probably fixed in 2.0 – esc_js was missing from our tracking code.

    ah ok… many thanks 🙂

    @mikejolley Hi Mike – I have a client that can’t upgrade to WooCommerce v2 just yet – would I be able to add ‘esc_js’ in manually to a v1.6.5.1 installation?

    Could I just drop this file into the older installation:

    Or has it changed significantly with WC v2?


    Plugin Author Mike Jolley


    You can add the esc_js lines but I wouldn’t just copy the file across.

    OK great, thanks for the quick response too.


    it doesnt look like this plugin is tracking all of my transactions and sales. im using the latest copy of woocommerce.

    im not seeing any conversations or ecommerce tracking for all of my orders. i see two orders out of 20+ orders.

    am i doing something wrong?


    false alarm, i guess it took a couple of days to come through.



    I also having issues with GA event tracking after upgrading to WC 2.0 I have added “Add eCommerce tracking code to the thankyou page” and “Add event tracking code for add to basket actions”, but only basket actions is working. Events containing order information does not fire. I have tried with and without 3rd party GA plugin, and using default WP template, with the same result (my current template does not have thankyou page override). Could my issue also be related to esc_js, if so where would that be located? Any advise is highly appreciated.

    ### Environment ###
    Home URL:      
    Site URL:      
    WC Version:              2.0.12
    WC Database Version:     2.0.12
    WP Version:              WP 3.5.2
    Web Server Info:         Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 mod_jk/1.2.26
    PHP Version:             5.3.13
    MySQL Version:           5.5.29-0ubuntu0.12.04.2
    WP Memory Limit:         40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
    WP Debug Mode:           No
    WP Max Upload Size:      2 MB
    PHP Post Max Size:       8 MB
    PHP Time Limit:          30
    WC Logging:              Log directory is writable.
    fsockopen/cURL:          Your server has fsockopen and cURL enabled.
    SOAP Client:             Your server has the SOAP Client class enabled.
    WP Remote Post:          wp_remote_post() was successful - PayPal IPN is working.
    ### Plugins ###
    Installed Plugins:       CodeStyling Localization by Heiko Rabe version 1.99.30, Dynamic Widgets by Qurl version 1.5.4, Easy FancyBox by RavanH version 1.5.0, Exclude Pages from Navigation by Simon Wheatley version 1.92, Hello Dolly by Matt Mullenweg version 1.6, Page Lists Plus by Tim Holt version 1.1.8, Redirection by John Godley version 2.2.13, Regenerate Thumbnails by Viper007Bond version 2.2.4, Simple Facebook Connect by Otto version 1.5, Social Connect by Brent Shepherd version 0.9, Use Google Libraries by Jason Penney version 1.5.2, Video Thumbnails by Sutherland Boswell version 2.0.3, W3 Total Cache by Frederick Townes version, WooCommerce Nested Category Layout by Justin Stern version 1.2.5, WooCommerce by WooThemes version 2.0.12, WordPress SEO by Joost de Valk version 1.4.13, WP-Activity by Dric version 2.0, WP by WPMU DEV version 1.6.5, Video SEO for WordPress SEO by Yoast by Joost de Valk version
    ### Settings ###
    Force SSL:               No
    ### WC Pages ###
    Shop Base:               #59 - /nettbutikk/
    Basket:                  #78 - /handlevogn/
    Checkout:                #80 - /ordrebekreftelse/
    Pay:                     #82 - /ordrebekreftelse/betaling/
    Thanks:                  #84 - /ordrebekreftelse/woocommerce_thankyou/
    My Account:              #86 - /minkonto/
    Edit Address:            #88 - /minkonto/endreaddresse/
    View Order:              #90 - /minkonto/ordreoversikt/
    Change Password:         #96 - /minkonto/endrepassord/
    Lost Password:           #8147 - /minkonto/glemt-passord/
    ### WC Taxonomies ###
    Order Statuses:          cancelled (cancelled), completed (completed), failed (failed), on-hold (on-hold), pending (pending), processing (processing), refunded (refunded)
    Product Types:           external (external), grouped (grouped), simple (simple), variable (variable)
    ### Templates ###
    Template Overrides:      /woocommerce/archive-product.php

    Sorry I can’t offer you any advice stillingen!

    I recently upgraded
    WooCommerce to 2.0.10
    Maya Shop (Theme) to 2.1.0
    and probably a bunch of other plugins at the same time.

    One of these updates has broken my tracking again. I guess I’ll update again and hope it fixes itself. This is so frustrating!

    Have the same problem. All tracking works accept sales!

    WP 3.5.2
    WooC 2.0.12
    Maya shop (not sure don’t know how to check)

    It is indeed very frustrating.

    I have the same problem and it is indeed frustrating that it’s not working. Visitors works fine, I think anyway, but not ecommerce tracking.

    Fran Sanchez


    Hi am having the same issue.

    WP and WC latest version
    Using template forte from pixedelic.

    Any help is appreciated.

    I see in the changelog that there have been a few updates in recent versions relating to google analytics. I’m going to try 2.0.9 again as I *think* that was my last known working version. Old versions can be downloaded here.

    2.0.9 didn’t work, but 2.0.5 does.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Google analytics ecommerce tracking on working with Woo Commerce’ is closed to new replies.