Mine is in between the line from the power cord real and the first Transfer switch. This protects me from any shore power issues. My Generator and full coach Invertor is after it So no protection for those power sources . I do not foresee any issues from those sources, but If You install It before the panel and after the transfer switch you will be better protected.. I would pull the wire out of the the transfer switch and run it into the OUT on the EMS then get a 3' or 4' wire from Home depot and run it from transfer switch to it in on the EMS.. This way you can always put it right back to the way it was if needed to remove EMS to sell the RV or If you have a problem with the EMS like I had earlier this year and need to bypass it until they send you a new one..
Hope this helps
Jerrod