bonheddwr:
Thank you so much for replying above Rod. I've had this installed on the site for around two weeks. I installed this because the Google Analytics code I used previously was only recording a few of the transactions when visiting the google Analytics site (Conversions>Transactions) but the majority were not being recorded. Unfortunately even though page views etc are being recorded correctly it seems the transactions are still not being recorded using this plugin.
Sorry, but I'm a wee bit confused here.. I'm looking at
https://analytics.google.com/analytics/web/
... but I can't seem to find Conversions>Transactions
I am seeing
Conversions>Goals
Conversions>E-Commerce
Conversions>Multi-channel Funnels
Conversions>Attribution
But no Conversions>Transactions
The sales transactions can be seen at Conversions>E-Commerce>Sales Performance.
Here's a screenshot of what you should be seeing (captured just now, todays last 10 sales)

As you can (hopefully) see - all of the TransactionID's are in sequence - no missed sales.
bonheddwr:
Has anyone else had the same issue?
Some folk have reported some products not being reported/recorded with this module (as I recall, due to apostrophes in the product titles that the module isn't properly escaping, but I don't recall any reports of nothing being recorded at all.
Hmm, did you enable the the Enhanced Ecommerce reporting (on the Analytics website)?
Admin->view->Ecommerce settings
Tick the boxes to 'Enable Ecommerce'
Set the 'Enabled Enhanced Ecommerce Reporting' to 'On'
bonheddwr:
I spoke to somone from the Google 'Tag implementation team'
Perhaps you should be speaking to someone from the Ecommerce Analytics team instead - This has nothing to do with 'Tag implemantion' - That's a whole different kettle of fish.
bonheddwr:
over a week ago on the phone and after an hour he came up with this code to be inserted at the bottom of tpl_checkout_success_default.php ,
He has screwed you over (putting it bluntly) - The entire point of my creating this module is so that you don't have to modify any zencart code.
He has also provided you with old code - Not the 'Enhanced Ecommerce' code (that the ec module is using).
At the moment (assuming you still have this 'new' code added you are effectively doubling up on the reporting - Google Analytics will either fail to record either, or it will be ignoring one of them. Which one being ignored will possibly be determined by the aforementioned 'Enabled Enhanced Ecommerce Reporting' setting.
bonheddwr:
and when I did a test transaction and paid via my own paypal account the transaction was recorded, but none of the orders since have been recorded! I may be going around things the wrong way, but what I simply want is that all orders are recorded in Analytics, and in Adwords I can compare how much a campaign has cost for a certain period compared to the amount of revenue generated from those Ads during that period.
Adwords is yet another beast entirely.
bonheddwr:
Would really appreciate any advice!
My advice would be to firstly remove any code that you have added to any pages. The ec_analytics module was created specifically to avoid having to do this - and by using this module plus the page additions will cause problems.
My next suggestion would be to fire up a Chrome browser, and add the Google Analytics Debugger plugin
https://chrome.google.com/webstore/detail/google-analytics-debugger.
With this installed, and navigating your site (add product, remove product, checkout, etc, etc) you can right click on the page(s) and click the 'inspect' button. This will basically show you exactly what the ec_analytics code is doing on any given page - including the exact data being sent to the Google servers. This will identify any problems or issues.
It's a pretty nifty little add-on - however, it may be a little difficult to understand (depends on skill level).
Cheers
RodG
NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.