Getting Hubspot Call To Action Buttons to Work in Sitefinity


Working with Hubspot Call to Action (CTA) is easier than ever with Sitefinity’s Embed Code widget, part to Feather. Here are the four simple steps that will make the Hubspot CTA to work on a Sitefinity page:

  1. Place the HubSpot Call-to-Action HTML code on a page using Content Block widget:


  2. Place the HubSpot javascript either on the page or on the template if more pages are based on a common template. Note this javascript is not specific to the call to action widget. It’s important to choose ‘Before the closing body tag’
    <script type="text/javascript" src=""></script>


  3. Next use the ‘embed code’ widget to place the HubSpot javascript, which is specific to your portal. In the following example, note the 123456.js is the portal id will be change based on your portal.
    <script type="text/javascript" id="hs-script-loader" async defer src="//"></script>


  4. Finally add the HubSpot javascript, which is specific to the Call to Action (CTA). In the below example note there is a portal id and the CTA’s form guide id.
    <script type="text/javascript">
    hbspt.cta.load(123456, 'f46c693f-bcc5-4de9-a954-db20ad916633', {}); </script>

Looking at all the widgets together, a Sitefinity page with Hubspot CTA and the dependent looks like below.


We have helped many of our clients implement Hubspot CTAs with Sitefinity. Also, we have imported Hubspot blogs to Sitefinity using the Hubspot API. We are happy to help you, contact Us!


Write a review


  • Jameson WordPress Expert
  • Steven LaGow Blog Author
  • John Parker
  • James Grergory
  • Ellis LaMay Blog Author Image
  • Mani Blogger Image
  • Elin-Alexander
  • David-Dillon
  • Ahmed Okour
  • Paul-Ross-Blogger-Bio-Pic
  • Rachel-B-Web
  • Courtney-V4
  • scottstiles
  • stu-3
  • Joseph Gustafson
  • Vince Scarlata
  • Tim Ahlenius
  • Staff Blogs
  • shawn griffin blogger image
  • Americaneagle Partner
  • Nick Goodrum
  • Missy Hildebrand
  • corte-swearingen-director-ab-testing
  • Emily Stark