Based on a custom design, I have coded a responsive HTML email. I see that it is possible to import custom html into Hubspot.
I want to use my code as an email template that my Hubspot using client can select and use to create a new campaign, editing place holder content before sending to their contacts.
With other platforms I use, for example, mailchimp, pardot or campaign monitor you add, say, “mc:edit” to a tag to make the relevant section editable.
In summary, I would like sections “placeholder content and, links etc” of my imported HTML to be editable by the user.
- Is this possible with Hubspot using my custom html & css code?
I have had a look at the Academy but cannot see anything that deals specifically with how to code the email. Can you point me in the right direction or to some sample code?
I would recommend checking out the CMS lessons on the academy. While not specific to emails, I think you would be able to use the information there and translate it to emails. They largely use the same methodology.
around the various parts of content I need editable works. I am building this without access to HubSpot as I am building it for an agency, so makes it a bit more difficult.
@JTester, could you throw up a bit of the code and add a comment where you want it to be editable? Maybe we could demonstrate how to insert hubl tags in the code
<!-- Was kinda hoping something like this would do the trick - client seems to be able to load the html into Hubspot OK -->
<!-- Panel 2 Start -->
<table width="520" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInnerMobile">
<tr>
<td bgcolor="#ffffff" style="font-family: 'Modern Era', Arial, Helvetica, Sans-serif; font-size:28px; color:#241C15; padding-top: 56px; font-weight:700;">{% content_attribute "email_body" %}Hello Hive Family Member!{% end_content_attribute %}</td>
</tr>
<tr>
<td bgcolor="#ffffff" style="font-family: 'Modern Era', Arial, Helvetica, Sans-serif; font-size:18px; color:#403B3B; padding-top: 20px; font-weight:400; line-height: 28.8px;">{% content_attribute "email_body" %}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Diam sed neque iaculis donec tellus facilisis in. Libero, egestas lacus enim, commodo donec. Eu pretium id accumsan, in turpis nibh. Feugiat egestas leo dolor at ut lectus sem quis quam.{% end_content_attribute %}</td>
</tr>
</table>
<!-- Panel 2 End -->
Hi, Thanks for this and for your time on it, I really appreciate it. I have adapted my code in line with your suggestion and submitted it. I hope it works out, if not I will look at hiring a hubspot developer.