SmartWidget UK
Written by Founder, DadLink Technologies Limited Reviewed for Static and custom code
SvelteKit · Trusted by UK Businesses

How to add an AI chat widget to SvelteKit — step by step.

For UK SvelteKit sites, this is the AI chat widget that does not require an engineer. Paste your site URL into SmartWidget — the AI reads it. Review the auto-generated answers. Paste the embed snippet into src/app.html before closing body tag. Live in five minutes. £19/mo.

Install location: src/app.html before closing body tag Five-minute setup No engineer required UK GDPR compliant
Built in the UK
GDPR compliant by design
200,000 SvelteKit sites worldwide
4.9/5 average rating
Made by DadLink Technologies

What is an AI chat widget for SvelteKit?

SmartWidget is an AI chat widget for SvelteKit sites. It installs via a single line of JavaScript pasted into src/app.html before closing body tag, reads your existing SvelteKit site automatically to build its knowledge base, and answers visitor questions in under eight seconds. No plugin to install on SvelteKit, no theme modification beyond pasting the snippet, no engineer required. The widget is configured per business — your services, your prices, your tone of voice — all learned from your site during setup. From £19 a month.

Install steps for SvelteKit

The full install end-to-end. Five steps, about five minutes from signup to the first answered visitor.

  1. Sign up at smartwidget.co.uk. Enter your SvelteKit site URL. The AI reads your site and builds your knowledge base in about sixty seconds.
  2. Review the generated knowledge base. Check the question-and-answer pairs the AI has built. Edit or override anything that needs refining.
  3. Copy your install snippet. The SmartWidget dashboard shows a single script tag with your unique widget key.
  4. Paste the snippet into your SvelteKit site. Navigate to src/app.html before closing body tag. Paste the snippet there and save. The widget is live the moment the page saves.

Where to paste the snippet — screenshots

The exact panel and field to paste the snippet on every supported platform. SvelteKit is highlighted first.

SmartWidget setup dashboard showing AI knowledge base configuration for a SvelteKit site

The dashboard you'll use on SvelteKit

This dashboard is where the AI receptionist on your SvelteKit site gets its personality. Beyond the knowledge base, the dashboard exposes tone-of-voice controls (formal, conversational, transactional), language settings, escalation triggers, integration with your SvelteKit calendar and email, and the visible widget appearance (colours, position, welcome message). The same dashboard scales from a single SvelteKit site to dozens — agencies running multiple client SvelteKit sites use it daily.

Why an AI chat widget matters on SvelteKit sites

SvelteKit sites converted around 1 to 2 percent of visitors in the contact-form era. The benchmark in the AI chat widget era is closer to 3 to 5 percent. The difference is captured by the widget — visitors arriving at 9pm, on a phone, with a specific question, who would have left without engaging. SmartWidget reads your SvelteKit site and goes live in five minutes from src/app.html before closing body tag.

Manage every SvelteKit conversation in one inbox

This is the inbox you'll use to manage every visitor conversation from your SvelteKit site. The AI handles most conversations end-to-end without human involvement, but the ones that matter — high-value enquiries, complex questions, urgent issues — are flagged for your attention. SMS alerts ping your mobile the moment a qualified lead lands. The inbox shows every conversation with full transcript, visitor metadata, and a single-click handover button.

SmartWidget messaging inbox showing live conversations from a SvelteKit site with single-click human takeover

Frequently asked questions

How does GDPR work with the SmartWidget install on SvelteKit?

SmartWidget is UK GDPR compliant by design. Conversation transcripts are encrypted at rest in UK-based data centres. The widget includes a configurable consent notice that integrates with most SvelteKit cookie banner solutions, and the dashboard exposes the controls needed for data-subject access and deletion requests.

Can I customise the widget colours and position on SvelteKit?

Yes. The widget appearance is fully customisable from the SmartWidget dashboard — primary colour, accent colour, chat bubble position (bottom-left, bottom-right), avatar, welcome message, and trigger behaviour. The customisation is centralised, so changing it once updates the widget on your SvelteKit site immediately.

How do I uninstall the widget from SvelteKit if I need to?

Remove the single line of JavaScript from src/app.html before closing body tag and save. The widget disappears immediately. There is nothing else to uninstall from SvelteKit — no database tables, no orphaned files, no leftover configuration.

Can I run SmartWidget on multiple SvelteKit sites with one account?

Yes. Multi-site is built in from the Growth tier. One SmartWidget subscription can run widgets across multiple SvelteKit sites, each with its own AI personality, knowledge base and unified inbox. Particularly useful for agencies running client SvelteKit sites or operators with multiple brand sites.

Does the widget work on SvelteKit mobile sites?

Yes. The widget is responsive by default and works on every SvelteKit mobile breakpoint. The chat bubble sits in the bottom corner on every screen size and the chat interface adapts to mobile-optimised layout when a visitor opens it on a phone.

Can the widget book appointments directly from a SvelteKit site?

Yes. The widget integrates with Google Calendar, Outlook (Microsoft Graph), and the built-in SmartWidget scheduler. Visitors browsing your SvelteKit site can be offered specific appointment slots and book directly inside the chat. The event writes back to your calendar with the conversation transcript attached.

What happens if my SvelteKit site doesn't allow custom JavaScript at all?

A small number of SvelteKit entry-level tiers restrict custom code. In that case, upgrading to a tier that allows custom JavaScript is the only path. If SvelteKit does not allow custom code on any tier, SmartWidget cannot be installed — but this is rare. Almost every modern SvelteKit Business or Pro plan supports it.

Is there a contract or commitment for SmartWidget on SvelteKit?

No. SmartWidget operates on monthly billing with no contract and no minimum commitment. Cancel any time directly from the dashboard with no notice period and no exit fee. The lowest tier is £19 per month, billed monthly, so the maximum risk on the decision is a single month's spend.

What support is available for the SvelteKit install?

Live chat support inside the SmartWidget dashboard answers within minutes. The dashboard also contains a step-by-step SvelteKit-specific install guide with screenshots and the exact menu paths. If the install does not work, support will remote into a screenshare and complete it with you.

How does SmartWidget handle GDPR cookie consent on SvelteKit?

The widget includes a configurable consent notice that integrates with the major UK cookie banner solutions including OneTrust, Cookiebot, CookieYes, Iubenda, and the platform-native banners on SvelteKit where available. Consent state is respected — the widget does not initialise until consent has been granted on visitors in scope of UK GDPR.

Can SmartWidget read content behind a login on SvelteKit?

The AI knowledge base is built from publicly accessible pages on your SvelteKit site. Content gated behind login is not included automatically. If your SvelteKit site has paid-content or member-only sections, the AI's knowledge will reflect only the public pages — which is typically what you want for visitor chat anyway.

What languages does the SmartWidget AI support on SvelteKit?

English, French, German, Spanish, Italian, Dutch and Portuguese are supported on the Growth tier and above. The widget detects the visitor's language from their first message and replies in the same language for the rest of the conversation. Particularly valuable for SvelteKit sites serving overseas customers or operating in tourism-driven markets.

How does the widget handle visitors I want to filter out on SvelteKit?

The dashboard exposes filtering rules. You can block visitors by IP range, exclude conversation triggers on specific URLs of your SvelteKit site, restrict the widget to certain pages only, and configure honeypot-style anti-spam rules. The defaults are sensible for most SvelteKit businesses; the controls are there if you need them.

What happens to my visitor data if I cancel the SmartWidget subscription?

Conversation transcripts and visitor contact data are retained for 30 days after cancellation, then deleted permanently. Within that 30-day window you can export the full transcript archive and the contact database as CSV from the dashboard. The widget snippet on your SvelteKit site stops loading immediately on cancellation.

Trusted by UK businesses on every major platform

4.9 out of 5 from 199 reviews. A selection of install-experience reviews from real UK businesses.

I work mainly in Webflow and I have tested every chat widget on the market for client sites. SmartWidget is the only one that does not introduce CLS issues. Clean install, perfect Lighthouse score.
Helena MarsdenDesigner · Marsden Studio
100/100 Lighthouse
My Shopify theme is custom and locked down. SmartWidget installs via theme.liquid before the body close — exactly where every other tracking pixel goes. Zero conflicts with my checkout.
Tom ReevesOwner · Reeves Kitchens
Zero Shopify conflicts
I am the worst kind of non-technical user — I built my Squarespace site myself and was scared of the code injection field. The widget walkthrough showed me exactly which menu to open. I am live and capturing bookings.
Lauren HartleySalon Owner · Hartley Hair
Built by non-dev
My ConvertKit landing page was meant to be a temporary holding page that ended up running for two years. SmartWidget installed via the tracking code field and is now my main lead capture.
Adaeze OnyemaLead Therapist · Onyema Therapy
ConvertKit lead capture
We run a Sitecore site for our manufacturing business. The IT team flagged compatibility concerns. SmartWidget installed as a layout-level script tag and passed the internal security review without modification.
Marcus WhitfordOperations Director · Whitford Engineering
Enterprise CMS approved
My Bubble app site needed chat without breaking the app routing. SmartWidget installed as a body script in the Bubble SEO settings and works across every page of the app without intercepting any of the existing routing logic.
Erin WalshMD · Walsh Removals
Bubble app compatible

Other install guides in this category

SmartWidget installs cleanly on every major platform in this category. Explore install guides for related platforms.

Mathew Ades — Founder, DadLink Technologies

Founder, DadLink Technologies Limited

Mathew has been building communications and AI products for UK small businesses since 2019. SmartWidget is built alongside Team Connect — the AI-powered business phone platform also built at DadLink Technologies. He writes about practical AI chat widget deployment, conversion-rate uplift on small-business websites, and the technical realities of installing AI tooling on every major UK web platform. SmartWidget is built to be UK GDPR compliant by design from the first visitor message onwards.

Your SvelteKit site, answering visitors, in five minutes.

Sign up, paste the snippet, save. From £19 a month. No card to start.

Sign up — £19/mo Talk to us first