Usercentrics - PUBLIC
Why does document.write cause problems?
Under certain circumstances, document.write can overwrite the entire page. This is because this function is called after the page has been loaded. You can find more information about this here.
Please use the following code instead:
document.getElementById(…).innerHtml = …
Do you need further help?
How can I get help with technical questions?
Usercentrics - PUBLIC