Install the pixel on Webflow
Paste the RAVE™ pixel into your Webflow project's head code and publish, since custom code only runs on the published site.
2 min read · Updated Oct 5, 2026
In Webflow, the RAVE™ pixel goes in your project's custom head code. The one thing to remember: Webflow only runs custom code on the published site, so you must publish after pasting.
Before you start
- Add your Webflow domain as a site in RAVE™. See Add a site.
- Copy the site's snippet: in your RAVE™ workspace, click Sites, open the site, and use the copy button under 1. Install the pixel.
<script async src="https://rave.cxformula.com/pixel.js" data-site="YOUR_SITE_KEY"></script>
Add the pixel
Open Project settings
In Webflow, open your project's Project settings.
Go to Custom code
Open the Custom code tab.
Paste into Head code
Paste your RAVE™ snippet into Head code, keeping any code already there.
Save
Save the changes.
Publish
Publish the site. Custom code only runs on the published domain, not in the Designer.
Check that it works
- In RAVE™, open a live campaign on this site and click Send test event.
- Open your published Webflow site in a new browser window.
- A sample card should appear within about a minute.
- Click Delete test events on the campaign page when you're done.
Troubleshooting
- Nothing shows. Confirm you published after saving, and that you're on the domain you added as a RAVE™ site.
- Staging and live domains. If you test on the webflow.io staging domain and run live on your own domain, the same snippet works on both; add the live domain as your RAVE™ site.
- Cards on the wrong pages. Use the campaign's Pages tab to set Show on and Hide on rules.
Next steps
- Webflow forms: use RAVE™'s auto form capture. In your campaign's Sources tab, add an Auto form capture rule for the page with the form, and submissions are recorded as sign-ups.
- Form webhooks or Ecommerce orders: point Webflow's form or order webhooks, or a Zapier Zap, at your campaign's webhook URL. See How webhooks work.
The original guide is at /docs/webflow.
Related articles
- Install the pixel on ClickFunnelsPaste the RAVE™ pixel into your ClickFunnels 2.0 funnel's head tracking code once, and it runs on every page in that funnel.
- Install the pixel on HighLevel (GoHighLevel)Add the RAVE™ pixel to a HighLevel funnel or website through its head tracking code setting.
- Install the pixel on WordPressAdd the RAVE™ pixel to every WordPress page with a header and footer plugin or your block theme's header.
Can't find it?
Send us a question, a bug or an idea. It goes straight to the RAVE™ team, and you can follow its status.