Setup
-
Hello there,
Thank You very much for this amazing plugin. You can’t imagine how happy I was when I found out that there is Enhanced Ecommerce plugin so I don’t have to write code.
I just need to clarify the setup. Here are the steps that I am taking.
1. I am updating my google analytics account to enable enhanced ecommerce.
2. Inserting my google analytics id and checking ‘Add Enhanced Ecommerce Tracking Code’ option under integration.The thing that is bothering me is that my theme allows me to insert tracking code in every page’s header in one place, so I am manually adding the following code instead of checking ‘Add Universal Analytics Code’ option:
<!-- Google Analytics --> <script> (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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-83531582-1', 'auto'); ga('send', 'pageview'); </script>
I am unsure because I heard somewhere that you need to require ec module, so that everything works.
I would be glad if you could check my website. Here is the link
- The topic ‘Setup’ is closed to new replies.