Skip to main content

Online Assistant

The Online Assistant is a configurable widget that you embed on your website to guide visitors step by step towards the right enquiry. Integration takes just a few lines of code and can be up and running in minutes.

info

The required license code will be provided by our onboarding team.

Quick start

How it works

  • Enter license code
  • Copy HTML
  • Insert HTML snippet where the Online Assistant should appear on the website
License code:
(Example: LL-189189189-1234-1234)
HTML
<script src="https://offerio.meister1.com/init.js" type="text/javascript"></script>
<div id="meister1_MY_LICENSE_CODE"></div>
<script type="text/javascript">
const licenceCode = "MY_LICENSE_CODE";
const options = { selector: "#meister1_MY_LICENSE_CODE" };
Lokalleads.init(licenceCode, options);
</script>


In detail

The following sections explain the website integration in detail.

Script Import

First, the script containing the application is imported. This can be inserted into the <head> or <body> of the HTML document.

<script
src="https://offerio.lokalleads.de/init.js"
type="text/javascript"
></script>

HTML Container

An empty HTML tag must be inserted at the position where the Online Assistant is to appear. The id attribute can be freely selected.

<div id="meister1"></div>

Initialization

The Online Assistant can now be initialized.

caution

If the id in the HTML container has been changed, the selector must also be adjusted accordingly.

<script type="text/javascript">
const licenceCode = "LL-XYZ123456789";
const options = {
selector: "#meister1"
}
Lokalleads.init(licenceCode, options);
</script>