Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

E-Commerce Data not showing in Google Analytics

(11 posts) (4 voices)
  • Started 1 year ago by etzhaim
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. Google Analytics E-Commerce Not Tracking
    2. Integrating Google Analytics Ecommerce with my E-store
    3. Google Analytics stopped tracking e-commerce transactions
    4. Google Analytics E-Commerce Tracking Still Not Working
    5. Product Categories in Google Analytics

Tags:

  • Google Analytics
  • stats
  • tracking code
12Next »
  1. etzhaim
    Member

    Hello,

    I have followed all the relevant instructions in the guides and checked the forum for answers to other users.

    - I do have an Analytics account working properly.
    - I do have E-Commerce Tracking enabled in my Analytics account.
    - I have checked the “Enable Google Analytics Tracking” checkbox in the setting menu of the WP eStore plugin.
    - I do have "Auto Return" turned ON in my Paypal profile with proper PDT setup.

    My configuration is as follows:

    - I'm using Thesis Theme 1.8 with Wordpress 3.0.5.
    - I use Shopping Cart with WP eStore 5.0.0
    I'm using the following plugins:
    * Breadcrumb NavXT 3.8.1
    * Broken Link Checker 1.2.4
    * Disqus Comment System 2.61
    * Enable Media Replace 2.4.1
    * Exec-PHP 4.9
    * GetSocial 1.3.1
    * Google Analyticator 6.1.2 (I have changed from Google Analytics For Wordpress 4.0.9 after few transactions did not show up)
    * Google XML Sitemaps 3.2.4
    * Mad Mimi for WordPress 1.4.3
    * PdAlex Glossary 1.3.1
    * Redirection 2.2.3
    * TinyMCE Advanced 3.2.7
    * W3 Total Cache 0.9.1.3
    * WP Smush.it 1.3.4
    * WP Title 2 3.6

    I have copied the code of the last 2 transactions which have NOT been tracked by Analytics. From a quick check that I have done, it seems that WP eStore does not place the proper Analytics parameters in the Thank You page.

    My website is: http://www.etzhaim.net/

    Please let me know.

    Posted 1 year ago #
  2. wpCommerce
    Moderator

    Can you please share the code of the last transactions?

    Posted 1 year ago #
  3. amin007
    Key Master

    The eStore plugin calls a hook to add transaction tracking code to the Analytics plugin. Different analytics plugin will have different hooks. The current eStore implementation expects the presence of a particular Google Analytics plugin mentioned in the instruction.

    It is possible to integrate it with any analytics plugin but I will need to code it accordingly. Do you know if the one that you are using has a option for 3rd party plugins to add its transaction tracking code?

    Posted 1 year ago #
  4. etzhaim
    Member

    I can switch back to Google Analytics for Wordpress version 4.0.9 any time but is not going to change anything.

    The Analytics code of last transaction was:

    <script type="text/javascript">var analyticsFileTypes=['zip'];var analyticsEventTracking='enabled';</script> <script type="text/javascript">var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-3168489-4']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);})();</script>

    I will switch back to recommended plugin and wait for next transaction
    Thanks

    Posted 1 year ago #
  5. jessie.m.davis
    Member

    I have to agree with etzhaim and I am using Google Analytics for Wordpress and I've never been able to get my eCommerce tracking to work. I followed the instructions exactly as they were stated and I can't get it to work.

    Posted 1 year ago #
  6. amin007
    Key Master

    Yoast's Google analytics plugin is really good but after version 4 it introduced a few bugs. He has released 9 patches after that version but it is still not working on some sites. Its an external plugin so I can't really force him to do anything but if you find any other good WP Google Analytics plugin that allows a shopping cart integration I will do the integration on eStore side and offer that as an option.

    Posted 1 year ago #
  7. etzhaim
    Member

    Here is the code of the last transaction, as you can see WP eStore has done its job this time:

    <script type="text/javascript">var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-3168489-4']);</script><script src="http://www.etzhaim.net/wp/wp-content/plugins/google-analytics-for-wordpress/custom_se_async.js" type="text/javascript"></script> <script type="text/javascript">_gaq.push(['_setCustomVar',1,'tags','',3],['_trackPageview'],[['_addTrans','4HG40293SE529221F','Etz Haim','3.99','0.00','0.00','Prato','PO','Italy']],[['_addItem','4HG40293SE529221F','1','The Secrets Of Your Birthday (epub - iPad/iPhone)','','3.99','1']],[['_trackTrans']]);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);})();</script>

    But, still, I cannot see any transaction on Google Analytics E-Commerce part.
    I have been able to track the Thank You page Analytics by creating a specific Goal to it.

    This is kind of frustrating.
    Any clue?

    Posted 1 year ago #
  8. etzhaim
    Member

    By the way, I forgot, I switched back to Google Analytics For Wordpress 4.0.9 which is the one I am using now.

    Posted 1 year ago #
  9. etzhaim
    Member

    The strange thing I have noticed are the double square brackets [[ and ]] that are surrounding all the information given by WP eStore to the plugin.
    Therefore, I insist that the problem is on your side, no matter which plugin we use.

    Posted 1 year ago #
  10. amin007
    Key Master

    I think Yoast may have changed how the push works in the analytics plugin. I will investigate this and see what I find.

    Posted 1 year ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin