Skip to content

Script tag

Also called Embed code, JavaScript snippet

A script tag is the HTML <script> element, which loads or runs JavaScript on a web page. Third-party tools such as analytics, chat widgets and forms are commonly installed by pasting a one-line script tag into a site's code, often with async or defer attributes so it doesn't block the page from loading.

Example

<script src="https://example.com/widget.js" async></script> pasted before the closing </body> tag adds a widget to every page.

Why it matters for a website chatbot

A script tag works on almost any website builder, without plugins or a developer. ChatBento installs with one async script tag pasted into your site's custom code setting, and the same snippet works on Framer, Webflow, WordPress, Shopify, Wix, Squarespace and plain HTML.

See it in practice: Agency client sites

Further reading

An AI chatbot that answers from your site. Free to start. Paid plans from $8 a month.

14-day free trial. No card required.