JS optimization – difiiculty excluding a script (MailChimp validate)
-
Hi there,
My page has a MailChimp subscribe form that uses:
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
When I combine JS, this is breaking some other elements, so I want to exclude that.
I’ve tried a couple of approaches:
using the tuning section of the plugin settings to exclude the file – mc-validate.js – but it doesn’t seem to accept the externally sourced file. Is that right?
I’ve also tried adding
data-no-optimize="1"
to the call for the script, but that seems to be getting stripped out. Is that right?Any thoughts how i can prevent that particular script from being combined with my other JS?
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘JS optimization – difiiculty excluding a script (MailChimp validate)’ is closed to new replies.