> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.avada.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to configure coupon code in Newsletter Popup?

There are two types of coupons that can be inserted into your newsletter popup.

-   **Static coupon**: a certain code for all users.
-   **Dynamic coupon**: a random code for each user.

The discount applied at checkout is based on the rule you create in your store backend. 

To generate and import dynamic coupons into AVADA Email Marketing, [follow this guide](https://help.avada.io/help/how-to-generate-and-import-coupon-codes-into-avada-email-marketing)

To add a new coupon into your popup, go to the Thank You page, you can either:

-   Click the **Coupon component** on the preview
-   Double-click the **Coupon code** field under general settings.


![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/anh-1_1uy0lrl.png)

Next, click **Open settings**. 

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/anh-2_zed29a.png)

**1. Add a static coupon**

Choose **Coupon Type** as **Static coupon** > Enter your coupon code > Hit the Save button. 

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/anh-3_mdczj7.png)

**2. Add a dynamic coupon**

-   Choose the **Coupon type** as a **Dynamic coupon** > Select the code list you have imported to the app > Hit the Save button.

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/anh-4_1cxk0r9.png)

-   Save coupon

![](https://storage.crisp.chat/users/helpdesk/website/b66870a37c890800/anh-5_71ot03.png)