Hubspot

This guide covers how to share the code to embed thumbnail & video inside hubspot email.

To learn how to integrate Hubspot with a Gan.AI project, click below:

Hubspot

Adding the embed code to Hubspot email template

  1. In your HubSpot account, go to the marketing tab and click on 'Email'. From there, either select a template or create a new email

  2. Now to set up your email template, enter the text you'd like to include. You'll also need to add an HTML snippet by clicking 'More'. Drag this block to the spot in your email that you'd like to include the video

  1. Open the HTML editor & add the below mentioned HTML snippet to that specific spot.

  2. img_src should have the thumbnail contact property, href (i.e the link that will open on clicking) should be the smart url contact property

<a href="{{ contact.gan_ai_new_project__am_smart_url }}" target="_blank"><img src="{{contact.gan_ai_new_project__am_thumbnail_url }}" width="100%"></a>

Note: Please ensure that the hubspot internal names match with those in this snippet

  1. Once the HTML is added, click 'Done' to save

  2. To test this setup, click 'Action' and then select 'Preview'

  3. Once the results are successful, click on 'Save' & return to the plain text view

Last updated