From 0a773d27c2e3df24c78fa6b3e6131adb795c84ec Mon Sep 17 00:00:00 2001 From: David Losada Carballo Date: Mon, 27 Jun 2022 13:38:03 +0200 Subject: [PATCH] chore: temporarily disable custom gtm and datalayer event handling --- legacy/app/app.js | 4 ++-- root/src/ushahidi-root-config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/legacy/app/app.js b/legacy/app/app.js index 3f14034178..c45ef6104b 100644 --- a/legacy/app/app.js +++ b/legacy/app/app.js @@ -253,5 +253,5 @@ angular event.title = title; window.dispatchEvent(event); }); - }]) - .run(require('./gtm-userprops.js')); + }]); + // .run(require('./gtm-userprops.js')); diff --git a/root/src/ushahidi-root-config.js b/root/src/ushahidi-root-config.js index 37e2cc3665..abfa5226b7 100644 --- a/root/src/ushahidi-root-config.js +++ b/root/src/ushahidi-root-config.js @@ -6,7 +6,7 @@ import { } from "single-spa-layout"; import microfrontendLayout from "./microfrontend-layout.html"; import { getPageMetadata, setBootstrapConfig } from "@ushahidi/utilities"; -import { datalayer } from "./datalayer.js"; +// import { datalayer } from "./datalayer.js"; require("./loading.scss"); @@ -25,7 +25,7 @@ const layoutEngine = constructLayoutEngine({ routes, applications }); applications.forEach(registerApplication); layoutEngine.activate(); -datalayer.initialize(); +// datalayer.initialize(); const showError = function (show) { const element = document.querySelector('#bootstrap-error');