             setExtraHeader(apiKey, forKey: "X-Algolia-API-Key")
         }
     }
-
-    /// Security tag header (see http://www.algolia.com/doc/guides/objc#SecurityUser for more details).
+    
+    /// Security tag header
+    public var queryParameters: String? {
+        didSet {
+            if let queryParameters = queryParameters {
+                setExtraHeader(queryParameters, forKey: "X-Algolia-QueryParameters")
+            } else {
+                manager.session.configuration.HTTPAdditionalHeaders?.removeValueForKey("X-Algolia-QueryParameters")
+            }
+        }
+    }
+
+    /// Security tag header (deprecated)
     public var tagFilters: String? {
         didSet {
             if let tagFilters = tagFilters {

        manager = Manager(HTTPHeaders: HTTPHeaders)
    }
    
    public class func clientWithAppID(appID: String, apiKey: String) -> Client {
        return Client(appID: appID, apiKey: apiKey)
    }

    /// Allow to set custom extra header.

            "User-Agent": "Algolia for Swift \(version)"
        ]

        if let queryParameters = self.queryParameters {
            HTTPHeaders["X-Algolia-QueryParameters"] = queryParameters
        }
        if let tagFilters = self.tagFilters {
            HTTPHeaders["X-Algolia-TagFilters"] = tagFilters
        }
