Skip to main content
All CollectionsAudit Readiness and Certification13 | Certification
How to embed Secfix Trust Center in HubSpot CMS

How to embed Secfix Trust Center in HubSpot CMS

Grigory Emelianov avatar
Written by Grigory Emelianov
Updated over 7 months ago

Step 1: Create a New Custom Template

  1. Log in to HubSpot:

    • Open HubSpot and search for Design Manager using the search bar at the top.

  2. Create a New Template:

    • In the Design Manager, click on the File menu.

    • Select New File and choose HTML + HUBL as the file type.

    • Name your template something like blank_trust_center_template.html and choose the appropriate folder.

    • Click Create to open the template editor.

  3. Write Minimal HTML (No Global Styles):

    • In the template editor, create a minimal structure that avoids including any global HubSpot or project-specific styles. Replace the content with the following:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Secfix Trust Center</title>

{{ standard_header_includes }}

</head>
<body>
<iframe
src="https://app.secfix.com/trust/secfix/18741cc82bbf435888bff66e47e66b2f"
width="100%"
height="auto"
frameborder="0"
style="height: 100vh;">
</iframe>

{{ standard_footer_includes }}
</body>
</html>

This template includes only the necessary HubSpot analytics scripts (standard header and footer includes) and the iFrame for your Trust Center. No other styles or scripts are applied, so it will remain as minimal as possible. Make sure to change the Secfix Trust Center URL with your own Trust Center URL.

Explanation:

  • {{ standard_header_includes }}: This tag adds the necessary HubSpot-specific headers, such as analytics and scripts.

  • {{ standard_footer_includes }}: This tag adds the footer includes necessary for HubSpot tracking and analytics.

With these changes, you should no longer see the errors, and your page will still remain as minimal as possible, containing only the required HubSpot functionality along with your iframe.

4. Save the Template.

5. Click on Publish to save and publish your blank template.

Step 2: Create a New Page and Apply the Template

  1. Create a New Page:

    • Go to Marketing > Website > Website Pages or Landing Pages depending on your goal.

    • Click on Create Page and select Start from Scratch.

  2. Choose Your Custom Template:

    • When prompted to choose a template, select the custom template you created in Step 1 (blank_trust_center_template.html).

  3. Publish the Page: Click Publish.

  4. Test the page.

Step 3: Add a Trust Center link in the footer.

On your landing page add a Trust Center link in the footer pointing to your new custom HubSpot Trust Center page. See the example below.

Did this answer your question?