- Sign in with an Owner or Administrator account, and go to Settings → Advanced → Code injection.
- Paste the Snippet into the Site Footer box.
- Save.
Your line
<script async src="https://cdn.sitepets.com/v1/pet.js" data-key="sp_YOUR_SITE_KEY"></script>
If it doesn’t show up
Ghost doesn’t add a Content-Security-Policy by default. If you or a proxy added one, allow cdn.sitepets.com in script-src and img-src, and cdn.sitepets.com and b.sitepets.com in connect-src.
Once it’s live, Claim your Pet from the browser you copied the Snippet in.