All installation methods

How to install the widget on Drupal

The simplest way is the Asset Injector module — no themes or templates to edit.

Embed code
<script type="text/javascript" src="https://leadmate.me/widget.js?widget_id=YOUR_WIDGET_ID"></script>

Replace YOUR_WIDGET_ID with your project ID from the dashboard — you can find it on the "Install" tab.

  1. 1

    Install the Asset Injector module

    Download and enable the "Asset Injector" module under "Extend".

  2. 2

    Create a JS injection

    Go to "Configuration → Development → Asset Injector → JS Injector → Add JS Injector".

  3. 3

    Paste the code and pick the scope

    Paste the widget code, choose "Footer" in the "Scope" field and save.

Tip

Alternative: add a "Custom block" with the "Full HTML" format to the Footer region.

Check that the widget works

Open your site in a new tab — the widget appears in the corner. Send a test message and confirm the lead reaches your dashboard.

Guides for other platforms

No account yet? Create a project and get your widget code.

Create an account