如何在 SquareSpace 网站的特定页面添加 Javascript 代码

how to add Javascript code in specific page in SquareSpace website

我尝试在代码注入中添加自定义 javascript 代码,

成功了,我可以在所有页面上看到代码。

但我只需要这个表格主页

这是我的代码

<div class="_form_8"></div><script src="https://adriamarble.*****com/f/embed.php?id=***" type="text/javascript" charset="utf-8"></script>

不使用全局页眉或页脚注入点,而是针对特定页面使用 the per-page header code injection

You can also inject code into a specific page:

1) Hover over the page in the Pages panel.
2) Click the icon.
3) Click Advanced.

Page Header Code Injection adds code to the tag of that page.

如果您需要将代码添加到特定页面的主体,请添加 Code Block or Markdown Block,然后将您的代码插入其中。