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.
- Go to your GoDaddy product page.
- Scroll down, expand Websites + Marketing and select Manage next to your site.
- Select Edit Website or Edit Site to open your website builder.
- Go to the page and location where you want to add your custom code and add a section.
- Search for the HTML section and select Add.
- Paste or write your custom code in the Custom Code field.
- 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.
- 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
- Need a quick HTML tutorial? Check out freeCodeCamp or Hubspot for beginner-friendly guides.
- Having trouble with your code? See Troubleshoot: HTML or custom code not displaying properly.
- Want to create a QR code? Choose from free generators like QRCode Monkey or QR Code Generator.
- Add reviews to my website from Facebook, Google Business Profile, Yotpo or by hand.