E-commerce in Matomo

E-commerce is always felt as a trauma for analysts as understanding the documentation which go along with the implementation of this feature redirect them toward asking help for developers.

It does not have to be this way, in fact it really depends of how your website is built, is all the information about the e-commerce order confirmation, you can always use a dirty method named scraping in order to use the e-commerce analytics tracking without adding any code to the source code of your page. But most of the time you wouldn't want to go this way and will prefer to use a clean method... which require some coding skills.

Ok but why do you need coding skills to implement the e-commerce analytics tracking code? The reason behind is that most of the time the data about an e-commerce order are a bit confidential so will be hosted within a database rather than displayed on the page. As a result you need a server side programming language, mainly PHP, in order to fetch those data, pull them and insert them within the tracking code. That's the reason why all documentations will ask you to press the button "call a developer" in order to implement it. The truth is that in any cases developers will go through the documentation as well in order to implement this tracking code so if you have a couple of days in front of you, good chances that you can achieve the same result as what developers can do in a couple of hours.

By the way, do not think that it is 100% easy for developers too. They know programming languages but they probably don't have a clue about the analytics solution you are showing them. So this is your role to explain what it does and why do you need it.

Last modified: Thursday, 23 January 2020, 1:43 PM