Retargeting: how to collect a database and make it work