added qaContext tracking and debug for optimizely