We observe the microscopic dynamics of a suspension of colloids with attractive interaction by confocal fluorescence microscopy to provide a deeper understanding of the relationship between local structure and dynamics near the gel transition. We study the distinct and self-parts of the van Hove density-density correlation function applied to our experimental data. Separable fast and slow populations emerge in the self-part, while the distinct part shows a pronounced signature of dynamic heterogeneities close to the gel transition, dominated by the fast particles. The slow population close to the gel transition shares features with an attraction-driven colloidal glass, including a plateau in the mean squared displacement that provides an estimate for the dynamical localization length.