Matomo Tag Manager - Add To Cart

Hello,

I’m here because I have a problem with the implementation of Matomo Tag Manager.

I have a website where visitors can choose a product from the front, and when they click on it, they are redirected to a booking tunnel.

I want the click on this product to be considered as an “Add To Cart”.

To do this, I push the required events when the user enters the tunnel, as follows:

_paq.push([‘addEcommerceItem’,
data.productIdentifier,
data.productName,
data.productType,
data.productPrice,
1
]);

_paq.push([‘trackEcommerceCartUpdate’, data.productPrice]);

Unfortunately, in the Matomo ECommerce logs, this is considered an “Abandoned Cart” :

Do you know why this does not trigger an “Add To Cart”?

Thank you in advance for your reply.