added three analytics modes: full, basic, and off