# Add a review widget to any website

The widget is one `<script>` tag, so it works anywhere you can add HTML.

## Plain HTML

1. Click **Copy code** next to your widget.
2. Open the page's HTML and paste the code **inside the `<body>`**, exactly where the reviews should appear.
3. Save and upload or publish the page.

```html
<section>
  <h2>What our customers say</h2>
  <script src="https://cdn.example.com/widget.v1.js" data-widget-id="wgt_abc123" data-layout="carousel" async></script>
</section>
```

## Website builders

Look for an element called **HTML**, **Embed**, **Custom code** or **Code block**, add it where the reviews should go and paste the code. This works in Framer, Ghost, Zoho Sites, Hostinger, GoDaddy and most other builders.

## Apps built with JavaScript frameworks

In React, Next.js, Vue and similar frameworks, create the script element after the page mounts inside a container element, rather than pasting the tag into JSX. The widget appears where the script is placed.

## Passing it to a developer

Send your developer the code and the page where it should appear. It needs nothing else: no API keys, no plugins and no setup.

## Checklist

- The code is in the **body**, not the `<head>` and not inside an HTML comment.
- The page is **published**; some builders only run scripts on the live site.
- The line is complete, ending with `</script>`.

Source: https://docs.reviewpine.com/install/any-website
