       doTrack(eventName, req.params)
       req.params.event ?= eventName
       req.params = { t: btoa(JSON.stringify(req.params)) }
+      handler.headers['Hull-Access-Token'] = accessToken
       promise = handler.handle
         url: normalizePath 't'
         type: req.method || 'post'

  API_PATH_REGEXP = /^\/?api\/v1\//

  (app)->
    accessToken = app.config.access_token
    headers = { 'Hull-App-Id': app.config.appId }
    headers['Hull-Access-Token'] = accessToken if accessToken?

    identified = false
    originalUserId = app.config.data?.me?.id

    identify = (me) ->
      return unless me
      analytics = require('analytics')
      signInCount = me.stats?.sign_in_count || 0

      if identified && signInCount == 1
        analytics.alias(me.id)
        identified = true

      ident = _.pick(me, 'name', 'email', 'id', 'picture')
      ident.created = me.created_at


      analytics.initialize(analyticsSettings)

      identify(app.config.data.me) if app.config.data.me?

      doTrack("hull.app.init")
      app.core.routeHandlers.hull = hullHandler
