The present invention relates to the use of polymers as contrast agents for ultrasounds. The idea is to have a molecular imprint in the polymer that is specific for a given molecule or analyte. When that molecule binds to the polymer it induces a conformational change that results in an increase in the ultrasound signal, referred to as a target-bound state. The method can also be used for example for quantitative measurements of analytes.