Skip to content
SaaSFunnelsHelp

Get started

Add the install code

Copy your snippet, tell SaaSFunnels which sites it runs on, paste it into your site or app, and check that it's working.

Where to find itSettingsInstall code

On this page

The install code is one snippet that lets Funnels appear on your pages. You add it once. After that you publish and change Funnels without touching your site again.

You don't need a developer for your website: paste the snippet yourself, or send it to whoever edits your site. Funnels inside your app also need a small server route, which a developer or an AI coding tool adds once.

Create your snippet

  1. Open Finish setup and go to Add the snippet. You can also open Settings → Install code.
  2. Enter your Website address, your App address, or both. The main address covers www too.
  3. Answer Does your site ask visitors to accept cookies? Choose Yes if your site shows a cookie banner. Funnels then show to a visitor only after they accept cookies.
  4. Select Create my snippet.

Paste it into your site

  1. Open Settings → Install code, or stay on the Add the snippet step.
  2. Select Copy in the snippet's corner.
  3. Paste it before </head> on every page where Funnels can show, then publish your site.
Settings open on Install code, with the snippet and its Copy button outlined.
Settings, Install code.
  1. Install code
  2. Copy

If someone else edits your site, select Send to my developer to email them the snippet and the steps.

Install with your coding agent

On the website path, select Copy AI install prompt and paste it into your AI coding tool. The prompt tells the tool where the snippet goes and how to handle cookie consent.

In Settings → Install code, open the ⋯ menu and choose Set up with an agent to get a prompt for Codex, Cursor or Claude Code. Your keys are never added to the prompt.

Show Funnels to signed-in app users

If Funnels show inside your app, SaaSFunnels needs to know who is signed in. This step adds a small route on your server.

  1. In Show Funnels to your app users, copy the Server key. It's shown once.
  2. Pick your framework (Next.js or Express) and give the route to your developer. It lives at /api/saasfunnels.
  3. Deploy, then sign in to your app in another tab and select Check now.

The step is done when it says We see your app users. For the details, see Install code reference.

Check that it's working

  1. Open a page with the snippet in your browser.
  2. In Settings → Install code, check the status.

When SaaSFunnels sees the snippet, the check shows Connected and the last page it was seen on.

The install check in Settings → Install code, with the site's status and last page outlined.
The install check.
  1. Status
You seeWhat to do
Waiting for your siteOpen a page with the snippet in your browser, then select Check again.
We saw your snippet on a site which isn't on your listSelect Add it, then Save sites.
We can't find your siteThe address doesn't open a website. Select Change address and fix the spelling.
Your site doesn't have the snippet yetPaste the snippet before </head> and publish your site.
Your site has a different snippetSelect Copy on the snippet and replace the one on your site, or choose Keep the one on my site.

If you see Waiting for your site for a while, check that the page's address is on your list of sites. Funnels only run on the sites you added. Subdomains other than www and addresses with a port need their own entry.

Add or change sites

  1. In Settings → Install code, select Change next to Works on.
  2. Select Add a site and enter the address, for example yoursite.com.
  3. Select Save sites.

What's next

Connect Stripe so Funnels can use your plans and prices.