项目描述
1. The user does not go to the next page for more than 1 minute.
2. When you are on the site for more than 3 minutes does not enter into contacts and prices.
3. It is only shown twice to a unique user. The first time once on the first visit to the site; the second time - at the second. If the user made a targeted action on the coupon on the first visit to the site, the coupon is not shown to him the second time.
Generation and sending a coupon for a discount with a unique number in case the user decides to use the promotion specified in the banner.
This functionality is implemented on two sites (the difference is only in layout).