An ingestible device is disclosed which can produce spectral data of one or more analytes, as well as associated methods for characterizing the gastrointestinal tract of a subject which contains such analytes. Related kits and systems are also disclosed.