Requirements
- Your community site uses a custom domain. Tightknit sets up custom domains for you: contact support to add one.
- Your plan includes custom scripts.
Add a script
1
Paste your code
In Studio, go to Site > Custom script and paste your JavaScript into Head Script. Paste only the code, without
<script> tags.If your vendor gives you a <script src="…"> tag, load the file from JavaScript instead. Copy the tag’s src URL, and add one setAttribute line for each other attribute on the tag:2
Publish
Select Publish script and confirm. The script goes live on every page of your custom domain, for every visitor and member, within a few minutes.
3
Check it on your custom domain
Open your site on its custom domain and confirm the script runs, for example that your cookie banner appears.
<script> tags, that doesn’t parse as JavaScript, or that is longer than 65,536 characters, and says why under the field.
A script can read and change anything on the page, for every visitor and signed-in member. Only add code from a source you trust.

