@meetelise/apartments-webchat
v1.0.30
Published
### Installation
Downloads
10
Keywords
Readme
MeetElise Apartments.com Webchat
Installation
To install the webchat onto your site - you have one of two options:
Option 1 (preferred method) - Script
This method will ALWAYS keep the widget up-to-date with no future updates needed on your part. Add the following in html:
<script type="module">
import Chat from "https://cdn.skypack.dev/@meetelise/apartments-webchat";
Chat.start({
organization: "{your org here}", // org and building will be provided by EliseAI
building: "{your building here}",
callToActionContainerSelector: "{query name selector container}", // this is the background container that the chat widget matches its width to (i.e. "#contactLead")
callToActionButtonSelectors: ["{query name selector button}"], // this is the button that, when clicked, opens the popup chat widget (i.e. "[.sendMessageBtn]")
});
</script>
Option 2 - Using a Package Manager
You can also install the package by running the following command:
npm install @meetelise/apartments-webchat
Note. this method is NOT preferred because this will require a manual update on your end for every bug fix/update that we at EliseAI deploy. This method should only be used if you are having trouble with OPTION 1.