Skip to content

Integrations

Works wherever your website does.

If you can paste a script tag, you can run Peeredly. Here’s how on the most popular platforms. Custom integrations with your own systems are part of Enterprise.

WordPress

  1. 1In WordPress, go to Appearance → Theme File Editor, or use a header/footer plugin such as WPCode.
  2. 2Paste your Peeredly snippet into the footer section (before </body>).
  3. 3Save. The messenger appears on every page.

Shopify

  1. 1In Shopify admin, open Online Store → Themes → … → Edit code.
  2. 2Open layout/theme.liquid and paste the snippet just before </body>.
  3. 3Save, then add your store’s domain under Settings → Security in Peeredly.

Webflow

  1. 1Open Site settings → Custom code.
  2. 2Paste the snippet into Footer code and save.
  3. 3Publish your site.

Wix & Squarespace

  1. 1Wix: Settings → Custom code → Add custom code, place it in Body – end, apply to all pages.
  2. 2Squarespace: Settings → Advanced → Code injection → Footer.
  3. 3Save and publish.

Google Tag Manager

  1. 1Create a new tag of type Custom HTML and paste the snippet.
  2. 2Trigger it on All Pages (Initialization or Page View).
  3. 3Submit and publish the container.

React & Next.js

  1. 1Next.js: add the snippet with next/script (strategy "afterInteractive") in your root layout.
  2. 2React: inject it once in index.html, or in a top-level effect.
  3. 3Route changes are tracked automatically; call ChatWidget('identify', …) after sign-in.

Next.js example

Drop this into app/layout.tsx. For identify, verification and events, see the developer docs.

import Script from 'next/script';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script id="peeredly-settings" strategy="afterInteractive">{`
          window.ChatWidgetSettings = { widget_key: "YOUR_WIDGET_KEY" };
          window.ChatWidget = window.ChatWidget || function () { (window.ChatWidget.q = window.ChatWidget.q || []).push(arguments); };
        `}</Script>
        <Script src="https://www.peeredly.com/widget.js" strategy="afterInteractive" />
      </body>
    </html>
  );
}

Need it connected to your stack?

Enterprise plans include custom integrations with your CRM, data warehouse or internal tools, built with our team.

Talk to sales

Your next customer is on your site right now.

Start a 14-day free trial of Pro. No card needed, and you keep a Free plan afterwards.

Start your free trial