It's one line of code — this exact line, already personalised to your business:
…
We'll email it from support@daveonduty.co.uk, with replies going to you. Nothing opens on your device.
💬 Guided install — I'll walk you through it
Not sure where the snippet goes? Tell me where your website is built and I'll give you the exact click-by-click steps, with your personalised line ready to paste.
Or follow the written steps for your platform
Log in to your WordPress admin (usually yoursite.com/wp-admin).
Go to Plugins → Add New, search for “WPCode” (free), click Install then Activate. (Any header/footer-scripts plugin works; WPCode is the most common.)
In the left menu: Code Snippets → Header & Footer.
Paste your one-line snippet (copy it above) into the Footer box.
Click Save Changes. Open your website — the chat bubble is live. ✅
Using a theme with a “custom code” option (Astra, Divi, Elementor Pro)? You can paste it there instead — anywhere that lands before </body>.
Open your Wix dashboard → Settings.
Scroll to Advanced → Custom Code.
Click + Add Custom Code (top right).
Paste your snippet, name it “Dave”, and under Add Code to Pages choose All pages.
Set Place Code in to Body – end, then Apply. Done. ✅
Note: Custom Code needs a paid Wix plan with a connected domain (Wix's rule, not ours).
In your Squarespace dashboard: Settings → Developer Tools → Code Injection(older menus: Settings → Advanced → Code Injection).
Paste your snippet into the Footer box.
Click Save. Refresh your site — bubble's there. ✅
Code Injection needs a Business plan or higher (Squarespace's rule).
Shopify admin → Online Store → Themes.
On your current theme click ⋯ → Edit code.
Open layout/theme.liquid.
Scroll to the bottom and paste your snippet on its own line just above </body>.
Save. Visit your shop — Dave's on duty. ✅
Next.js works best with its built-in next/script component — it's one line and avoids the lint warning a raw <script> tag causes. Pick the setup that matches your project:
App Router — you have an app/ folder with layout.tsx (or layout.js). Here's a complete layout.tsx with Dave already in place — the two highlighted lines are all you add: the import at the top, and the <Script> right after {children}.
import type { Metadata } from "next";
import Script from "next/script";
export const metadata: Metadata = {
title: "Your site title",
description: "Your site description",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>
{children}
<Script src="SCRIPT_SRC" data-tenant="TENANT_ID" strategy="afterInteractive" />
</body>
</html>
);
}
Pages Router — you have a pages/ folder (no app/layout). Add the same to pages/_app.js (or .tsx):
No _app.js yet? Create pages/_app.js with exactly the code above.
Commit and push — Vercel redeploys automatically (~1 min). Open your site: the bubble's live. ✅
Plain HTML on Vercel (no Next.js)? Use the one-liner from the Plain HTML tab. Vite / Astro / SvelteKit: paste that one-liner into index.html before </body>.
Open your site's HTML file(s) — usually index.html.
Find the closing </body> tag near the bottom.
Paste your snippet on the line just above it, on every page where you want the chat.
Save / upload. Done. ✅
Every website builder has a “custom code”, “code injection” or “tracking scripts” setting — our snippet goes wherever Google Analytics would go (end of the body). Common ones: GoDaddy → Settings → Site-wide code; Webflow → Site settings → Custom code → Footer; Framer → Site settings → Custom code → End of body.
Can't find it? Two easy outs:
Use “✉️ Email this to my web person” above — we send the snippet + steps straight to them.
Or hit “Request free installation” below — our team installs it for you, free, usually same day.
Vite / plain React / Astro / SvelteKit: paste the one-liner into index.html (or app.html) before </body>. The assistant needs nothing from your hosting — no server code, no environment variables, no cookies.
Prefer we set it up for you? It's free — and you stay in control. 🤝
A member of our team adds Dave to your site for you, usually the same day — safely, without ever seeing your password or card:
Request it below — just tell us which platform your site is on.
Invite us as a limited collaborator — the lowest role that can add code, never a full admin or owner. You invite support@daveonduty.co.uk, and we'll send you the exact click-by-click for your platform.
We add the single line before </body> — and nothing else on your site.
You remove our access the moment it's done. Dave's live, and we're gone.
We only ever touch that one line. No passwords, no card details, no lingering access — ever.
or email us at support@daveonduty.co.uk
Try before you install
Your bot already works — talk to it on our test page, exactly as your visitors would: open test page →
📋 Privacy wording for your website
Under GDPR your own privacy policy should mention the chat assistant. Paste this ready-made paragraph in — done:
Website chat assistant. Our website uses a chat assistant operated by Dave on Duty to answer questions and take bookings. Messages you type, and contact details you choose to share in the chat, are processed to provide those services and are delivered to us. Messages are processed with the help of an AI service (Anthropic Claude) that does not use them for training. A session identifier is stored in your browser so the assistant remembers your conversation. Full details: www.daveonduty.com/privacy.html. To access or delete your chat data, contact us.