Help Center
  • Welcome
  • Setka Editor
    • Getting started
    • Drag-and-Drop & Multiselect
    • Text editing
    • Grids and Layout
    • Images
      • Image Editor
    • Background images
    • Icons
    • Animations
    • Lists
    • Tables
    • Dividers
    • Footnotes
    • Hotspots
    • Enhance Symbols
    • Post templates
    • Buttons
    • Comments and collaboration
    • Embeds
    • Hyphenation
    • Responsive layout for mobile screens
    • Custom CSS
    • Custom JS plugins
  • Setka Content Design System Manager
    • Creating and editing styles
    • Text formats and fonts
    • Styles display for mobile mevices
    • Text and background colors
    • Dividers
    • Icons
    • Components – reusable design elements
      • Creating Components with HTML and CSS
        • CSS in components
        • Component examples
    • Configuring layout grids
    • Editing default elements with Custom CSS
    • Adding team members
  • Account Settings
    • Account settings basics
    • Access rights
    • Billing and subscription
  • Preserve your Setka Editor content after the service shutdown
  • Integrations
    • Setka and WordPress
      • Installing Setka Editor WordPress plugin
      • Launching Setka Editor on the post creation page
      • Setka Editor and WordPress compatibility
      • Setka Editor compatibility with the most popular WordPress plugins
      • Inserting graphs, charts, or diagrams into a post
      • Setka Editor and Google AMP
      • Inserting adverts into a post
      • srcset — the attribute for image size optimization
      • Page load speed optimization settings
        • Autoptimize plugin configuration
      • WordPress troubleshooting: known Issues and how to fix them
      • Preserve your Setka Editor content after the service shutdown
    • Setka and Drupal
      • Setka for Drupal — compatibility, and features
      • Installing Setka modules for Drupal
      • Setka content on AMP pages in Drupal
    • Setka and Magento
      • Installing Magento 2 extension
        • Setka Editor configuration page
      • Preserve your Setka Editor content after the service shutdown
    • Setka and HubSpot
      • Setka Editor and HubSpot Blogs
      • Setka Editor and HubSpot Landing Pages
      • Semi-gated content with a HubSpot form
      • Preserve your Setka Editor content after the service shutdown
    • Setka and Bitrix
      • Preserve your Setka Editor content after the service shutdown
    • Setka and Ghost
      • Copying and pasting posts from Setka to Ghost
    • Setka and SharePoint Online
      • Installing Setka Editor application into SharePoint Online
    • Setka and Zapier
      • Setka and Webflow
        • Exporting new posts
        • Updating exported posts
      • Setka and Shopify
    • Setka and Integromat
    • Content Cloud
  • API
    • Setka Content Cloud API
    • Webhooks
    • API for Custom CMS Integration
      • Introduction to custom integration
      • Integration with Content Design System Manager (CDSM)
        • Initial sync — receiving Setka Editor files to connect them to your CMS
        • Storing and processing Setka Editor files
        • Connecting Setka Editor files to the pages of your site
        • Receiving style updates from the Style Manager and new editor versions
      • Setka Post Editor initialization (JavaScript)
      • Integration with Style Manager (API v1, previous version)
      • Preserve your Setka Editor content after the service shutdown
    • Custom Components API
  • VIDEO TUTORIALS
    • Setka Editor Video Tutorials
  • Components Library
    • Components Library
    • Guide: Ideas for Using Setka Editor’s Components to Improve Content Design
  • Content Experience Design Best Practices
    • Guide To Designing a Great Content Experience
Powered by GitBook
On this page
  • Step 1. Create a new module for HubSpot COS
  • Step 2. Configure your module
  • Set content options
  • Set editor options
  • Compose module.html
  • Step 3. Use the embed module on a HubSpot landing page

Was this helpful?

  1. Integrations
  2. Setka and HubSpot

Setka Editor and HubSpot Landing Pages

How to add Setka Editor content to landing pages in HubSpot.

PreviousSetka Editor and HubSpot BlogsNextSemi-gated content with a HubSpot form

Last updated 4 years ago

Was this helpful?

Setka Editor content can be added onto a HubSpot landing page as an embed. Thus, the embed module is needed.

Read more about modules in .

After creating the module, you will be able to add it to a landing page and partly replace the module with the Setka post HTML. The post's HTML code should be .

Step 1. Create a new module for HubSpot COS

To create a new module, select Marketing on the HubSpot upper menu. Then go to Files and Templates > Design Tools:

Follow these steps to create the embed module:

Go to File > New file on the left-hand panel:

Select Module from the dropdown list and click Next:

Set up your module:

  • Check Pages for Where where would you like to use this module?

  • Set Local module as a Module content scope.

  • Set any desirable file name. E.g., "Setka Embed Module."

  • Select file location at your discretion.

Step 2. Configure your module

After saving the module file, the configuration screen will open. Since you are creating the embed module, the Embed field is needed. To add it, click Add field on the right-hand panel and select Embed:

Set content options

Go to the Content options block in the right-hand panel and set the Supported source types option to Embed code only.

Paste this code into the Embed code field:

<div style="background: #f1f1f1; display: flex; align-items: center; justify-content: center; height: 100px;">
Replace this code with your Setka Post code in the ‘Embed code’ field
</div>

Set editor options

Move to Editor options block and activate the Make this field required switch.

Add some explanatory text into the Inline help text field, if needed. E.g.:

Replace the code below with your Setka post code. You can get the code by clicking ‘Export → Copy HTML to clipboard’ from the post badge in your Setka Account.

This text will help HubSpot COS users if they use your module on landing pages.

Compose module.html

Scroll the right-hand panel up to the top and find the HubL variable name field. Click Copy > Copy value only:

Paste the copied value to the module.html (HTML+HubL) field in the center. Add .embed.html in the end, as it is shown on the screenshot below:

Click Publish changes to save your newly configured module.

Step 3. Use the embed module on a HubSpot landing page

Go to Marketing > Website > Landing Pages in the upper menu:

Select the page from the list, or create a new one via Create > Landing page menu in the top right corner. The page editor will open.

Find your module in the left-hand menu. Use the search bar if there are many modules in the list. Drag the module and place it on the page:

After the post HTML is copied, go back to HubSpot and click Edit module on the embed module you just added:

Delete the code from the Embed code field on the left-hand panel. Paste the post's HTML code exported from Content Cloud instead. Landing page content will update immediately:

This way, you can use any Setka post as a landing page content.

As Setka Editor content is added on the landing page as an embed, you will need to your post's HTML code from and copy it to the clipboard.

export
Content Cloud
HubSpot Knowledge Base
exported from the Content Cloud