Integration Guides

Weebly

Add Rybbit analytics to your Weebly site

Weebly (now part of Square) has site-wide Header Code and Footer Code fields under its SEO settings. Header code is printed into the <head> of every page, so the snippet goes there and no theme edits are needed.

Get your tracking snippet

In your Rybbit dashboard, open Site Settings → Tracking Script and copy your snippet. It looks like this:

<script src="https://app.rybbit.io/api/script.js?siteId=YOUR_SITE_ID" defer></script>

YOUR_SITE_ID is the numeric ID of your site. If you self-host Rybbit, app.rybbit.io is the domain of your own instance.

Add the snippet to Weebly

  1. Open your site in the Weebly editor and go to Settings > SEO.
  2. Paste the snippet into Header Code and click Save.
  3. Click Publish. Header code changes only reach the live site after you publish.

If your editor has no Settings tab, the same header-code option is under Website > General Settings in the Square dashboard.

Site-level header code covers every page, including blog posts. Each page also has its own Header Code box in its page settings; that one is for page-specific code and is not needed for the snippet.

Verify installation

Open your live site in a new tab and click through a few pages. Within a few seconds the pageviews appear in the Rybbit dashboard.

If nothing shows up:

  • View the page source and search for script.js?siteId= to confirm the snippet is on the page.
  • Open the browser Network tab and check that script.js returns 200 and that POST requests go to /api/track.
  • Disable ad blockers, or set up a proxy so the script loads from your own domain.
  • See the script troubleshooting guide for other common causes.

Troubleshooting

  • Snippet saved but not in the page source: the site was not republished. Click Publish after every change to header code.
  • Snippet appears twice: it was added both site-wide and on individual pages. Keep only the site-level entry under Settings > SEO.
  • Footer Code instead of Header Code: both fields are included on every page, so the snippet works from either, but the footer loads later and misses visitors who leave early.

Next steps

On this page