# Framer
Source: https://docs.audyr.com/embed/framer
Add the Audyr widget to your Framer site.
## Site-wide (recommended)
Adding the script to your site settings loads the widget on every page.
In the Framer editor, click the **Framer** icon in the top-left corner and select **Site Settings**.
Navigate to the **General** tab and scroll down to the **Custom Code** section.
Paste the script into the **End of `` tag** field.
```html theme={null}
```
Click **Publish** to push your changes live.
## Single page only
To show the widget on one page instead of the whole site:
1. Select the page in the left panel.
2. Open **Page Settings** (click the gear icon next to the page name).
3. Scroll to **Custom Code** and paste the script into the **End of `
`** field.
4. Publish your site.
# HTML
Source: https://docs.audyr.com/embed/html
Add the Audyr widget to static sites and HTML pages.
## Standard HTML
Add the script before the closing `` tag. To show the widget on every page, add it to your shared layout or template file.
```html title="index.html" theme={null}
My Site
```
## Webflow
1. Open your Webflow project and go to **Project Settings → Custom Code**.
2. Paste the script into the **Footer code** field.
3. Click **Save Changes** and republish your site.
```html title="Webflow — footer code" theme={null}
```
To show the widget on a single page only, use **Page Settings → Custom Code** instead of the site-wide footer.
## Squarespace
1. Go to **Settings → Advanced → Code Injection**.
2. Paste the script into the **Footer** field.
3. Click **Save**.
## Wix
1. In the Wix Editor, go to **Settings → Custom Code**.
2. Click **Add Custom Code** and paste the script.
3. Set placement to **Body — End** and apply it to **All Pages**.
4. Click **Apply**.
# Embed the widget
Source: https://docs.audyr.com/embed/overview
Add the Audyr widget to your website with a single script tag.
The Audyr widget loads asynchronously — it won't affect your page speed or rendering.
## Quick install
Paste this snippet before the closing `` tag on every page where you want the widget to appear:
```html theme={null}
```
That's it. No build step, no package to install.
## Your token
The `data-token` attribute identifies your Audyr workspace. You can find your token in your [Audyr dashboard](https://app.audyr.com).
## Choose your environment
Static sites and any page with direct HTML access — including Webflow, Squarespace, and Wix.
Vite, Create React App, Next.js App Router, and Next.js Pages Router.
Vue 3 applications and Nuxt 3 projects.
WordPress themes, child themes, and WooCommerce sites.
Framer sites via Site Settings or per-page custom code.
Shopify stores via the theme editor or theme.liquid.
# React / Next.js
Source: https://docs.audyr.com/embed/react
Add the Audyr widget to React and Next.js applications.
## React (Vite or Create React App)
Add the script to your `index.html` file. This loads the widget on every page of your app.
```html title="index.html (Vite)" theme={null}
```
```html title="public/index.html (Create React App)" theme={null}
```
## Next.js — App Router
Use the `next/script` component in your root layout. The `afterInteractive` strategy loads the widget once the page is interactive, so it won't block rendering.
```tsx title="app/layout.tsx" theme={null}
import Script from 'next/script'
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
{children}
)
}
```
## Next.js — Pages Router
Add the widget to `_app.tsx` using `next/script`. It will render on every page.
```tsx title="pages/_app.tsx" theme={null}
import Script from 'next/script'
import type { AppProps } from 'next/app'
export default function App({ Component, pageProps }: AppProps) {
return (
<>
>
)
}
```
Always use `next/script` rather than a plain `
```
Click **Save**. The widget will appear on your storefront immediately.
## theme.liquid (all pages)
To load the widget across your entire store, edit your theme's `theme.liquid` file directly.
In your Shopify admin, go to **Online Store → Themes**. Click the **three-dot menu** next to your active theme and select **Edit code**.
Under the **Layout** folder, click **theme.liquid**.
Find the closing `