# Add discount code to push notifications campaign

Discount code is a great way to encourage customers to purchase in your store.

With Uppush, we offer the option to include them within the campaigns when you send them out.

Under **Discount code** section, simply put in the code you wish to add, or hit *Get a discount code* to view the available codes in your store:

<figure><img src="/files/oYZAvMtGf0mODlGhBPLt" alt=""><figcaption></figcaption></figure>

Please note that this only works with static discount code, meaning that it is the same code for every customers. Make sure that this is setup properly in your store

Here is how it works:

<figure><img src="/files/xyY00BLnO0fV5Rgjx8Jd" alt=""><figcaption></figcaption></figure>

After clicking on the notification, the code will already be there when they checkout:

<figure><img src="/files/oi2tjKXiDQWCHk5OqYAt" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.uppush.io/uppush/web-push-campaign-and-segmentation/add-discount-code-to-push-notifications-campaign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
