Inboarddocs
For SaaS ownersRequirement types

Code snippet

Ask the installer to paste an HTML or JavaScript snippet into their site.

A code snippet requirement asks the installer to copy a block of HTML or JavaScript and paste it into their site — typically in the page head, a theme template, or a custom-code area. It's the most common way to load a tag, pixel, or widget.

When to use it

Use a code snippet when your product is activated by markup on the page: a tracking script, an embed, a verification meta tag, or any third-party tag the installer adds to their template.

How to configure it

You author the snippet body in the editor and drop variable placeholders into it with double braces. Variables are substituted per installer when the guide renders, so the installer always sees a copy-paste-ready block with their real values filled in.

<script
  src="https://cdn.acme.com/{{accountId}}/loader.js"
  data-domain="{{domain}}"
  async
></script>

Inboard tailors the surrounding instructions per platform — for example, Appearance → Theme File Editor on WordPress versus the theme code panel on Shopify — while the snippet itself stays the same.

Signing and the public viewer

Snippets are signed with Ed25519, and the signature is shown in the widget so installers can confirm the snippet really came from you and hasn't been altered. A public snippet viewer lets anyone audit exactly what a snippet contains. See Security for how signing, the viewer, and the audit log work.

How it's verified

Snippets are usually verified with an HTTP check — Inboard fetches the installer's page and confirms the expected markup or behavior is present. If the snippet can't be detected by fetching a URL, fall back to self-report (the installer confirms they pasted it) or a custom check on your own server.

On this page