Making gold between sectors

Hi all,
Finally going to make gold for the first time when I fly to SFO in October. I just have a question about the transition.
My account says I need 4 TP before the end of October, or 10 before the end of November. I am flying in Upper on a Z fare so will receive 5 each way. The outbound is October 31st, and return on the 4th of November. Will I make gold after the first flight or is it only after the return is complete? And if the answer is the former, will I then receive the benefits of Gold for my return flight?
Many thanks
Finally going to make gold for the first time when I fly to SFO in October. I just have a question about the transition.
My account says I need 4 TP before the end of October, or 10 before the end of November. I am flying in Upper on a Z fare so will receive 5 each way. The outbound is October 31st, and return on the 4th of November. Will I make gold after the first flight or is it only after the return is complete? And if the answer is the former, will I then receive the benefits of Gold for my return flight?
Many thanks