Mouseflow tag: How to ad "desable keystrokes" function?

martin_vinter
Silver Contributor
Silver Contributor martin_vinter

Hi!

 

Mouseflow (a screen recording tool roughly similar to ClickTale, decibel insights etc) has a function to disable visitors keystrokes in the recordings.

 

 We'd like to turn that on.

 

Unfortuenately, the standard Mouseflow script in the Tealium tag marketplace does not have an "on/off"-button for this. What is the easiest way to implement this feature?

 

 

The Mouseflow documentation describes, that  it is done by adding this line to the Mouseflow tracking script:

 

var mouseflowDisableKeyLogging = true;

 

A full example:

 

<script type="text/javascript"> 
var mouseflowDisableKeyLogging = true;
var _mfq = _mfq || [];
(function() {
var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true;
mf.src="//cdn.mouseflow.com/projects/your-website-id.js";
document.getElementsByTagName("head")[0].appendChild(mf);
})();
</script>

 

Kind regards

Martin

 

1 REPLY 1

Mouseflow tag: How to ad "desable keystrokes" function?

brian_kranson
Employee Emeritus
brian_kranson

Hello @martin_vinter,

 

Add a Tealium JavaScript Extension

 

window.mouseflowDisableKeyLogging = true;

 

Scope the extension to the tag and you are done.

 

 

 mouseflow-20160208T143327.png

 

Please let us know if this helps.

 

Bk