Widget

Widget Overview

A small CredibleMind search and help box you can drop into any page.

The widget is a compact box that lets users search CredibleMind or get help, then sends them to your CredibleMind site. Its title, colours and type (search, help, or both) are set up by CredibleMind; you choose which widget to show by its name, which your client success representative provides.

Quickstart

Add a container

Place it where the widget should appear, using your widget name:

<div class="cm-widget" data-prop-name="YOUR_WIDGET_NAME"></div>

Add the script

Put it after the container, for example just before </body>. data-mount-in must match the container:

<script
  async
  src="https://widget.crediblemind.com/bundle.js"
  data-mount-in=".cm-widget"
></script>

Verify it works

Open the page. The widget replaces the empty container. If nothing appears, check that data-mount-in matches your container's class and that data-prop-name is the name CredibleMind gave you.

On this page