Implementation Guide – Scenario 1: Unique Coupons
Overview
This scenario focuses on offering a unique incentive for a visitor’s first order through a Powerpop campaign integrated with Samba.
When a new visitor enters their email, the system verifies whether it’s already registered.
- If new, a unique discount code is shown directly in the pop-up and sent via Samba API trigger.
- If already registered, a message appears informing the user they’re not eligible for the incentive.
- The discount can also be minimized into a reminder pop-up.
This setup allows personalization, A/B testing of offers, and real-time synchronization of coupon data between Powerpop and Samba.
Scenario No. 1 - Unique coupons
- A visitor visits a website where they are prompted with an incentive for their first order.
- After entering their email address, it is verified, and if it is not registered, a unique discount code is displayed directly in the pop-up.
- This can then be minimized into a reminder.
- At the same time, the discount code is sent to the specified email address using the Samba API trigger.
Preparation of the Scenario
- Scenario proposal – acquisition behavior
- Design preparation, unique code preparation, email template creation (API trigger) in Samba
- Creating web layer designs in Powerpop, inserting coupons into the stack
Definition of a scenario
Structure
Rules
| Events | Definition |
| Display rule | The pop-up will be displayed to all visitors to the site after 8 seconds who are not coming from Samba emailing. The pop-up will not be displayed in the shopping cart. Will the incentive validity period be set? |
| There will be more types of offers | To test what works best? (5%–10% discount, free gift, free shipping, etc.) |
| Add contact - successful | Design of a pop-up window that appears to the customer with a unique code. Option to personalize according to coupon type (desktop + mobile). |
| Adding contact - unsuccessful - user is already registered | Design of the pop-up that appears to customers who are not eligible for the incentive (desktop + mobile); the campaign will end. |
| Error processing popup | The current design + error message + prompt to repeat the action will be displayed. |
| Close pop-up - unspecified contact | Design reminder—a subtle reminder of the discount option (discount for you) will be displayed. The reminder will not be displayed in the shopping cart. (desktop + mobile) |
| Close pop-up - contact successfully added | Design reminder A discreet reminder of the discount coupon with validity (?) "Your XESED discount" will be displayed. The reminder will also be displayed in the shopping cart. (desktop + mobile) |
| Save all creatives to your shared directory. | HERE |
Creatives
List of Creatives That Need to Be Prepared
| Event | Definition |
|---|---|
| Main popup | Desktop + mobile; if you want to do A/B testing, then design variants |
| Popup after successful registration | Desktop + mobile; no A/B testing required |
| Popup after unsuccessful registration (user is already known) | Desktop + mobile; if you want to do A/B testing, then design variants |
| Reminder – ask for a discount | Desktop + mobile; if you want to do A/B testing, then design variants |
| Reminder – your discount | Desktop + mobile; if you want to do A/B testing, then design variants |
| API trigger template | Template for sending the assigned code to the user |
Recommended banner dimensions
Coupons
The coupons will be generated in your e-shop. Add them to your clipboard HERE.
Coupon stacker function:
- You can add main text that will be dynamically added to the pop-up (Lego for you, Black Friday, etc.).
- You can expand the pop-up with 3 additional custom texts and personalize the scenario according to your needs (or run an A/B test to see which one is more successful).
- Whatever you add to the sheet will be synchronized with the pop-ups—you have complete control over the message.
- To load, click on Powerpop in the menu and select "Sync -> DB."
Magazine behavior
The coupon pool is updated in real time:
- Whenever a visitor sees a discount code, that code is automatically moved to the "assignedCoupons" tab.
- If the same customer tries to register again, the original coupon will be assigned to them.
- In AssignedCoupons, you can see who was assigned a discount coupon, what kind of coupon it was, and when it was assigned.
- If the coupon expires (defined at the coupon validity level in the stack, not the validity for the visitor), the coupon is automatically moved to the expiredCoupons tab.
Done
Summary – Scenario 1: Unique Coupons
The Unique Coupons scenario is designed to attract new visitors with a personalized incentive for their first purchase. When a visitor submits their email, Powerpop verifies it through the Samba API.
- If the email is new, a unique discount code is displayed directly in the pop-up and simultaneously sent via Samba API trigger.
- If the email is already registered, the visitor sees a message informing them that they are not eligible for the offer.
- The pop-up can be minimized into a reminder, which continues to display the available discount until it expires.
This scenario combines Powerpop pop-up behavior, coupon stack management, and Samba email automation to create a seamless user experience.
Key components include:
- Pop-up and reminder design for both desktop and mobile.
- Unique coupon generation managed in the e-shop and synchronized with Powerpop.
- API-triggered email sending the assigned coupon code.
- Real-time tracking of assigned and expired coupons in the coupon stack.
- Support for A/B testing of multiple incentive types (e.g., 5%–10% discount, free gift, or free shipping).
The result is a flexible, data-driven acquisition campaign that delivers personalized offers, ensures each visitor receives a unique code, and provides measurable insights into what type of incentive performs best.
Want to review how to create your Powerpop campaign? This guide walks you step by step through the Powerpop Editor, covering everything from designing pop-ups to adding coupons and configuring reminders: 08. Powerpop Editor Guide