I'll have to go see if I can find it, but recently there was a study in Britain, France and ? (Germany I think) on compensation. Ah, here it is:
https://www.economist.com/blogs/graphicdetail/2017/08/daily-...
While there was a definite gap for the population as a whole, when you zoomed into the same job at the same company, the pay gap disappears.
No idea if that applies to women in tech but it was new info to me. Does anyone have a source for a pay gap in tech?