Java Script - Content Block | Community
Skip to main content
Level 3
November 17, 2025
Question

Java Script - Content Block

  • November 17, 2025
  • 2 replies
  • 71 views

Hello All! 

 

I'm working on a project to place content into our email using java script and content blocks.

 

I created the content block with the script and place the <script> in the head of my email. 

When I test it with both the "send test" and actual sending of the email to myself the email is blank.

 

The content block loads in the deployment screen. It does not load in the preview screen when you are in the editor.



Can some one help? I might be setting up the content block wrong.


2 replies

Manoj_Kumar
Community Advisor
Community Advisor
February 2, 2026

Hello ​@derekw42533281  <script> tags are not supported by Email client. So they won’t work.

Manoj  | https://themartech.pro
Balaji_V
Level 4
February 3, 2026

Hi,

it’s a fundamental limitation of email clients.
JavaScript will never run in email, whether in test sends or final sends, across major providers.

You may try use:

  • Server-side generation

  • Personalization tokens / scripting before send

  • Dynamic images for personalized visuals

May be these links help to know more;

https://experienceleague.adobe.com/en/docs/campaign-web/v8/msg/delivery-settings

https://experienceleague.adobe.com/en/docs/campaign-classic/using/installing-campaign-classic/additional-configurations/email-deliverability