PepoChat

Free tool

Chat widget embed code generator

Generate the PepoChat install snippet for HTML, JavaScript, React, Next.js or Google Tag Manager with your Organization ID, corner and preload setting.

32 characters, from Widget Setup in the dashboard. Leave empty to get a template.

index.html
<!-- Paste before the closing </body> tag -->
<script
  src="https://widget.pepochat.com/widget.js"
  data-organization-id="YOUR_ORGANIZATION_ID"
></script>

On WordPress, install the official plugin instead and paste the ID in Settings; see the WordPress guide. The attributes and the window.EchoWidget methods are documented in Widget behavior and API.

How this tool works

The snippets are the ones the dashboard generates on its Widget Setup page, documented in Install the widget. The loader reads data-organization-id, data-position and data-preload from its own script tag, draws the launcher, and loads the chat in an isolated frame.

Google Tag Manager strips data attributes from Custom HTML tags, which is why the GTM variant sets them in code; the step-by-step is in installing a chat widget with Google Tag Manager. Nothing you type here leaves the page.

Questions about this tool

What code does the generator give me?
The PepoChat install snippet for plain HTML, JavaScript, React, Next.js or Google Tag Manager, with your Organization ID, the corner the launcher sits in and the preload setting. They are the snippets the dashboard shows on its Widget Setup page.
Where do I find my Organization ID?
On the Widget Setup page of your PepoChat dashboard.
Why is the Google Tag Manager snippet different?
Google Tag Manager strips data attributes from Custom HTML tags, so that variant sets them in code.
Is anything I type sent to a server?
No. The generator runs in your browser and nothing you type leaves the page.

Want this AI agent answering customers on your website?

PepoChat answers from your own content, checks orders and subscriptions, books meetings and hands off to your team. Every chat feature is on the free plan.

Try PepoChat free

More free tools