Websites + Marketing Help

Add HTML or custom code to my site

Websites + Marketing lets you add your own code (HTML, CSS and JavaScript) to your website, allowing you to extend your site's capabilities with things like custom forms, maps and special-function buttons, to name just a few.

You can also add Google Analytics, Facebook Pixel, Facebook Meta Tag, Pinterest Meta Tag and Google AdSense directly to your site in Settings, no custom code section required. Be sure to allow website visitors to set cookie and tracking preferences; it's the law.

Note: Embedding code can affect how your entire site functions, so use this only if you're comfortable hand coding or have specific code from another site.

  1. Go to your GoDaddy product page.
  2. Scroll down, expand Websites + Marketing and select Manage next to your site.
  3. Select Edit Website or Edit Site to open your website builder.
  4. Go to the page and location where you want to add your custom code and add a section.
  5. Search for the HTML section and select Add.
  6. Paste or write your custom code in the Custom Code field.
  7. Customize the rest of the section, such as the accent color, title and alignment. Leave Forced Height blank for auto-height or set a specific height in pixels. A height of 0 pixels is equivalent to deleting the section.
  8. Your changes are saved automatically. Use Preview to see the results and when you're ready to make the changes public, publish your site.

More info

Share this article