August 5, 2018 at 8:53 am
Hello everybody,
as a big fan of digital marketing and not so big fan of coding I am trying to track Woocommerce store using Analytics Enhanced Ecommerce based on Google Tag Manager.
The solution I would like to implement should look like this (in layers):
1. WordPress + Woocommerce
2. dataLayer < THE PROBLEM
3. Google Tag Manager
4. Analytics, Ads, FB pixel etc.
Main problem is the 2nd layer, dataLayer implementation.
I have found very nice plugins adding dataLayer automatically but none of them solved my problem as it should so I decided to try to insert (these) scripts directly into code.
DataLayer scripts needs to be implemented before <head> section and scripts are different for every template (product, cart…).
I am not a good programmer so every recommendation is welcome.
How can I implement (these) scripts on my website?
Many thanks for every recommendation.
I believe this topic can be useful not only for me but other fans of digital marketing who are not so experienced in coding and don’t want to be limited by functionality of plugins.