The indirect drive approach to inertial confinement fusion has undergone important advances in the past few years. Improvements in temperature and density diagnostic methods are leading to more accurate measurements of the plasma conditions inside the Hohlraum and therefore to more efficient experimental designs. The implementation of dot spectroscopy has proven to be a versatile approach to extracting space- and time-dependent electron temperatures. In this method, a microdot of a mid-Z material is placed inside the Hohlraum and its K-shell emission spectrum is used to determine the plasma temperature. However, radiation transport of optically thick lines acting within the cylindrical dot geometry influences the outgoing spectral distribution in a manner that depends on the viewing angle. This angular dependence has recently been studied in the high energy density regime at the OMEGA laser facility, which allowed us to design and benchmark appropriate radiative transfer models that can replicate these geometric effects. By combining these models with the measurements from the dot spectroscopy experiments at the National Ignition Facility, we demonstrate here a novel technique that exploits the transport effects to obtain time-resolved measurements of the ion density of the tracer dots, without the need for additional diagnostics. We find excellent agreement between experiment and simulation, opening the possibility of using these geometric effects as a density diagnostic in future experiments.