> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.pop-convert.com/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).

# Discount codes: static and dynamic

Pop Convert popups can give your visitors a discount code. There are two kinds of codes: **static** and **dynamic**.
This guide explains each kind, when to use it, how to send the code in an email, and how to protect your discounts.

### The two kinds of codes
|  | **Static code** | **Dynamic code** |
| ---- | ---- | ---- |
| **What it is** | One fixed code | A unique code for each subscriber |
| **Who sees it** | Every subscriber sees the same code | Each subscriber gets their own code |
| **Example** | `WELCOME10` for everyone | `WELCOME10-4F7K` for Anna, `WELCOME10-9B2M` for Joe |
| **Can it be shared?** | Yes. It is the same for everyone, so anyone can pass it on | A dynamic code is made for one subscriber. It is not given out to everyone |
| **Good for** | Public promotions and simple offers | Signup rewards, and limiting abuse |

---
### Static codes
**What it is:** You set one fixed code on your popup. Every subscriber sees the same code.
**Good for:**
* Sales and announcements that are open to everyone
* Simple offers where you do not mind who uses the code
* Quick setups
**Things to know:**
* A subscriber can give the code to anyone, even people who did not subscribe.
* The code can be posted online, for example on coupon websites or social media.
* A fake signup gains nothing new, because everyone already has the same code. But the code can spread far beyond your email list.
If sharing is a concern, use the Shopify discount settings below, or use a dynamic code.

---
### Dynamic codes
**What it is:** Pop Convert creates a unique code for each subscriber who signs up.
**Good for:**
* Rewarding people who subscribe
* Keeping each code tied to one subscriber, so it is not given out to everyone
* Reducing code sharing
**Things to know:**
* Some subscribers try to sign up many times with different email addresses to get many codes. Pop Convert helps with this. See the next section.

### Stopping repeat signups

For dynamic popups created with the Pop Convert AI Editor, Pop Convert shows the same code to subscribers who come from the same IP address.
An IP address is a number that identifies an internet connection, like your home Wi-Fi or an office network.
This also works when the subscriber switches to a different browser or opens an incognito or private window. In these cases, the visitor will see the same code again.
**Example:**
1. A subscriber signs up with `anna@example.com` and sees the code `WELCOME10-4F7K`.
2. The same person opens a private window and signs up with `anna.two@example.com`.
3. Pop Convert detects the same IP address. The subscriber is likely to see `WELCOME10-4F7K` again, not a new code.
**Limits:**
* It is not a perfect block. If a subscriber changes their internet connection (for example, from Wi-Fi to mobile data, or by using a VPN), they may look like a new visitor and see a different code.
* People on the same network may share the same code. Family members, coworkers, or people on public Wi-Fi may come from the same IP address.


---
### Which one should I use?

| If you want to... | Use |
| ---- | ---- |
| Give everyone the same code | **Static** |
| Give each subscriber their own code | **Dynamic** |
| Make it harder for a code to be shared online | **Dynamic** |
| Stop people signing up many times for many codes | **Dynamic** (AI Editor popups), plus the Shopify settings below |
| Run a quick public sale | **Static** |
---

---
### Sending the code in an email
Subscribers don’t always copy their code from the popup. You can also send the code to them by email, so they can find it later in their inbox.
Pop Convert adds the correct code to the email for you. This works for both static and dynamic codes.
To learn how to set it up, see [Sending discount codes in your emails](https://help.pop-convert.com/en/article/discount-1j53oyf/).

---
### Protect your discounts in Shopify

Pop Convert controls which code a subscriber sees. You can also control how each code is used. Do this in your Shopify admi&#x6E;**,** in the settings of the discount. These settings are very useful for static codes, because many people share one code.
1. Go to Discounts and open your discount code.
2. Look for these options:
   * Limit to one use per customer. Each customer can use the code once.
   * Limit the total number of uses. The code stops working after a set number of orders.
   * Minimum purchase requirement. The discount only applies to orders above a set amount.
   * Active dates. The code stops working on a date you choose.
3. Click Save.

---
### Common questions
* Can subscribers still enter different email addresses?
  * Yes. Pop Convert does not stop them from typing a different email. But for dynamic popups created with the AI Editor, they are likely to see the same code, so they do not gain anything.
* Why do I see the same code every time I test my popup?
  * For dynamic popups created with the AI Editor, Pop Convert shows the same code to visitors from the same IP address. A new browser or an incognito window will most likely not give you a new code.
* Does the repeat-signup protection apply to my static popup?
  * No. A static popup shows the same fixed code to everyone, so there are no different codes to limit. Use the Shopify discount settings above to control how the code is used.
* When does the code expire?
  * The code follows the end date you set on the discount in Shopify. The merge tag only inserts the code. It does not change the end date.

### Need help?

Contact our support team through the chat in the Pop Convert app. We are happy to help.