Skip to main content
Installing the widget with the script code

The widget has been updated and uses a new embed code. Read all about it here.

Timo van der Zanden avatar
Written by Timo van der Zanden
Updated over a year ago

Note: To place the new request module on your website, you will need administrator access and/or technical knowledge.

Place on your website

WordPress

If you are using WordPress for your website, you can use our WordPress plugin. This allows you to place and set up the request module on your website without any technical knowledge. You only need to have sufficient rights to install plugins.

Place the widget code yourself

If you use a different system, you can, of course, add the widget code to your website manually. However, you will need limited knowledge of HTML to do this.

Add the following code at the end of your document, just before the closing </body> tag:

<script src="https://app.miceoperations.com/widget/widget.js"></script>

Now having this code on your website, you are ready to use the (new) request module immediately.

Open an request module

In a popup

By default, the new request module opens as a popup on your website. This ensures that users have maximum attention to your offer. To do this, use the standard link that you will find in the settings of your request module.

P.S. You can also use this link on websites without a widget code. You will then arrive at a neat page with the request module. Try it with the link above.

In the page

With the old widget code, the request module was always embedded in the page. The new widget still supports this possibility, but it has become much easier to place the request module in your page.

Simply place another link to the request module in your page, but now put #embed behind it. This will then look like this:

This link is automatically converted by the widget code. The application module appears on your page.

Button at the bottom of the screen

Also new is the possibility to add a button at the bottom of the screen of every page on your website. The button says "Request quote" and allows the user to get started immediately.

In order to make use of this, you must first set up which request module is to be linked to the button. In WordPress you can set the unique identification code (Widget ID) of the request module in WP-Admin. If you have placed the widget code manually to your website, you can enter a number of settings in a Javascript object before the<script> widgetcode widget code. This looks like this:

<script type="text/javascript">
window.miceWidgetSettings = {
widget_id: "0df2ad69968b",
button_alignment: 'right',
button_horizontal_padding: 10, // Standaard 32
button_vertical_padding: 10, // Standaard 32
source: 'Website'
};
</script>

As you can see, you can also enter a number of other settings. To use the button on your website only the field widget_id is required.

Did this answer your question?