I would recommend a downspout diverter. There are several designs out there. There are two reasons you'd want to use a diverter:
1. Locating the barrel someplace than RIGHT under the downspout,
2. When the barrel eventually fills to capacity, you can direct the overflow to where you want it...