Using the electron emission channeling and Rutherford backscattering/channeling techniques, the influence of the mosaicity of a thin film on the axial channeling of charged particles was investigated. It is found that crystal mosaicity leads to a broadening and a degradation of the experimental channeling effects. This phenomenon, which is shown to be of major importance when assessing the lattice site of impurities in a single crystal, can be modeled quantitatively by using the mosaic tilt and twist components derived from X-ray rocking curve scans. As a case study, we illustrate that our approach allows to accurately determine the lattice site of Er in AlN, despite the significant influence of mosaicity on the channeling measurements.The channeling of charged particles is widely used to investigate single-crystalline materials. In combination with ion beam techniques such as Rutherford backscattering spectrometry (RBS), particle-induced X-ray emission (PIXE) or nuclear reaction analysis (NRA), ion channeling is a powerful tool to examine the crystal quality of such materials, or to obtain direct information on the lattice sites occupied by impurities. One particularly sensitive lattice location technique is emission channeling (EC), which is based on the channeling of charged particles emitted in the decay of radioactive impurities.