Question: are gnats attracted to beer?
Answer: Let the beer traps sit. The bugs are attracted to the beer and will venture into the liquid, drowning themselves.