WE HATE FLIES!!
We use DE all over the yard (aka the run) and I have the silly car trees up too, some in the coop, some in the yard, but mostly by my house doors, BC I HATE WHEN THEY GET IN THE HOUSE
So far a reduction in flies with both.
Make sure any vanilla you use is PURE and has no corn...