A novel chemosensor for sensitive and facile detection of strontium ions based on ion-imprinted hydrogels modified with guanosine derivatives.