AJO code base experience - element not yet in the DOM | Community
Skip to main content
Michael_Soprano
Level 10
June 22, 2024
Question

AJO code base experience - element not yet in the DOM

  • June 22, 2024
  • 0 replies
  • 552 views

As I read in the documentation code base experiences are run as soon as WEB SDK is loaded. Taking into account that WEB SDK should be in the head section of the page. What if we would like to (as an experience) personalize some banner. Then in the js script we should check if DOMContentLoaded event is fired and the our script should run and then change the banner? What is your experience?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.