Framework Support
Works with React, Vue, Next.js, WordPress, and any site that can load a script tag.
- Next.js / React — add the script in your root layout, put
data-sfon any button, and callwindow.SupaFeedback.identify()after the user signs in. - Vue — load the script in
index.htmland bind the attribute on your trigger. - WordPress / HTML — paste the snippet before
</body>.