Bỏ qua đến nội dung chính
Gọi cho chúng tôi
Số điện thoại và giờ làm việc
Trung tâm Trợ giúp

Khám phá các tài nguyên trợ giúp trực tuyến của chúng tôi

Trợ giúp

GoDaddy Trợ giúp

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

Liên quan đến cộng đồng

madamspearls's Avatar
Connecting MailChimp with Website + Marketing Store

8 Câu trả lời

Last posted over 2 years ago.

FineFurniture's Avatar
Hotjar java script into Go Central website builder

1 Câu trả lời

Last posted about 2 years ago.

soulrooms_dev's Avatar
Default HTML margins

1 Câu trả lời

Last posted 9 months ago.

TopCorpCEONM's Avatar
HTML not working

1 Câu trả lời

Last posted 11 months ago.

martini21's Avatar
How to add custom html

1 Câu trả lời

Last posted 5 months ago.

Không tìm được thông tin mà bạn muốn tìm kiếm? Tìm kiếm trong Cộng đồng