Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To run Mopinion feedback forms on your website you will have to implement a JavaScript tag on your website. This article explains how to implement the JavaScript tag without the use of a tag management tool, such as Google Tag Manager.

...

In the first case, the JavaScript tag will be directly placed in the HTML of the page source. The Mopinion code needs to be placed just before the closing body tag: </body>.

The other implementation method is done with a tag manager, for instance: Google Tag Manager. The script will then be injected into the generated source code.
Read more about implementing Mopinion with Google Tag Manager here.

Compared to the first implementation option, the second method is less labour intensive. After all, the script requires only one step and it also offers more flexibility. The implementation of (new) forms on (new) URL’s can be set via the tag manager. One condition for this way of implementation is, of course, the availability of a tag manager.

...

You can find your Mopinion JavaScript tag under Data collection / Forms / Deployments.

Step 4: Place code in CSS

Depending on the elements you are including in your form you may also have to include a CSS snippet in the header. Ensure that you put a <head>tag before the CSS snippet and a </head> tag afterwards. If you do not include the CSS snippet when required you will run into some graphical errors.

...

Form appearance

There are three ways the form can appear on a (mobile) website. The form can be shown in a grey, transparent overlay (in a modal) or as a slide-in or the form can be displayed as part of the content and layout of the web page (which is called an embedded form). Additional implementation operations are not required when the form will be shown in a modal.

...