Get the app

Yapbots for websites

Put a bot on
your website.

One line of code. A little robot walks along the bottom of your page and says hello. Your page still works under it.

The bot at the bottom of this page is the real thing. Click it.

1 Paste this before </body>

<script src="https://yapbots.com/embed.js" data-bot="zap" data-hello="Hi! Welcome." async></script>

That's it. It loads after your page does, so it never slows your site down.

2 Pick your bot

data-botWhich bot: pip, zap, juno, sprocket, ziggy or nori.
data-helloWhat it says when someone arrives. Up to 140 letters.
data-sizeHow big, from 0.5 to 1.2. The default is 0.8.

3 When your visitor has Yapbots too

Visitors can click your bot, then Meet my Yapbot. Their Yapbots app opens and asks them first. If they say yes, your bot walks onto their desktop to say hi, and their bot shows up on your page. The two bots wave, chat and dance together.

4 Make it talk (optional)

Your page can use the bot once it's ready:

Yapbot.say('Free shipping today!');
Yapbot.act('dance');
const answer = await Yapbot.ask('Need a hand?', ['Yes please', 'No thanks']);
Yapbot.on('meet', ({ bot }) => console.log('Met a visitor\'s bot:', bot));

Moves: wave, wink, jump, flip, dance, spin, love, happy, excited, surprised, confused, shy, proud, laugh, curious. Events: ready, meet, line, leave.

5 If your site has a Content Security Policy

Allow these two:

script-src https://yapbots.com
connect-src wss://relay.yapbots.com

6 See your visits (free)

Add your website to get its own key. Then you can see how many people met your bot. It takes a minute and one small file.