---
title: Can I add a third-party script or embed code to my pages?
description: You do not need to edit the theme or create a child theme to add a third-party script or embed code; use HubSpot's built-in HTML module or the page's code
---

[![stuff-and-matters-logo-white](https://www.stuff-n-matters.com/hubfs/sam/stuff-and-matters-logo-white.svg "stuff-and-matters-logo-white")](https://www.stuff-n-matters.com/)

- Focus Theme for HubSpot
  
  Focus Theme for HubSpot

    - [Focus](https://www.stuff-n-matters.com/focus)
    - [Focus Plus](https://www.stuff-n-matters.com/focus-plus)
    - [Focus vs Focus+](https://www.stuff-n-matters.com/focus-plus-comparison)
    - [Client Showcase](https://www.stuff-n-matters.com/focus-plus-theme-client-showcase)
    - [Knowledge Base](https://www.stuff-n-matters.com/focus-theme-knowledge-base)
    - [Documentation](https://www.stuff-n-matters.com/focus-theme-documentation)
    - [Release Notes](https://www.stuff-n-matters.com/focus-plus-theme-release-notes)
    - [Money Back Guarantee](https://www.stuff-n-matters.com/refund-policy)
    - [Cashback Program](https://www.stuff-n-matters.com/focus-plus-theme-cashback-program)
- [Solutions](https://www.stuff-n-matters.com/solutions)
  
  Solutions

    - [HubSpot Onboarding](https://www.stuff-n-matters.com/hubspot-onboarding)
    - [Marketing Automation](https://www.stuff-n-matters.com/marketing-automation-services)
    - [Content Creation](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [Inbound Marketing](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [HubSpot Integrations](https://www.stuff-n-matters.com/hubspot-integrations)
    - [Website Development](https://www.stuff-n-matters.com/website-design-and-development)
    - [Reporting & Analytics](https://www.stuff-n-matters.com/reporting-and-analytics)
    - [Sales Enablement](https://www.stuff-n-matters.com/sales-enablement)
    - [Service Enablement](https://www.stuff-n-matters.com/customer-service-enablement)
    - [Strategy Consulting](https://www.stuff-n-matters.com/advanced-strategy-consulting)
    - [Retainer-Based Support](https://www.stuff-n-matters.com/retainer-based-support-services)
- [Blog](https://www.stuff-n-matters.com/blog)
- [Career](https://www.stuff-n-matters.com/career)
- [Contact](https://www.stuff-n-matters.com/contact)

[![https://19808513.fs1.hubspotusercontent-na1.net/hubfs/19808513/sam/stuff-and-matters-logo-white.svg](https://www.stuff-n-matters.com/hubfs/sam/stuff-and-matters-logo-white.svg "https://19808513.fs1.hubspotusercontent-na1.net/hubfs/19808513/sam/stuff-and-matters-logo-white.svg")](https://www.stuff-n-matters.com/)

- Focus Theme for HubSpot
  
  Focus Theme for HubSpot

    - [Focus](https://www.stuff-n-matters.com/focus)
    - [Focus Plus](https://www.stuff-n-matters.com/focus-plus)
    - [Focus vs Focus+](https://www.stuff-n-matters.com/focus-plus-comparison)
    - [Client Showcase](https://www.stuff-n-matters.com/focus-plus-theme-client-showcase)
    - [Knowledge Base](https://www.stuff-n-matters.com/focus-theme-knowledge-base)
    - [Documentation](https://www.stuff-n-matters.com/focus-theme-documentation)
    - [Release Notes](https://www.stuff-n-matters.com/focus-plus-theme-release-notes)
    - [Money Back Guarantee](https://www.stuff-n-matters.com/refund-policy)
    - [Cashback Program](https://www.stuff-n-matters.com/focus-plus-theme-cashback-program)
- [Solutions](https://www.stuff-n-matters.com/solutions)
  
  Solutions

    - [HubSpot Onboarding](https://www.stuff-n-matters.com/hubspot-onboarding)
    - [Marketing Automation](https://www.stuff-n-matters.com/marketing-automation-services)
    - [Content Creation](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [Inbound Marketing](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [HubSpot Integrations](https://www.stuff-n-matters.com/hubspot-integrations)
    - [Website Development](https://www.stuff-n-matters.com/website-design-and-development)
    - [Reporting & Analytics](https://www.stuff-n-matters.com/reporting-and-analytics)
    - [Sales Enablement](https://www.stuff-n-matters.com/sales-enablement)
    - [Service Enablement](https://www.stuff-n-matters.com/customer-service-enablement)
    - [Strategy Consulting](https://www.stuff-n-matters.com/advanced-strategy-consulting)
    - [Retainer-Based Support](https://www.stuff-n-matters.com/retainer-based-support-services)
- [Blog](https://www.stuff-n-matters.com/blog)
- [Career](https://www.stuff-n-matters.com/career)
- [Contact](https://www.stuff-n-matters.com/contact)

[![](https://www.stuff-n-matters.com/hubfs/sam/stuff-and-matters-logo-dark.svg)](https://www.stuff-n-matters.com/)

- Focus Theme for HubSpot
  
  Focus Theme for HubSpot

    - [Focus](https://www.stuff-n-matters.com/focus)
    - [Focus Plus](https://www.stuff-n-matters.com/focus-plus)
    - [Focus vs Focus+](https://www.stuff-n-matters.com/focus-plus-comparison)
    - [Client Showcase](https://www.stuff-n-matters.com/focus-plus-theme-client-showcase)
    - [Knowledge Base](https://www.stuff-n-matters.com/focus-theme-knowledge-base)
    - [Documentation](https://www.stuff-n-matters.com/focus-theme-documentation)
    - [Release Notes](https://www.stuff-n-matters.com/focus-plus-theme-release-notes)
    - [Money Back Guarantee](https://www.stuff-n-matters.com/refund-policy)
    - [Cashback Program](https://www.stuff-n-matters.com/focus-plus-theme-cashback-program)
- [Solutions](https://www.stuff-n-matters.com/solutions)
  
  Solutions

    - [HubSpot Onboarding](https://www.stuff-n-matters.com/hubspot-onboarding)
    - [Marketing Automation](https://www.stuff-n-matters.com/marketing-automation-services)
    - [Content Creation](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [Inbound Marketing](https://www.stuff-n-matters.com/content-and-inbound-marketing)
    - [HubSpot Integrations](https://www.stuff-n-matters.com/hubspot-integrations)
    - [Website Development](https://www.stuff-n-matters.com/website-design-and-development)
    - [Reporting & Analytics](https://www.stuff-n-matters.com/reporting-and-analytics)
    - [Sales Enablement](https://www.stuff-n-matters.com/sales-enablement)
    - [Service Enablement](https://www.stuff-n-matters.com/customer-service-enablement)
    - [Strategy Consulting](https://www.stuff-n-matters.com/advanced-strategy-consulting)
    - [Retainer-Based Support](https://www.stuff-n-matters.com/retainer-based-support-services)
- [Blog](https://www.stuff-n-matters.com/blog)
- [Career](https://www.stuff-n-matters.com/career)
- [Contact](https://www.stuff-n-matters.com/contact)

# Can I add a third-party script or embed code to my pages?

Yes, and you do not need to edit the theme files or create a child theme for it. Third-party widgets such as Google Programmable Search, chat tools or calendars come as a small snippet, and HubSpot lets you place it without touching the theme.

To show the widget in a specific spot on a page, open the page in the page editor, search for **HTML** in the **Add** panel, drag HubSpot's built-in **HTML** module into the section you want, paste the snippet and click **Publish**. The **Embed** module with **Embed code** works the same way.

If the snippet only needs to load (a script with no visible element), paste it under **Settings \> Advanced \> Head HTML** or **Footer HTML** of that page, or for the whole site under **Settings \> Content \> Pages \> Site Footer HTML**.

Note that the theme's header search box uses HubSpot's own site search, which indexes the text of your pages and blog posts, not files uploaded to the File Manager. To make PDFs searchable, either list them by title on a page or use an external search engine such as Google Programmable Search.

[Back to Knowledge Base](https://www.stuff-n-matters.com/knowledge-base)

### Share:

[Share on Facebook](http://www.facebook.com/share.php?u=https://www.stuff-n-matters.com/knowledge-base/can-i-add-a-third-party-script-or-embed-code-to-my-pages&utm_medium=social&utm_source=facebook) [Share on LinkedIn](http://www.linkedin.com/shareArticle?mini=true&url=https://www.stuff-n-matters.com/knowledge-base/can-i-add-a-third-party-script-or-embed-code-to-my-pages&utm_medium=social&utm_source=linkedin) [Share on Twitter](https://twitter.com/intent/tweet?original_referer=https://www.stuff-n-matters.com/knowledge-base/can-i-add-a-third-party-script-or-embed-code-to-my-pages&utm_medium=social&utm_source=twitter&url=https://www.stuff-n-matters.com/knowledge-base/can-i-add-a-third-party-script-or-embed-code-to-my-pages&utm_medium=social&utm_source=twitter&source=tweetbutton&text=Can%20I%20add%20a%20third-party%20script%20or%20embed%20code%20to%20my%20pages)

[other](https://www.stuff-n-matters.com/knowledge-base/tag/other)

## Comments

## Related posts

Search [How can I change the background color of the footer?](https://www.stuff-n-matters.com/knowledge-base/how-can-i-change-the-background-color-of-the-footer)

[Why are my section background colors not using my Brand Kit colors?](https://www.stuff-n-matters.com/knowledge-base/why-are-my-section-background-colors-not-using-my-brand-kit-colors) Search

![stuff-and-matters-provider](https://www.stuff-n-matters.com/hubfs/sam/stuff-and-matters-provider.svg "stuff-and-matters-provider")

We are proudly an official HubSpot Solution Provider. You can grow better with us.

#### Focus Theme

- [Focus](https://www.stuff-n-matters.com/focus)
- [Focus Plus](https://www.stuff-n-matters.com/focus-plus)
- [Focus vs Focus+](https://www.stuff-n-matters.com/focus-plus-comparison)
- [Client Showcase](https://www.stuff-n-matters.com/focus-plus-theme-client-showcase)
- [Knowledge Base](https://www.stuff-n-matters.com/focus-theme-knowledge-base)
- [Documentation](https://www.stuff-n-matters.com/focus-theme-documentation)
- [Release Notes](https://www.stuff-n-matters.com/focus-plus-theme-release-notes)
- [Cashback Program](https://www.stuff-n-matters.com/focus-plus-theme-cashback-program)

#### Solutions

- [HubSpot Onboarding](https://www.stuff-n-matters.com/hubspot-onboarding)
- [Marketing Automation](https://www.stuff-n-matters.com/marketing-automation-services)
- [Content & Inbound Marketing](https://www.stuff-n-matters.com/content-and-inbound-marketing)
- [HubSpot Integrations](https://www.stuff-n-matters.com/hubspot-integrations)
- [Website Design & Development](https://www.stuff-n-matters.com/website-design-and-development)
- [Reporting & Analytics](https://www.stuff-n-matters.com/reporting-and-analytics)
- [Sales Enablement](https://www.stuff-n-matters.com/sales-enablement)
- [Customer Service Enablement](https://www.stuff-n-matters.com/customer-service-enablement)
- [Strategy Consulting](https://www.stuff-n-matters.com/advanced-strategy-consulting)
- [Retainer-Based Support](https://www.stuff-n-matters.com/retainer-based-support-services)

#### Blog Posts

- [How to add custom CSS on HubSpot CMS](https://www.stuff-n-matters.com/blog/how-to-add-custom-css-on-hubspot-cms)
- [How to create a child theme in HubSpot](https://www.stuff-n-matters.com/blog/how-to-create-a-child-theme-in-hubspot)
- [How to connect Google Analytics](https://www.stuff-n-matters.com/blog/how-to-connect-google-analytics-to-hubspot)
- [How to add a Google Map to your website](https://www.stuff-n-matters.com/blog/add-google-maps-with-snazzy-maps-in-hubspot)
- [How to clone a HubSpot theme](https://www.stuff-n-matters.com/blog/how-to-clone-a-hubspot-theme)

**© 2021-2026 Stuff & Matters, Inc.**  
Delaware, USA.

[Refund Policy](https://www.stuff-n-matters.com/refund-policy) [Privacy Policy](https://www.stuff-n-matters.com/privacy-policy) [Terms & Conditions](https://www.stuff-n-matters.com/terms-and-conditions) 

[Follow us on Facebook](https://www.linkedin.com/in/kerem-kandirali/)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "HubSpotted",
    "url" : "https://www.stuff-n-matters.com/knowledge-base/author/hubspotted"
  },
  "dateModified" : "2026-09-08T02:17:11.449Z",
  "datePublished" : "2026-09-08T02:17:11.000Z",
  "headline" : "Can I add a third-party script or embed code to my pages?",
  "mainEntityOfPage" : {
    "@id" : "https://www.stuff-n-matters.com/knowledge-base/can-i-add-a-third-party-script-or-embed-code-to-my-pages",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.stuff-n-matters.com/hubfs/sam/stuff-and-matters-logo-dark.svg"
    },
    "name" : "Stuff & Matters, Inc."
  }
}
```