A nanosensor-containing polymer composition for the monitoring of physiological parameters and a method for making the composition are disclosed. The composition includes a nanosensor disposed in a crosslinked, hydrophilic polymer for transdermal application into an intradermal environment. The method involves forming a mixture including nanosensors and a crosslinked polymer precursor, and subjecting the mixture to conditions suitable for crosslinking the polymer precursor to provide a nanosensor-containing crosslinked polymer.