Coinbase's affiliate tracking cookies will last for 30 days. This means if your invitee uses your link and signs up within 30 days, you'll qualify for the referral bonus.