         if let uid = userID {
             params["uid"] = uid
         }
+        println(params)
         return params
     }
     

    }
    
    private func appName() -> String {
        return NSBundle(forClass: self.dynamicType).objectForInfoDictionaryKey(kCFBundleNameKey as String) as! String
    }
    
    private func appVersion() -> String {
        return NSBundle(forClass: self.dynamicType).objectForInfoDictionaryKey(kCFBundleVersionKey as String) as! String
    }
    
    private func appID() -> String {
        return NSBundle(forClass: self.dynamicType).bundleIdentifier!
    }
    
    private func screenResolution() -> String {


public class Manager: NSObject {
    let trackingID: String
    let appBundle: NSBundle
    let userID: String?
    let apiBase = "https://ssl.google-analytics.com/collect"
    let GAClientIDKey = "GAClientIDKey"
    
    var requestManager: Alamofire.Manager!
    
    public init(trackingID: String, appBundle: NSBundle, userID: String?) {
        self.trackingID = trackingID
        self.appBundle = appBundle
        self.userID = userID
        
        super.init()
