analytics.js
function path(properties, options) {
  if (!properties) return;
  var str = properties.path;
  if (options.includeSearch && properties.search) str += properties.search;
  return str;
}
function path(properties, options) {
  if (!properties) return;
  var str = properties.path;
  if (options.includeSearch && properties.search) str += properties.search;
  return str;
}
function path ( properties , options ) { if ( ! properties ) return ; var str = properties . path ; if ( options . includeSearch && properties . search ) str += properties . search ; return str ; }
Return the path based on `properties` and `options`.

@param {Object} properties
@param {Object} options
@return {string|undefined}
Return the path based on properties and options .