function formatPipeString(obj) {
  if (!isObject(obj)) return
  return Object.keys(obj).reduce((acc, curr, i) => {
    return `${acc}${(i) ? '|' : ''}${curr}=${obj[curr]}`
  }, '')
}
Turn object into pipe separated values
@param  {Object} [obj={}] - Object to transform
@return {String} - pipe separated value

@Example

 formatCookie({})
 // utmcsr=SOURCE|utmcmd=MEDIUM[|utmccn=CAMPAIGN][|utmcct=CONTENT][|utmctr=TERM/KEYWORD]