Skip to content
Docs: Install

Install

Add one script tag to your site and the mascot appears in the corner of every page.

Your script tag

Every site has its own tag. Copy yours from your site in the dashboard: it carries your site key in place of hs_….

HTML
<script src="https://hellosprite.fennec.world/w.js" data-key="hs_…" async></script>

The site key is public: it sits in your page's HTML for anyone to read. What keeps it yours is the list of allowed domains.

Where to paste it

Paste the tag into the HTML of every page, just before the closing </body> tag. If your site has a shared footer or layout, paste it there once and every page gets it. The tag loads with async, so it never holds up your page.

On common platforms

Next.js

Add the tag once to your root layout, so every route includes it.

WordPress

Use your theme's setting for code in the footer, or a plugin that adds code before </body> on every page.

Shopify

Edit your theme's code and paste the tag before </body> in its main layout file.

Webflow

Paste the tag into the footer code of your site's custom code settings, then publish the site.

Check that it works

Open your site in a private window. The mascot appears in the corner after a moment. If it doesn't:

Stuck? Ask the mascot in the corner of this page. It can pass your question to a person.