Skip to content

Docs

Install guide

Install on HTML / any site

One script tag in the head of every page. No DNS changes. Your site ID is in the dashboard under Install.

Placeholder text

Before you start

You need a General Spirit account. Copy your script tag from the dashboard: Install, then Copy. Never edit it. The sample below uses the sample site ID gs_7f3k2q.

1. Copy the snippet

head · sample site ID
<!-- before </head> -->
<script
  src="https://generalspirit.com/g/gs_7f3k2q.js"
  async></script>

2. Add it to HTML / any site

  1. Open the shared layout every page uses.
  2. Paste the script tag just before </head>.
  3. Deploy as you normally would.

3. Check the install

Open your site in a private window. The gate shows. In the dashboard, the Install page says "Script found".

Next

Cookie settings

NecessarySign-in, partner referral and this choice. Always on.
AnalyticsOff until you turn it on.