A/B testing on Framer: how to install and what to test
Framer generates modern, fast sites with clean HTML, which makes A/B testing precise and reliable. Donnu comes in through the site code and tests without exporting or leaving Framer.
Framer ships clean HTML and lets you add custom code in the site settings. Donnu runs there, selects any element precisely in the visual editor and applies the variation without affecting Framer animations. The snippet is under 6KB with anti-flicker, so nothing flickers.
How to install Donnu on Framer
- In the site code. In the Framer project settings (Site Settings, Custom Code), paste the Donnu line in the header code field. Publish to make it live.
- Via Google Tag Manager. If you use GTM on the site, fire Donnu as a Custom HTML tag.
- Publish and confirm. After publishing, use the Donnu checker to confirm the snippet was detected.
What to test on Framer
Hero and headline
Test the main promise and the subtitle. With Framer clean HTML, Donnu selects these elements precisely for version B.
Action button
Test the CTA text and color and where it leads. Easy to build and measure by the click.
Social proof and pricing
Test where testimonials appear and the order of the plans, without touching the design in Framer.
Frequently asked questions
- Do I need to export the Framer site to test?
- No. Donnu runs as header code inside Framer itself. You keep editing and publishing normally through the platform.
- Does the test break Framer animations?
- No. Donnu applies the variation incrementally, without recreating the page, so Framer animations and interactions keep working.
- Does it work on the Framer plan I use?
- The custom code field usually requires a paid Framer site plan. With it enabled, Donnu installs in minutes.