Put a cold trap arround the collection vessel. If you are collecting into a test tube, then submerge it in some IPA that has a load of dry ice in it, or use and ice bath - but the CO2 in IPA will be colder. The temperature gradient helps pull the vapours down via a pressure drop and also keeps the condensed product liquid.