Hello, I’d like to modify the automatic ecommerce dataLayer.push code that Wix provides. How can I do this? I’m having difficulty creating a tag in Google Tag Manager because the recommended ecommerce code in Google’s documentation differs from the code that Wix automatically provides.
Hey!
I’m not 100% versed in the world of Tag Manager etc, although this guide may help with connecting to analytics tools - Tracking Events on Your Wix Site with a Google Analytics Property | Help Center | Wix.com
If not, would you be able to explain in more detail what you’re aiming to achieve, and the issue you’re currently facing
It looks like Wix is automatically sending me eCommerce events, as you can see in the screenshot. Since the code being sent doesn’t adhere to the format recommended by Google, I’m facing some difficulties. I want to modify this code, but I’m having trouble finding where it is located.
I’m not entirely sure what you’re setup looks like, but it is possible to setup your own tracking events using Velo - trackEvent - Velo API Reference - Wix.com
I’m not sure if this is the perfect solution, as I don’t believe this method can track events from within apps.