CMS Development

John
Top Contributor | Platinum Partner
Top Contributor | Platinum Partner

Javascript In Email Template - But NOT The Email

I've created an email template for the market place and I am wanting to do some things/tasks via js or hubl that would be too hard/complicated for the user...

 

For example, I want to know if I can hypothetically add "?noresize" to the end of each image url via javascript on an email template [please ignore that this is a bad idea] without sending the js in the final email.

 

Is this possible to have js do this? Is it possible to have Hubl do this? Most importantly, how?

 

Any help would be greatly appreciated!

-John



I like kudos almost as much as cake – a close second.

0 Upvotes
2 Replies 2
roisinkirby
HubSpot Product Team
HubSpot Product Team

Javascript In Email Template - But NOT The Email

Hey @John as far as I'm aware, javascript is not supported on HubSpot email templates. 

0 Upvotes
kerenc
Member

Javascript In Email Template - But NOT The Email

Hi, 

 

I am also interested in implementing a logic that may not be possible using Hubl only.

Can you please confirm if it is possible to use Javascript in email template, and how?

 

Thanks!

0 Upvotes