Yes, exactly. I fully believe that there isn't much discrimination in tech at the entry-level. On the other hand, after 20 years in the industry, I have never seen a woman promoted internally. I have seen women climb up the ladder by changing jobs, getting recruited into a higher position, but women never seem to get picked internally to go into senior engineer or team leader positions. That has got to have a major impact on salary by the end of a woman's career.
This is actually quite flawed. The correlations between starting salary and continuing salary (at the same company) is close for large and meaningful data partitions. You can glean some of the indights (if you don't have firsthand experience, if you do...this is obvious) from something like this study. The TLDR is that adverse starting points are meaningful for explaining career earnings anomoly.