Install

One line. Any site.

Heard is a single script. Pick your stack, copy the code, paste it once. The mascot appears in the corner and notes start landing in your inbox.

index.html
  <!-- Heard: voice feedback -->
  <script src="https://heard.example/w.js" data-key="pk_your_key" async></script>
</body>

Paste it just before the closing body tag of every page.

Heard on HTML

Paste it just before the closing body tag of every page.

index.html

  <!-- Heard: voice feedback -->
  <script src="https://heard.example/w.js" data-key="pk_your_key" async></script>
</body>

Heard on Next.js

Add it once to the root layout. It loads after the page is interactive.

app/layout.tsx

import Script from "next/script";

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script
          src="https://heard.example/w.js"
          data-key="pk_your_key"
          strategy="afterInteractive"
        />
      </body>
    </html>
  );
}

Heard on React

Render <Heard /> once, near the root of your app (Vite, CRA, Remix).

src/Heard.tsx

import { useEffect } from "react";

export function Heard({ user }: { user?: string }) {
  useEffect(() => {
    const s = document.createElement("script");
    s.src = "https://heard.example/w.js";
    s.async = true;
    s.dataset.key = "pk_your_key";
    if (user) s.dataset.user = user;
    document.body.appendChild(s);
    return () => s.remove();
  }, [user]);
  return null;
}

Heard on Vue

Load it once from your root component. Works the same in Nuxt (app.vue).

src/App.vue

<script setup>
import { onMounted } from "vue";

onMounted(() => {
  const s = document.createElement("script");
  s.src = "https://heard.example/w.js";
  s.async = true;
  s.dataset.key = "pk_your_key";
  document.body.appendChild(s);
});
</script>

Heard on WordPress

Add to your theme's functions.php, or paste the script tag into any “header and footer scripts” plugin.

functions.php

add_action('wp_footer', function () {
  echo '<script src="https://heard.example/w.js" data-key="pk_your_key" async></script>';
});

Heard on Webflow

Paste into Footer code, save, then publish the site.

Site settings → Custom code → Footer code

<script src="https://heard.example/w.js" data-key="pk_your_key" async></script>

Heard on Shopify

Online Store → Themes → Edit code → layout/theme.liquid, just before the closing body tag.

theme.liquid

  {% comment %} Heard: voice feedback {% endcomment %}
  <script src="https://heard.example/w.js" data-key="pk_your_key" async></script>
</body>

Heard on Framer

Paste into “End of <body> tag”, then publish.

Site settings → General → Custom code → End of body

<script src="https://heard.example/w.js" data-key="pk_your_key" async></script>

Heard on iframe

For builders that block scripts (Notion sites, some no-code tools). The widget sits open in the frame instead of floating.

anywhere HTML is allowed

<iframe
  src="https://heard.example/embed?key=pk_your_key"
  allow="microphone"
  title="Voice feedback"
  style="border:0;width:400px;height:560px"
></iframe>

Options

Five attributes. That’s the API.

From JavaScript: Heard.open(), Heard.close(), Heard.identify(id). The page gets a heard:sent event after every note.

data-key
required
Your inbox's public key. Safe to ship in HTML.
data-user
optional
An ID or email for the signed-in user. Shows on every note they leave.
data-theme
optional
light (default), dark, or auto to follow the visitor's system.
data-open
optional
true opens the widget as soon as the page loads.
data-inline
optional
A CSS selector. The widget renders open inside that element instead of floating.