Please take a slightly crosslinked polymer, add your substrate and then continue cross linking to maximum degree. Finally, remove the substrate via extraction. Then you have the required imprinted matrix.
The polymers themselves can be used to selectively adsorb an intended ligand as synthetic polymeric receptor sites, then you need a method of detection (binding detection and signal processing and amplification). It seems people have been working with various different methods, though lately QCM seems to be an area of interest. I'll throw in some links to look at regarding MIP based sensing using QCM and piezoelectric microgravimetry chemosensors. As suggested, see what the literature presents, a good starting point might be in form of any of many excellent review regarding the topics of imprinting and imprinting for biosensing and working your way from there.