I’m positive I’ve answered almost this exact same question here on the forum within the last year.
I’m pretty sure that the HTML snippet that mailchimp provides has some flaw. like it provides a “no-script” tag that includes HTML - but says that you’re supposed to put it in the header – or maybe it provides something that can only go in the header and says that you’re supposed to put it in the body.
i’ve searched the forum for about 20 minutes and came up with nothing. if anyone has any better search-query-mojo, see what you can find, i’d bet the answer to this question is in the previous post.
But assuming we can’t find that other post…
In all cases involving code, the devil is in the details. Please show us what code you’ve pasted into the HTML stack. You may want to actually show us a screenshot of it.
- Because copy/paste can insert special characters if you have smart-quotes enabled or certain utilities.
- It’s really easy to accidentally chop off the first or last characters of a code snippet. And those characters are really important. Without them the snippet is not interpreted correctly and can corrupt the rest of the page.
- Spell-Checking, Smart-Quotes, and other automatic text processing utilities that are wonderful for writing prose are toxic when trying to edit code.
So, I’d say, start there. Let’s have a look at the code and we’ll see if anything obvious is the matter. And we can go from there.