When a visitor clicks on your unique link or banner ad, it generates a cookie on their browser which lasts for 200 days. That means that even if they do not make a purchase right away you will still get credit for the sale if they choose to purchase later.