0

I have a Javascript file written and saved in Cloud Page. Now,I want to refer this Javascript file from Cloud page inside my email in Content Builder. The reason why I am following this approach is because content builder removes Javascript statements mentioned implicitly inside emails. Any help would be much appreciated

2
  • The straight answer is that you can use <script src="your hosted url of cloud age"></script> ...... but I would strongly discourage using JS inside an Email... can you pls elobarate what you are trying to achieve using JS. – Vishal Kumar C V Oct 12 '20 at 6:21
  • We are trying to implement the logic of Countdown within our emails in Content Builder. – Sourab Mund Oct 12 '20 at 6:32
1

As per the Email marketing best practice, using JavaScript inside email is NOT recommended [infact not supported] which might lead to security issues. Also may mark your email as SPAM or PHISHING.

Please read more here

https://mailchimp.com/help/limitations-of-html-email/

But, it does NOT stop you from using Count down timer. There are many methods listed here, chose the one which suits your requirement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.