Let’s say you want to test two versions of your homepage - version A and version B. If you’re testing version A, then you tell Mouseflow that the path will be:
Or if it’s version B:
You will now see that ‘/home/ver-A’ and ‘/home/ver-B’ appear in the recording and page analysis lists.
var mouseflowPath = "/landingpage/version-a";
// Replace variable pageVersion with the one you use in your own system
if (pageVersion == "B") mouseflowPath = "/landingpage/version-b";
var _mfq = _mfq || ;
mf.src = "//cdn.mouseflow.com/projects/your-website-id.js";