As someone who applied this cycle, I would encourage you to take as much math (specifically analysis) as possible.
I think that, in general, applicants to Statistics PhD programs are coming in with more and more math background every year. Since the GRE/Math GRE are being phased out of admissions, the only way the committee can assess your math background is via your previous coursework. In fact, one of the professors on the admissions committee of a school to which I was admitted told me that every year, they are looking to admit students with stronger and stronger math backgrounds.
And admissions aside, taking more analysis will ease the transition from undergrad to PhD.