← Setup guides

How to add a chatbot to your Square Online site

A Square Online chatbot needs one line of code. Square's Tracking Tools take code for your whole site and can put it at the end of every page, so the chat loads everywhere. Square has started calling Square Online simply "websites"; the steps are the same.

Before you start

Steps to add your Square Online chatbot

  1. Sign in, open your assistant's Widget page and copy the one line of code shown there. It starts with <script and ends with </script>.
  2. Sign in to Square Dashboard and go to Channels, then Square Online.
  3. Select Settings, then Tracking Tools.
  4. Select Add new code.
  5. Give the code a name, such as "Chat assistant", and paste your code into the code field.
  6. Choose End of body for where the code goes, then select Save.
  7. Publish your site from the site editor. The code isn't live until you do.
  8. Open your website in a new tab and look for the chat bubble in the bottom-right corner, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

Platform steps checked on November 13, 2026 against Square Support Center: Add custom tracking codes to your online store

Good to know

Can't edit your website?

Every assistant has its own chat page. Link to it from your website's menu, your Google Business Profile, social media or email signature. Or use "Email this to my web person" on your Widget page to send the code to whoever runs your site.

Questions

Can I add a chatbot to a free Square Online site?

Yes. Square's help page for custom code lists Square Free as well as Plus and Premium, so the steps above work on the free plan.

Is Square Online the same as Weebly?

Both belong to Square, but they're separate builders with different settings. If you manage your site from Square Dashboard under Square Online, this guide is yours. If you edit it at weebly.com, follow our Weebly guide.

Should I choose head or End of body?

End of body. Your page loads first and the chat bubble appears once it has, so the code never holds up your content.

Try it on your own website

Your customers are asking right now

Paste your website and see your assistant answer as your business. It takes about a minute.

  • No account needed
  • No card
  • Free plan forever

Want the details first? See pricing