this is what my brother did b4 he sold the car on a nice day, remove the seats and all
take out the carpet then get a power washer or drive to a car wash and wash it. this will help get the dirt off of it too. careful not to spray to close because it will ruin the carpet.
then try outside in the sun. this should get it out.
then get an air freshner and spray it on the carpet. get a nice 1 that u wont mind having in your car for a few days. i recomment rasberry smells really nice and fruity (lol) or get babypower scent that smells ok too.
im gonna say avoid vinella because when the car gets hot inside its not a good smell, it actually makes me sick.