If you've decided to offer a discount to encourage a conversion or reward customer loyalty, it's also worth considering making the redemption process as easy as possible. A "coupon" link does just that. It applies the associated discount to the customer's cart automatically, which simplifies the checkout procedures, enhances the customer's experience, and allows the customer to buy quickly.
Create a link
Your discount link must follow the URL format outlined below:
https://my-store.com/discount/{{signup.coupon_code}}?redirect=/cart
Please make sure to replace the my-store.com with your domain.
Use the link
Now that you have the link ready to go, it can be used to automatically apply the coupon after an individual submits a campaign or after they click a hyperlinked piece of campaign content.
Apply after a sign-up
To apply a code immediately upon the submission of a campaign:
- Navigate to Campaigns.
- Select or create a campaign to associate with the "coupon" link.
- Go to the Create step of the campaign builder and locate the After Signup Action section. This section is only available if a display has been added to the campaign.
- Choose the Redirect to url option and paste the URL you have created.
- Select the Save changes button and finish configuring the campaign as usual.
The campaign will now redirect the individual to their cart and apply the discount automatically at checkout.
Apply after a click
To apply a code immediately following a click:
- Navigate to Campaigns.
- Select or create a campaign to associate with the "coupon" link.
- Go to the Create step of the campaign builder and locate the Thank You Page Design section. This section is only available if a display with form fields has been added to the campaign, and the campaign's After Signup action is set to Show thank you page.
- In the editor, select the {{coupon_code }} liquid variable that Privy uses to populate your coupon code into your thank-you page, then click on the hyperlink option to link the highlighted liquid variable text.
- In the prompt, paste the URL you created earlier and confirm by clicking Insert Link.
- Design the rest of the thank-you page, select the Save button at the top-right, and finish configuring the campaign as usual.
Following a click, the link will now redirect the individual to their cart and apply the discount automatically at checkout.