Skip to main content
Help Center

GoDaddy Help

Troubleshoot: HTML or custom code not displaying properly

If you're having trouble adding HTML or custom code to your Websites + Marketing page, check the list below for possible solutions.

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.

Let's say we have some sample code:
Custom code window

Code guidelines and limitations

  • Use HTTPS instead of HTTP. (Support for HTTP is not guaranteed.)
  • Use the most recent version of your web browser. For the best experience, use Chrome. In Internet Explorer, Microsoft Edge and Opera Mini, the HTML preview will sometimes break when the embed changes. If this happens, refresh the page to see your changes or switch to another browser.
  • If your widget does not appear, set its height to a higher value, e.g. 40 pixels.
  • For embedded content that changes height as the user interacts with it, we recommend forcing the height to a value that can accommodate these changes.
  • When embedding a link, set its target attribute to "_blank" so it opens in a new tab or window.
  • When embedding plain text or a URL, wrap that in HTML tags.
  • The responsiveness of the HTML widget depends on the code being embedded. Since the embed is placed inside of an iframe, the widget may not be responsive — even if the original content is.
  • Placing a Google AdSense snippet inside of an iframe violates Google's policy and is not supported. Instead, see Add Google AdSense to my website.

Note: While we are happy to explain how the HTML section works, we cannot troubleshoot issues with any third-party code you might add to it.

More info

Community Related

Advisor's Avatar
Website not displaying properly

3 Replies

Last posted over 4 years ago.

ECFS's Avatar
Website not displaying properly

1 Replies

Last posted about 2 years ago.

ATX's Avatar
HTML Code displaying vertical widgets

4 Replies

Last posted over 1 year ago.

Nick1234's Avatar
Windows to Plesk horrors

1 Replies

Last posted 5 months ago.

RoppCreative's Avatar
MailMunch not working. Where to enter their HTML code?

1 Replies

Last posted almost 3 years ago.

Don't see what you are looking for? Search the Community