Skip to content

Commit

Permalink
chore: temporarily disable custom gtm and datalayer event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Jun 27, 2022
1 parent 559f82e commit 0a773d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions legacy/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,5 @@ angular
event.title = title;
window.dispatchEvent(event);
});
}])
.run(require('./gtm-userprops.js'));
}]);
// .run(require('./gtm-userprops.js'));
4 changes: 2 additions & 2 deletions root/src/ushahidi-root-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand All @@ -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');
Expand Down

0 comments on commit 0a773d2

Please sign in to comment.