Mouseflow Help & Support

Record Visitors By Specific Language


With Mouseflow, it's easy to control which visitors are recorded. For example, you can record visitors based on their language setting.

Record Visitors with "en-US" Language

To only record visitors with "en-US" as their language, surround your tracking code with the following lines (in bold):

<script type="text/javascript"> 
if(window.navigator.language == "en-US") {
var _mfq = _mfq || [];
(function() {
var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true;
mf.src = "//";


Here is a list of other language-country codes.


Tags: record visitor track specific language country

Have more questions? Submit a request


Powered by Zendesk