Skip to main content
Sending Knak emails from HubSpot

Setting up emails and landing pages that can render correctly when sent from HubSpot

Felix Higgs avatar
Written by Felix Higgs
Updated over 2 weeks ago

Knak assets that are synced to HubSpot require specific HubL tags in order to be sent out of HubSpot. If any of these required variables are missing, an error message will appear when you try to publish assets in HubSpot.

Landing pages require the following tags:

  • {{standard_footer_includes}}

  • {{standard_header_includes}}

Emails require the following tags to be CAN-SPAM compliant.

  • {{unsubscribe_link}} or {{unsubscribe_link_all}} (include at least one)

  • {{unsubscribe_anchor}}

  • {{site_settings.company_name}}

  • {{site_settings.company_street_address_1}}

  • {{site_settings.company_city}}{{site_settings.company_state}}

  • {{site_settings.company_zip}}

Set up the mandatory HubSpot footer in Knak

  1. While in Knak, create a footer module that you can reuse which contains all the mandatory HubSpot HubL tags.

  2. Add a text component which contains all the mandatory HubL tags listed above.

  3. Next, set up the unsubscribe links by adding text and inserting a link for each in Knak. For the link URL, paste in both of the following tags.

    1. For the unsubscribe link, i.e “Unsubscribe from all future emails”, link your text to:{{unsubscribe_link_all}}

    2. For the preference center, ie “Update your email preferences”, link your text to:

      {{unsubscribe_link}}

Note: If you remove any that are required, you may be blocked from sending emails out of HubSpot

Syncing your email or landing page to HubSpot

  1. Click Publish in the top right corner of the Builder, then click Sync

  2. Select your HubSpot integration

  3. (Optional) Rename your asset and/or create a Template Folder Path

    1. By default, your assets will have an HTML version saved to the Design Manager section of HubSpot under the "Knak" folder. If you would like to create a new subfolder in Design Manager under "Knak", you can do so by adding something to the Template Folder Path section before sync.

    2. Eg. Adding "Knak Subfolder" will create a subfolder under "Knak" in the Design Manager, while adding "Another Folder/Knak Subfolder" will create a sub subfolder under "Knak Subfolder"

  4. Your assets will appear in various places within HubSpot

    1. Emails will appear under Marketing -> Emails

    2. Landing pages will appear under Content -> Landing Pages

    3. Both emails and landing page HTML will appear under Content -> Design Manager


Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com

Did this answer your question?