For most gifts, the carrier leaves it, and everything is fine. Shelf-stable contents tolerate a porch for hours without trouble. Two exceptions. Anything with fresh fruit, cheese, or chocolate shouldn't sit outside overnight or through a hot afternoon. And alcohol requires an adult 21 or older to sign with valid ID, which means it can't be left at the door at all.
If the recipient's schedule is unpredictable, a workplace address during business hours is more reliable than a home.