Connexease Mini

With this document, you will be able to add additional features to the Connexease Mini product.

Additional Features

  1. Conversation Link Tracking
  2. Auto Authentication

New Embed Code

First of all, you should re-embed the Mini on your site with the new embed code.

!function(){let e="https://mini.connexease.com",t=document.getElementsByTagName("script")[0],s=document.createElement("script"),a=document.createElement("script"),n=document.createElement("link");a.type="text/javascript",a.async="true",a.src=`${e}/assets/crawler.min.js`,s.type="text/javascript",s.async="true",s.src=`${e}/assets/mini.min.js`,n.rel="stylesheet",n.href=`${e}/assets/mini.min.css`,document.head.appendChild(n),document.head.appendChild(s),document.head.appendChild(a),t.parentNode.insertBefore(a,t),t.parentNode.insertBefore(s,t)}();

Warning

You need to use the new embed code. Otherwise, it is not possible to use additional features.

mini.crawler (Tracking Library)

After embedding the Mini, you need to initialize the library.

window.Mini.initialize()

This code assigns a value named __mc_INITIALIZE to localStorage. The library will continue to run until that value is deleted from there.

You can run the code below to find out that the library is active. When this code returns true, mini.crawler started running.

window.Mini.initialized

Auto Login

If you want your user to log in to Mini automatically after logging in to your site. Just give the correct information (Mini login information) and run the code below.

window.Mini._setAuth('username', 'password')

This information is stored as encrypted.

Use the code below to clear this login data.

window.Mini._clearAuth()