Great to hear that. Glad you like it. :)
Printable View
OK! I take it that you are eConcepts who created that module Simple Google Analytics. I wasn't the person who installed and so I don't have the readme file which came with it. The person who installed it didn't quite get the hang of it so, since I am the user, I should know how to fix it.
So, it sounds like I should take off the code I put on the tpl_main_pg, put on the code which came with the readme file:
"All you have to do is add the line of code from STEP 3 of the readme that came with the module (to the same location on the tpl_main_page) and you're all set."
Super. I will look for the add on module, download it to my computer, look through the readme file and pick up the code, erase what I put on from Google and put on what you give me in Step 3 and sit back and count things. Thanks.
Hi Eric,
Once again, thank you for excellent zen cart products, information, and support of the community. I would recommend that all check out your website that want to grow their online sales with Zen Cart and eCommerce in general..
Quick question - we had a transaction yesterday that was over $1,000 on our website (our AOV is around $125 so this was great). But we didn't see it come through in Google Analytics Ecommerce Transactions (we were curious about the source of the order).
Is there a bug that does not include transactions over $1,000.00? I have seen issues with code and commas, etc. in the past so just curious if you have tested this with transactions over $1,000.
Thanks so much!
James
James,
Thanks for the kind words. I appreciate it and enjoy helping store owners increase their sales.
As far as Google Analytics goes, no, there is no bug that limits transaction amount.
There are instances however when Google will not track a transaction. You see, GA is a JavaScript based tracking system (as are most). Because of this, it can only track users that have JS turned on in their browsers. If a user has JS disabled (and yes, many do this) then no matter what you do, the transaction will not track (in fact that visitor will not show in analytics at all.)
There is no work around for this, just the way JS tracking works.
The other reasons a transaction might not be tracked is because the user paid with a system like PayPal (for example) and they were not returned to the originating website to trigger the ecommerce sale in analytics.
This can happen it return urls are net set correctly on the paypal end or if you require the user to click a button (like "return to merchant") after the sale. If the user does not click the button, the transaction will not trigger in analytics.
This is the case with any payment system which has this type of method of paying (i.e. Worldpay is another that has trouble tracking GA transactions.)
Let me know if that helps.
Hi Eric,
This transaction did take place on PayPal so this seems to be the case that they didn't come back to the site after finalizing the payment.
We recently just launched an AdWords program too so I hope this wasn't from AdWords. We are really trying to prove the ROI of AdWords to make sure we can allocate some more budget for it.
Nonetheless, thanks so much! The tools you have provided have made us so much more empowered to make smarter decisions and invest in the right online marketing channels. Thanks again!
Highest Regards,
James
Great James. That's what I suspected. Keep going with those AdWords, with the right tools at your disposal you should be able to really develop a campaign that generates a wonderful ROI.
I run a number of paid search programs (as an outsourced paid search manager) for quite a number of companies and have been able to generate ROIs on paid search of over 800% (no, that's not a typo).
It all comes down to the right tracking tools, and ability to interpret what they are telling you then allocate funds in the direction that provides the biggest return. Finding the right keywords (and a number of "hidden" ones) helps as well. LOL.
Good luck!
File includes/templates/YOURTEMPLATE/google_analytics/google_analytics.php
Line 72
Code:echo "<script type=\"text/javascript\">
var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");
document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));
</script>
<script type=\"text/javascript\">
var pageTracker = _gat._getTracker(\"" . GOOGLE_ANALYTICS_UACCT . "\");
pageTracker._initData();
";
if (in_array($current_page_base,explode(",",'page_not_found')) ) {
echo 'pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);';
} else echo 'pageTracker._trackPageview();';
Just a quick hack to get 404 tracking done. This only works with the new code.