Fixed cookie analytics check