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
While in Knak, create a footer module that you can reuse which contains all the mandatory HubSpot HubL tags.
Add a text component which contains all the mandatory HubL tags listed above.
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.
For the unsubscribe link, i.e “Unsubscribe from all future emails”, link your text to:{{unsubscribe_link_all}}
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
Click Publish in the top right corner of the Builder, then click Sync
Select your HubSpot integration
(Optional) Rename your asset and/or create a Template Folder Path
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.
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"
Your assets will appear in various places within HubSpot
Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com