How to add a visitor counter to Webflow

Webflow has a site-wide custom code setting made exactly for this. You need a paid site plan for it to appear on your published site.

Add the code

Open your project, go to Site settings, then Custom code. Paste your BYOViral tracking code (in the dashboard, open Websites, choose your site and press Edit; the code is at the bottom of the page) into Head code and press Save.

Publish

Custom code only goes live when you publish. Press Publish and choose your domain.

Plan

Site-wide custom code needs a paid Webflow site plan. On the free staging address, check Webflow's current plan details.

Check that it works

Open the published site in a private window and look at the Realtime report in BYOViral.

Frequently asked questions

Does it count CMS collection pages?

Yes. Head code loads on every page of the site, CMS templates included.

Can I add it to one page only?

Yes, through that page's settings, in the custom code section, but site-wide is usually what you want.

Will Webflow interactions be slowed?

No. The script loads asynchronously and does almost nothing in the browser.

Try BYOViral free

Privacy-first analytics with no cookies and a real free tier.

Create your free account →