Retargeting works by evaluating consumers' behaviors while they are visiting your Web site.
Targeted messages are delivered to those consumers – after they leave – based on whether or not they completed a desired action. This is a popular type of Behavioral Targeting that creates behavioral segments of users who have visited your web site.
It is typically achieved by placing single code on your home page.