Matomo Tag Manager DLV variable not updated after push


I have a dataLayer variable configured as: data.analytics_storage. Then after page is loaded and initial values are set I do window._mtm.push(data) with new values; but for some reason the _mtm keeps old values.

What I’m doing wrong?

Can you show exactly:

  • The configuration of the MTM datalayer variable
  • The full JavaScript code of datalayer update