Skip to main content

Local Coordinators FAQs

Browse and search frequently asked questions.

Access your library's chat snippet

435 views   |   0 Vote this question as useful.   0 Vote this question as not useful.   |   Last updated on Feb 25, 2021    Widgets

 

The LibraryH3lp chat snippet is the code that you use to embed an AskAway chat box, button, or tab on your library's website, in databases, etc.

Follow these steps to retrieve your library's chat snippet:

  1. Login to the LibraryH3lp admin dashboard with your library's admin account
  2. In the left-hand navigation, click Chat Snippets (the < > icon)
  3. You should only see your library's chat snippets listed
  4. Click on the snippet you would like to view (embedded chat box, button, or tab)
  5. Copy the code in the grey box and paste it wherever you need to embed the widget

Note: The snippet embed code is identical for all libraries except for the unique snippet ID number. In the example below, the unique snippet ID number for this library's embedded chat box is 806 (in bold).

<!-- Place this div in your web page where you want your chat widget to appear. -->
<div class="needs-js">Chat loading...</div>

<!-- Place this script as near to the end of your BODY as possible. -->
<script type="text/javascript">
  (function() {
    var x = document.createElement("script"); x.type = "text/javascript"; x.async = true;
    x.src = (document.location.protocol === "https:" ? "https://" : "http://") + "ca.libraryh3lp.com/js/libraryh3lp.js?806";
    var y = document.getElementsByTagName("script")[0]; y.parentNode.insertBefore(x, y);
  })();
</script>

If you would like assistance customizing your library's AskAway entry point, please contact the Admin Centre and we'll be happy to help!