assets/nTracker.js
function addParameter(data, parameter) {
            var regex = '(' + parameter + '=[a-z0-9-]+)';
            var search = window.location.search.match(regex);
            if (search) {
                data.push(search[1]);
            }
            var hash = window.location.hash.match(regex);
            if (hash) {
                data.push(hash[1]);
            }
        }
function addParameter(data, parameter) {
            var regex = '(' + parameter + '=[a-z0-9-]+)';
            var search = window.location.search.match(regex);
            if (search) {
                data.push(search[1]);
            }
            var hash = window.location.hash.match(regex);
            if (hash) {
                data.push(hash[1]);
            }
        }
function addParameter ( data , parameter ) { var regex = '(' + parameter + '=[a-z0-9-]+)' ; var search = window . location . search . match ( regex ) ; if ( search ) { data . push ( search [ 1 ] ) ; } var hash = window . location . hash . match ( regex ) ; if ( hash ) { data . push ( hash [ 1 ] ) ; } }
Add parameter from window.search do data
@param {array} data
@param {string} parameter
Add parameter from window . search do data