You put the transducer where the owners manual tells you. That manual usually addresses the following:
1) Right side of transom
2) specific projection below hull
3) As far from prop as possible
4) Not in line with anything under the boat (strakes, lines of rivets, etc.) that can create turbulence.
5) Specific cable routing and connections