Track ecommerce using Google Tag Manager and datalayer

On my ecommerce there is google datalayer (EEC) and google tag manager. is there any way to not change the datalayer and re-use the existing one to track the ecommerce with matomo? I tried to do a test but the event information is not being read by matomo