Skip to content
Beacel
How it works Pricing Docs
Log in
/

    For owners

    • Getting started
    • Put it on your site
      • WordPress
      • Wix
      • Squarespace
      • Webflow
      • Shopify
      • Hostinger Website Builder
      • Google Tag Manager
      • Custom website
    • Lead alerts
    • Teach the assistant
    • Leads and export

    For developers

    • Widget
    • Webhook
    Docs / Put it on your site / Custom website

    Custom website

    A website you or your developer wrote by hand, or one built with a tool not listed here: paste one line before the end of every page.

    Add the code

    1. In the dashboard open Widget, then Placement, and copy the code.
    2. Paste it into the HTML of every page, just before </body>.
    3. Upload the changed files to your website.
    <script src="https://beacel.com/widget.js" data-beacel="k9-x_Q2a" async></script>

    The sample code shows a placeholder key. Copy your own from the dashboard: Widget, then Placement.

    The line loads with async, so it never holds up your page.

    A PHP site with a shared footer

    Many PHP sites keep the end of every page in one file, often footer.php, that each page includes. Then the line goes into that file once, and every page has it:

    <!-- footer.php: the end of every page -->
    <footer>
      <p>Riverside Guitar School, 12 River Street</p>
    </footer>
    <script src="https://beacel.com/widget.js" data-beacel="k9-x_Q2a" async></script>
    </body>
    </html>

    Each page includes the footer at its end, as it already does:

    <?php include __DIR__ . '/footer.php'; ?>

    The same works with any template that is shared by all pages: a layout file, a base template, or a site generator's footer partial.

    Chat inside a page, or your own button

    To show the chat inside one page, for example your contact page, put this where it should appear (the line from above must be on that page too):

    <div data-beacel-inline></div>

    To open the chat from a button of your own, give the button data-beacel-open:

    <button type="button" data-beacel-open>Write to us</button>

    More options for developers: Widget.

    Check that it works

    Open your website once, then press Check my site in the dashboard. Not detected yet. It shows up here a few minutes after your site loads the code.

    Questions

    Write to hello@beacel.com.

    PreviousGoogle Tag ManagerNextLead alerts

    On this page

    1. Add the code
    2. A PHP site with a shared footer
    3. Chat inside a page, or your own button
    4. Check that it works
    5. Questions
    Beacel

    Made in Vilnius. © 2026 Beacel.

    Pricing Privacy Terms Cookies Sub-processors DPA Licences Docs Webhook docs Widget docs Contact