904 trans cooler.

I'm going to AN line for my trans cooler and want to add a trans temp gauge.

What line is return, is it the front fitting or the rear fitting?

I figure I should read temp after the cooler correct?

Thank you.
I would think right as it's coming out? Then you know how hot your clutches are? Of course that's just spitballing...