Contact tracing is performed through in-person interviews and research
An manual approach by Public Health Systems to interview every single infected person to determine which others they may have come in close proximity to during the period in which they have been infectious, and intervene appropriately with all contacts (e.g. testing, quarantine and the like).
See this description of manual contact tracing on Wikipedia.