Over-the-horizon radar (OTHR) target tracking in the presence of complicated ionospheric environment mainly faces three challenges, i.e., discrete uncertainty of multipath data association, continuous uncertainty of ionospheric heights, and coupling of target state estimation and ionospheric parameters identification. The existing OTHR target tracking algorithms demanded that the ionospheric heights should be exactly known or statistical properties known. However, the ionospheric heights is inaccurate due to the inherent variability of ionosphere, especially when the deployment of ionosondes is unavailable in the sea area or hostile zone. This paper introduces a joint optimization scheme called distributed expectation-conditional maximization (DECM), which solves the target state estimation, multipath data association, and ionospheric heights identification simultaneously. The proposed DECM algorithm consists of a local estimation level and a global fusion level, whereas information is exchanged within these two levels until iteration terminates. This dual-level processing framework transforms the high-dimensional estimation problems into several low-dimensional parallel path-dependent estimation problems, which improves the computational efficiency of expectation maximization under high-dimensional latent variables case. In addition, the closed-loop structure is beneficial to the coupling problem. The simulation indicates the effectiveness of the proposed scheme.