Encourage your customers to make a new purchase by offering a discount coupon or free shipping on the website through an inline, and increase their recurrence and loyalty.
In this article, you will learn how to create an inline with a coupon.
How It Works
To display the inline, we will configure a web content workflow inline to appear on the page when a contact is visiting your website's home page. Depending on the amount of the previous purchase, we will show one incentive or another. If the last purchase was €60, we will show a discount coupon, and if it is less, a free shipping coupon.
Workflow Configuration
STEP 1. "Start" Node
(In this node, the audience to which the action will be directed will be established).
1. Click on (Edit node settings) of the "Start" node.
2. In Select a restriction, check "My entire list".
3. In Select data source, check "All existing and new ones".
4. Click on Update.
STEP 2. "When visiting page" Node
(In this node, contacts who visit the "Home" page of the website will be detected).
5. Click on (Edit node settings) of the "When visiting page" node.
6. In Configure included pages, choose "Any of the following pages exactly" and enter the URL of your website's home page in the provided space.
7. Click on Limitations and uncheck the box "Deactivate after triggering".
8. Click on Update.
STEP 3. "Get last cart" Node
(In this node, the contact's last active cart will be obtained).
9. Click on (Edit node settings) of the "Get last cart" node.
10. In Select cart status, choose the option "Purchased" from the dropdown.
11. Click on Update.
STEP 4. "Check value" Node
(This node checks if the size of the list obtained from products is greater than 0).
12. Click on (Edit node settings) of the "Check value" node.
13. Drag the "Number of different products" field from "Get last cart" towards the left block.
14. Next, in Operator, select "Is greater than".
15. Drag the "Literal" field to the right block and set it to "60".
16. Click on Update.
STEP 5. First "Assign coupon" Node
(In this node, the coupon to be sent in the email will be obtained).
17. In the union of this node with the previous one, click on the circle until "Yes" appears.
18. Click on (Edit node settings) of the "Assign coupon" node.
19. Select the set of coupons created for this workflow.
20. Click on Finish .
STEP 6. First "Send web content: inline" Node
(In this node, contacts who have made a purchase will be sent an inline with the discount coupon).
21. Click on (Edit node settings) of the "Send web content" node.
22. Select the corresponding Inline content and click Next .
23. In Settings, select Class in Selector and enter "relatedProducts" and, in Position relative to selected element, check Replacing the interior.
24. In the Variables step, associate the variables if there are any.
25. Click on Finish .
STEP 7. Second "Assign coupon" Node
(In this node, the coupon to be sent in the email will be obtained).
26. In the union of this node with the previous one, click on the circle until "No" appears.
27. Click on (Edit node settings) of the "Assign coupon" node.
28. Select the set of coupons created for this workflow.
29. Click on Finish .
STEP 8. Second "Send web content: inline" Node
(In this node, contacts who have made a purchase will be sent an inline with the free shipping coupon).
30. Click on (Edit node settings) of the "Send web content" node.
31. Select the corresponding Inline content and click Next .
32. In Settings, select Class in Selector and enter "relatedProducts" and, in Position relative to selected element, check Replacing the interior.
33. In the Variables step, associate the variables if there are any.
34. Click on Finish .
Keep learning!
To make the most of your Connectif account, we recommend continuing with the following articles:
- Mass email campaign, to send a newsletter to all your contacts.
- Offer recommender, to display a banner of products with offers.
- Product page recommender, to show recommended products on the product page.
- Remarketing, to send an email one day after visiting a product.