     }
 
     func identify(user: User) {
+        currentUser = user
         shouldTrackUser = user.profile?.allowsAnalytics ?? true
         Crashlytics.sharedInstance().setUserIdentifier(shouldTrackUser ? user.id : "")
         if let analyticsId = user.profile?.gaUniqueId {

    }

    func activityCreatedAtCrash() {
        agent.track("Activity Created At Crash", properties: ["responseHeaders": ElloProvider.responseHeaders, "responseJSON": ElloProvider.responseJSON])
    }

    func postCreatedAtCrash() {
        agent.track("Post Created At Crash", properties: ["responseHeaders": ElloProvider.responseHeaders, "responseJSON": ElloProvider.responseJSON])        
    }

    func commentCreatedAtCrash() {
        agent.track("Comment Created At Crash", properties: ["responseHeaders": ElloProvider.responseHeaders, "responseJSON": ElloProvider.responseJSON])
    }
}

    public static let sharedTracker = Tracker()
    var settingChangedNotification: NotificationObserver?
    private var shouldTrackUser = true
    private var currentUser: User?
    private var agent: AnalyticsAgent {
        return shouldTrackUser ? SEGAnalytics.sharedAnalytics() : NullAgent()
    }
