 API_PATH_REGEXP = /^\/?api\/v1\//
 RESPONSE_HEADERS = ['Hull-Auth-Scope', 'Hull-Track', 'Hull-User-Id', 'Hull-User-Sig', 'X-Hits-Count', 'Link']
 
+TRACKING_PATHS = ["/api/v1/t", "/api/v1/me/traits", "/api/v1/me/alias"];
 
 normalizePath = (path) ->
   return path.replace(API_PATH_REGEXP, API_PATH) if API_PATH_REGEXP.test(path)

  constructor: (config={}) ->
    { batching, appId, identify } = config
    @apiEndpoint = config.apiEndpoint
    @identify = identify
    @options = _.defaults({}, batching, { min:1, max:1, delay:2 })
    @queue = batchable @options.delay, (requests) -> @flush(requests)

    method = (method||'get').toUpperCase()

    headers = assign(@identifyBrowserAndSession(), RemoteHeaderStore.getState(), headers)
    if @trackingEndpoint && TRACKING_PATHS.includes(path)
      endpoint = [@trackingEndpoint, path].join('')
    else if @apiEndpoint
      endpoint = [@apiEndpoint, path].join('')
    else
      endpoint = path
