Tracks registration is influenced by the dynamic interplay between the pedal anatomy of the trackmaker, its behaviour, and the substrate conditions it interacts with. Differences in substrate conditions, especially those linked to grain size and moisture content, often result in the most dramatic variations in track morphology. In the upper Stormberg Group, main Karoo Basin of southern Africa, diverse trace fossils, primarily comprising Late Triassic–Early Jurassic dinosaur tracks, are preserved. Numerous studies have extensively documented individual ichnosites, investigating variations between sites over time, with recent studies suggesting that track abundance and anatomical fidelity increase up-stratigraphy. Despite the well-established link between substrate and track morphology, past studies have not specifically focused on substrate conditions, often emphasizing macro-sedimentary features instead. Here, we examine the micro-sedimentary features of track-bearing units in the upper Stormberg Group using petrographic techniques to better understand the palaeosubstrate and its effect on fossil track registration and preservation. The analysis revealed that very fine-grained sandstones and substrates modified by microbial activity tend to preserve tracks with greater abundance and/or higher anatomical fidelity. Furthermore, the prevalence of very fine-grained and microbially modified strata, and their associated track trends increases in younger stratigraphic units. Across the Triassic – Jurassic boundary in southern Africa, a boom in dinosaur track abundances is observed and credited to the proliferation of dinosaur populations during the Early Jurassic. Our findings, however, suggest that the observed local increase in track abundance (and anatomical fidelity) up-stratigraphy may be linked to substrate composition differences, which were ultimately controlled by large-scale changes in the palaeoenvironment from high-energy meandering fluvial to lower-energy aeolian-lacustrine settings in the Late Triassic and Early Jurassic, respectively. These findings have implications for global macroevolutionary patterns, palaeo-geographical reconstructions, and biostratigraphic correlations in the early Mesozoic.