Skip to main content
Squid ID runs from a single script tag. It loads the SDK by your SDK key and starts identifying visitors on the next page view. Install it once, site-wide, in the <head>.

The snippet

Replace YOUR_SDK_KEY with the SDK key for your website, shown when you create a website and under Settings → Website.
<script>
  ;(function (squid) {
    window.$quid || (window.$quid = {})
    document.head.appendChild(
      (function (s) {
        s.src = 'https://app.asksquid.ai/tfs/' + squid + '/sdk'
        s.async = 1
        return s
      })(document.createElement('script')),
    )
  })('YOUR_SDK_KEY')
</script>
The script is async and loads from app.asksquid.ai. It does not block page rendering. One snippet covers your whole site when it’s placed in a shared header or template.

Pick your platform

Each guide covers exactly where the snippet goes on that platform. If yours is not listed, use the Plain HTML steps, since the snippet works anywhere you can edit the page head.

Plain HTML

Google Tag Manager

WordPress

Webflow

Framer

HubSpot CMS

Shopify

Squarespace

Wix

Ghost

Segment

React / Next.js

More platforms

Any platform with a custom head or code-injection setting works the same way: paste the snippet into the head and it covers every page. Common places to find it:
PlatformWhere to add it
DudaSettings, then Head HTML
DrupalTheme head template, or a code-injection module
JoomlaTemplate head, or a head-scripts plugin
UnbouncePage Javascripts, placement Head
InstapagePage settings, HTML/CSS, Head
CarrdSettings, Code, Head
BubbleSettings, SEO/metatags, script in the header
Gatsby, Astro, Vue, NuxtAdd the script to the document head

After you install

Once the snippet is live and your site gets a page view, the dashboard connection status flips to Live and pinging. Go to Verify your install.