Added functionality to record search events with KISSMetrics.