建站神器 + 行銷 說明

在我的網站上加入 HTML 或自訂編碼

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. 前往您的 GoDaddy 產品頁面
  2. 捲動到「Websites + Marketing」,然後點選網站旁邊的「管理」。
  3. 點選「編輯網站」或「編輯站台」即可開啟您的網站編輯工具。
  4. Go to the page and location where you want to add your custom code and add a section.
  5. 搜尋「HTML」區段,並點選「新增」。
  6. Paste or write your custom code in the Custom Code field.
  7. 自訂區段其他內容,如重點色彩、標題、置中對齊設定及高度等。留白「強制高度」欄位即可設為自動高度,您也可以以像素為單位指定高度。高度若為 0 像素,等同於刪除區段
  8. 系統會自動儲存您的變更內容。您可以用「預覽」查看結果,而準備公開變更內容後,即可發佈您的網站

更多資訊