Replies: 0
Hi,
If I manually add the analytics script to my <header> section, it works and I can see data in Analytics (although I did not yet have any sale to test the E-Commerce piece). However, because I wanted everything taken care by the Tatvic’s plugin, I decided to remove the manually added analytics script and use the plugin instead.
So what I did was:
1. Enabled Ecommerce tracking in Google Analytics account (img)
2. Enabled Universal Analytics and Ecommerce Analytics on the plugin settings (img)
3. Went to my site to check if the tag was added, but Tag Assistent add-on for Chrome did not find it (img)
4. Manually went to inspect and searched for “analytics” and the only thing it finds in my source code is this comment from Tatvic plugin (img)
Now, while troubleshooting this a bit more, I gave up on the plugin and came here to ask for help. So I re-added my manual script in the header (using this plugin ) in order to keep tracking visitors. Note that I kept Tatvic configuration set-up as ON for both “Add Universal Analytics Tracking Code (Optional)” and “Add Enhanced Ecommerce Tracking Code”
5. And then something I don’t understand happened. After adding manually the code to my header I went to inspect my page and now I could find 3 different occurrences of “analytics” (img).
Since I don’t see any duplicate “ga(‘send’, ‘pageview’);” in the code, I don’t think there will be duplicate pageviews data sent to my Analytics account, but can you confirm this for me? I am no developer, but I try to use logic to understand it. Also, can you please let me know if all this configuration fuzz is correct? Is my Ecommerce data going to be collected?
Sorry about the long post, wanted as many evidences to help you as I could get.