Pendling is one line of code. It loads after your page (it's async), so it never slows it down.
Your line
<script src="https://app.pendling.app/v1/pendling.js" async data-site="YOUR-SITE-KEY"></script>Your own line, with your site key in it, is in the dashboard under Install (and in the install step of setting up a site). Copy it from there rather than from this page.
Webflow
- Site settings → Custom code.
- Paste the line into Footer code.
- Save, then Publish the site.
Wix
- Settings → Custom code → + Add custom code.
- Paste the line, choose All pages and Body – end.
- Press Apply.
Squarespace
- Settings → Advanced → Code injection.
- Paste the line into Footer.
- Save.
React, Next.js, Vue and other single-page apps
Add the line to your page template (for example index.html, or your root layout). Pendling notices when your app changes page without a reload, so page targeting keeps working.
Any other website
- Open your site's main template: the part every page shares.
- Paste the line just before the closing
</body>tag. - Publish or upload it as usual.
Content Security Policy? If your site sends one, allow https://app.pendling.app in script-src, connect-src and img-src.