Corrected analytics codes