Skip to content

Commit

Permalink
MWPW-145591: Enable dom monitoring hook to verify javascript execution (
Browse files Browse the repository at this point in the history
#2130)

* MWPW-145591: Dom monitoring hook

* Lint
  • Loading branch information
mokimo authored Apr 11, 2024
1 parent 3c7d5f8 commit fa376e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,8 @@ async function documentPostSectionLoading(config) {
import('../martech/attributes.js').then((analytics) => {
document.querySelectorAll('main > div').forEach((section, idx) => analytics.decorateSectionAnalytics(section, idx, config));
});

document.body.appendChild(createTag('div', { id: 'page-load-ok-milo', style: 'display: none;' }));
}

async function processSection(section, config, isDoc) {
Expand Down

0 comments on commit fa376e7

Please sign in to comment.