使用 Neo98 Cloud 中的程式碼崁入功能嵌入需要在專案頁首或頁尾中執行的任何外部第三方腳本。

您可以新增 Google Analytics、Google Tag、Facebook Pixel、Hotjar、支付服務或任何需要嵌入腳本的第三方服務。

In Neo98 您可以在 3 個層級上註入程式碼:

1. At the website level - this includes the injected code in the header and/or footer of all the pages of your website.You can access the Code Injection feature in any project in the Settings page on the Code Inject tab

您可以在「設定」頁面的「程式碼注入」標籤中存取任何項目中的程式碼注入功能。

如果您想在網站的每個頁面的「head」標籤中註入腳本,請將腳本複製並貼上到標題區域。

如果您想在網站的每個頁面的「頁腳」標籤中註入腳本,請將腳本複製並貼上到頁腳區域。

按下“儲存變更”按鈕儲存您的變更。

2. At the page level - this includes the injected code in the header and/or footer only on a particular page

3. Inside a page - this includes the injected code  in the content of your pages

您可以透過複製/貼上嵌入元素中的程式碼來實現這一點。將元素拖曳到頁面上。

並將程式碼貼到 Embed 元素中

Embed 元素理解 JS 和 HTML。