You can purchase carpet products to use with your vacum that help eliminate pet odor and 'release pet hair' from the carpet.Or, you can make your own and save that money.
In a shaker can mix 1/3 corn starch with 2/3 baking soda and add crushed lavender .I prefer to use a mortar and pestle to crush the dried lavender but your hand will do. It is my fragrance of choice because it is calming and and has some antiseptic qualities.Dogs sensitive noses seem to like it.
The cornstarch releases the static lock that the carpet has on pet hair and the baking soda absorbs doggy odor.It is a safe non toxic way to vacum.
Be sure to vacum in cross directions to help pick up those dog hairs.
Until next post,happy tails.