The criticism arose after the European Commission investigated the use of " behavioural advertising technology " by British internet service providers , which it found was illegal under European -- but not British -- law .