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. This allows you to extend the capabilities of your site with such things as custom forms, maps and special-function buttons — to name only a few options.

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 a specific code from another site.

  1. Go to your GoDaddy product page.
  2. Scroll to Websites + Marketing and select Manage next to your website to open your site.
  3. Select Edit Website or Edit Site to open your website builder.
  4. Go to the page and location 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 into the Custom Code field.
  7. Customize the rest of the section, such as the accent color, title, center alignment toggle and height. Leave the Forced Height field 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