Integration Guides

ClickFunnels

Add Rybbit analytics to your ClickFunnels funnels

ClickFunnels 2.0 has a Header Code field at three levels: Site Settings for the whole workspace, Funnel settings for every page in one funnel, and the page editor for a single page. Add the snippet at the widest level you want tracked and leave the narrower ones empty so it is not loaded twice.

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 ClickFunnels

  1. In your workspace, open the Site & Blog app in the left menu and click Site Settings.
  2. Paste the snippet into Header Code.
  3. Save.

This applies to every page in the workspace: funnel pages, store pages, courses, blog posts and site pages.

  1. Open Funnels and click the Settings gear next to the funnel (or the Settings button in the top-right of the funnel workflow editor).
  2. Paste the snippet into Head Code.
  3. Click Update Funnel.

The code loads on every page of that funnel only.

  1. Open the page in the page editor.
  2. Go to Settings > Tracking Code and paste the snippet into Header Code.
  3. Click Save.

The code loads on this page only.

Save, then open the live page URL to test: header code does not run inside the page editor.

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

  • Duplicate pageviews: the snippet is present at more than one level (site and funnel, or funnel and page). Keep a single copy.
  • Snippet not in the page source: check which level you pasted it at. Site Settings covers the workspace, funnel settings cover that funnel's pages only, and the page editor covers one page.
  • jQuery: ClickFunnels pages already include jQuery, so do not load it again in the same header code block; a second copy can break page scripts.

Next steps

On this page