Add feedback collection without a lengthy development project

Paste the snippet, go live, start collecting.

How do you add MonkFeed to your site?

To add MonkFeed, place a stylesheet link, a root element and one script tag with your project ID on your page. For verified customer identity, add a small server route that signs a token. The dashboard has guides for Next.js, React, Vue, Angular, Svelte, WordPress and Shopify.

What is the snippet?

<link rel="stylesheet" href="https://www.monkfeed.com/widget.css" />
<div id="feedback-widget-root"></div>
<script src="https://www.monkfeed.com/feedback-widget.js" data-tenant-id="YOUR_PROJECT_ID"></script>

How do you install it in each framework?

  1. HTML or static sites: paste the snippet into your template.
  2. Next.js: load the script from your layout and add the root element.
  3. React, Vue, Angular, Svelte: use the guide in Dashboard > Connect > Setup.
  4. WordPress and Shopify: use the platform guide. Shopify identity is unverified because there is no server code you control.

What about single-page apps and logged-in users?

Call Monkfeed('update', settings) when the signed-in user changes and Monkfeed('shutdown') when they sign out. Pass user_id, email and, for verified identity, a user_jwt signed on your server.

Frequently asked questions

Is a single script enough?

For anonymous use, you need a stylesheet link, a root element and one script tag. That is a few lines, not an SDK. For verified customer identity you also add a small route on your server that signs a token, because anyone could claim an identity without it.

Does MonkFeed work with React and Next.js?

Yes. Add the root element and load the script from your layout or an effect. The dashboard has full guides for Next.js and React, plus Vue, Angular, Svelte, WordPress and Shopify, each with steps and a prompt for your coding assistant with your project ID filled in.

Last updated