A technique combining in situ tetramer staining and in situ hybridization (ISTH) enables visualization, mapping and analysis of the spatial proximity of virus-specific CD8+ T cells to their virus-infected targets, and determination of the quantitative relationships between these immune effectors and targets to infection outcomes.