React+Feedinbox

Feedinbox for React apps

Add one script, then fire a high_intent event from your pricing code. Works with Vite, CRA, Remix, and any React setup.

Add to your site

Copy and paste. That's the entire setup.

Your code
<!-- public/index.html, before </body> -->
<script>window.feedinbox=window.feedinbox||function(){(window.feedinbox.q=window.feedinbox.q||[]).push(arguments)}</script>
<script async src="https://feedinbox.com/widget.js" data-project-key="your_project_key"></script>

<!-- Then, from your pricing component's event handlers (never on page load): -->
<!--   on modal open:       window.feedinbox('event', 'high_intent', { plan: 'pro' }) -->
<!--   on purchase success: window.feedinbox('event', 'converted') -->

Step-by-step setup

1

Add the scripts

Paste the stub and widget script into public/index.html before </body>

2

Fire high_intent

Call it when your pricing modal opens

window.feedinbox('event', 'high_intent', { plan: 'pro' })
3

Fire converted

Call it on purchase success

window.feedinbox('event', 'converted')

Why developers choose Feedinbox

Know why they don't buy

An exit-intent question catches abandoning visitors and asks why

Feedback included

A feedback widget for bugs and ideas, on the same script

Inbox-first

A weekly Why-Not-Buy summary plus instant feedback emails

Lightweight & free to start

Tiny script, 2-minute setup, no credit card

Add Feedinbox to your React app

Find out why visitors don't buy and collect feedback. Free tier available, setup takes minutes.

No credit card required • Free tier available