Skip to content

Can I use banners with document.write? #38

Answered by giuliopons
giuliopons asked this question in Q&A
Discussion options

You must be logged in to vote

No and Yes.

Script banners that uses document.write javascript function doesn’t work anymore with AdAdmin positions since version v.3.85 (03/11/2020).

This happens because the document.write command slows down the page loading process and it’s a deprecated javascript command and has been removed from AdAdmin and no-longer used.

BUT if you still want to use script banners with document.write you can replace the position script with the previous version, which is simpler and still working.

You can switch to the old code with this flag:

There is a side effect: the Frequency cap feature will not work anymore.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giuliopons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant