Greetings everyone,
We have set up a Matomo infrastructure on premise in a server of our own and have been developing a Matomo Tag Manager and Matomo Analytics module. The implementation is currently running in a test e-commerce website. The CMS platform we are using is Prestashop. In collaboration with our Digital Marketing team we are trying to recreate some of Google Analytics events in Matomo. We know that the two analytics platforms share common logic but each one has its own way of gathering data in order to create their reports.
We are in need of your assistance regarding the implementation of Custom Events inside Matomo Analytics so that we can have the same data/events as in Google Analytics. As an example we will be using the Begin Checkout event of Google.
Basically, what we want is to trigger an event each time the user/customer begins the checkout process in order to finalize his/her purchace. The event is going to be triggered via Matomo’s dataLayer by using a data block as the following:
{
“mtm.containerId”: “testR8”,
“mtm.startTime”: 1730467072190,
“event”: “mtm.CustomEvent”,
“eventName”: “begin_checkout”,
“eventCategory”: “engagement”,
“eventAction”: “pageview”,
“eventValue”: “”,
“mtm.mtmScriptLoadedTime”: 1730467072613,
“mtm.customEventMatch”: “begin_checkout”,
“cart_total”: 111.98,
“items”: [
{
“id”: “900001532329242”,
“id_product”: “68532”,
“name”: “Nike Boston Celtics Icon Edition Swingman Nba Shorts”,
“category”: [“Ρούχα”, “Ανά Είδος”, ”Σορτς”],
“brand”: “Nike”,
“colorcode”: “CLOVER/WHITE/WHITE”,
“size”: “S”,
“currency”: “EUR”,
“sku”: “9000015323_29242/003”,
“original_sku”: “AJ5587-312”,
“url”: “----product’s link----”,
“image”: “----product image’s link----”,
“price_initial”: 69.99,
“price”: 55.99,
“list”: “product_page”,
“position”: null,
“variant”: “Μέγεθος S, Χρώμα CLOVER/WHITE/WHITE”,
“quantity”: 2,
“ean13”: null,
“upc”: null,
“supplier”: “Nike”,
“manufacturer”: “Nike”,
“reference”: “9000015323_29242/003”
},
{
“id”: “900001532324242”,
“id_product”: “68533”,
“name”: “Nike Boston Celtics Icon Edition Swingman Nba Shorts”,
“category”: [“Ρούχα”, “Ανά Είδος”, ”Σορτς”],
“brand”: “Nike”,
“colorcode”: “CLOVER/WHITE/WHITE”,
“size”: “L”,
“currency”: “EUR”,
“sku”: “9000015323_24242/004”,
“original_sku”: “AJ5587-312”,
“url”: “----product’s link----”,
“image”: “----product image’s link----”,
“price_initial”: 69.99,
“price”: 55.99,
“list”: “product_page”,
“position”: null,
“variant”: “Μέγεθος L, Χρώμα CLOVER/WHITE/WHITE”,
“quantity”: 5,
“ean13”: null,
“upc”: null,
“supplier”: “Nike”,
“manufacturer”: “Nike”,
“reference”: “9000015323_29242/003”
}
]
}
The above data are extracted from the dataLayer using Matomo Tag Manager. However, we need help with the next steps. How can we send, view and use the above data inside Matomo Analytics?
Moreover, regarding Matomo Analytics native events, we are in need of expanding the data that we pass through them. So if for example we need to expand the data of the add_to_cart event by sending also the brand of a product, are there any more ways besides using Custom Dimensions or is this the only way to do so?
Best regards,