I am aware that document.write
should not be used in an asynchronous context, but in this case I am not really in control of that.
In the process of introducing an archive of old newsletter using mailchimp (as described here), I noticed that no archive was inserted in the page and that the reason is because the imported script uses document.write
.
I couldn't find a solution in the mailchimp knowledge base, and the my current alternative is to insert each newsletter in the page by hand - which is not really nice.
How can I fix this? is there an alternative way to automatically produce a list of past newsletter on my website?