Vuejs GTM Datayer
if (this.$gtm.enabled()) {
window.dataLayer?.push({
event: "myEvent",
// further parameters
});
}
if (this.$gtm.enabled()) {
window.dataLayer?.push({
event: "myEvent",
// further parameters
});
}