WASHINGTON – An online advertising agency on Dec. 5 agreed to settle Federal Trade Commission charges that it secretly and illegally gathered data from millions of consumers, “sniffing” out the websites people visited in the past and using the information to send targeted ads.

Among the sites of interest: those dealing with fertility issues, impotence, menopause, incontinence, disability insurance, credit repair, debt relief and personal bankruptcy.