You could also clean the hull well with acetone or mineral spirits and use Lexel to attach the transducer to the hull. Using Lexel you can remove it. Using epoxy you will destroy it trying to remove it.
I used Lexel in my kayak and it is some tough stuff. Just takes a while to cure, but when done, no pounding is going to loosen it up.