You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
great job you did here. Thank you very much for expanding the Tag Manager.
I have a question about the eCommerce tracking tag.
You write in the Tag Manager: "Create a {{Ecommerce}} data layer variable to collect the "ecommerce" key in _mtm."
But how exactly should the data layer variables be named?
For example, to track an order I have to specify the following variables in the datalayer: orderId, revenue, subTotal, tax, shipping, discount
Or did you use exactly the variable wording that Matomo also uses in its documentation for the e-commerce functions?
Can you give an example please? Thank you very much.
The text was updated successfully, but these errors were encountered:
In order to use this tag, you should use the Google Analytics 4 dataLayer structure.
You have to create an {{Ecommerce}} variable based on the ecommerce key in the dataLayer.
You can follow this tutorial I wrote (in french, but soon in english) : https://ronan-hello.fr/series/matomo/ecommerce-matomo-tag-manager
Hello,
great job you did here. Thank you very much for expanding the Tag Manager.
I have a question about the eCommerce tracking tag.
You write in the Tag Manager: "Create a {{Ecommerce}} data layer variable to collect the "ecommerce" key in _mtm."
But how exactly should the data layer variables be named?
For example, to track an order I have to specify the following variables in the datalayer:
orderId, revenue, subTotal, tax, shipping, discount
Or did you use exactly the variable wording that Matomo also uses in its documentation for the e-commerce functions?
Can you give an example please? Thank you very much.
The text was updated successfully, but these errors were encountered: