It would depend on which type of filter you have(small,large,right angle fittings or straight). A small filter with right angle fittings(my choice) can go just in front of hole in carb mounting bracket that fuel line passes through, the right angle fitting points right towards the petcock.
If you have a small, straight filter you can try splicing it in at the rear of the carbs, just above where the fuel enters carbs, as long as it doesn't interfere with the choke. Otherwise you can route the fuel line up and over the carb mounting bracket and have the filter hanging in front of carbs.