Mouseflow is a third-party tool used to gain insights on User behavior. It does this by recording User activities such as mouse clicks and movement. Mouseflow requires a subscription to use.
Setting up Mouseflow
The following steps will place the tool on every page within your digital workplace. Refer to Mouseflow’s Installation Guide for more information about Mouseflow configuration settings.
-
Locate and copy your Mouseflow account’s tracking code by logging into Mouseflow and going to Settings > Tracking Code. This tracking code will take the following form:
<script type="text/javascript">
window._mfq = window._mfq || [];
(function() {
var mf = document.createElement("script");
mf.type = "text/javascript"; mf.async = true;
mf.src = "//cdn.mouseflow.com/projects/123.js";
document.getElementsByTagName("head")[0].appendChild(mf);
})();
</script> - Copy your tracking code into an editor such as Notepad or Notepad++. Save this file with the name and extension:
.js
- Upload the mouseflow.js file into a Folder channel in your digital workplace.
- Give All Members Read Level access to the mouseflow.js file. This allows the script to run for all members of your digital workplace.
- Right-click the download button on the mouseflow.js page. From the resulting menu, select Copy link address.
- Access your header by navigating to:
https://{your digital workplace domain}/admin/presentation/header
-
Create a reference to the mouseflow.js file in your digital workplace’s header. Add a script tag to the header that uses the link copied from step 5 as the file source. This would take the form:
script src="https://{your digital workplace domain}/download/themes/mouseflowjs?attachment=1"></script>