Built-in Discount Code Creation

Built-in Discount Code Creation

Create discount codes on the fly right from OptiMonk and have them synced with your store.

Built-in Discount Code Creation is an OptiMonk feature for Shopify stores that lets you create and publish fixed discount codes directly from the OptiMonk campaign editor — without opening a separate browser tab or logging into your Shopify admin. When you type a code that does not yet exist in your Shopify store, OptiMonk detects this automatically and offers to create it for you in one click. The code is then synced to your Shopify Discounts page in the background and is immediately accepted at checkout. This eliminates the back-and-forth between two platforms that slows down campaign setup.

Key benefits

  • Stay in one tool: Build your popup and create the discount code without switching between OptiMonk and your Shopify admin — saving multiple minutes per campaign.
  • Automatic validation before launch: OptiMonk checks whether the code exists in your Shopify store and warns you if it is missing or expired, preventing broken discount campaigns.
  • Instant Shopify sync: Created codes are forwarded to your Shopify Discounts page in the background and become active immediately — no delay, no manual publishing step.

How it works

Step 1
Type your discount code in the editor

While building your OptiMonk campaign, add a coupon element and type the fixed code you want to offer — for example, "SUMMER20".

Step 2
OptiMonk checks your Shopify store

OptiMonk looks up the code in your connected Shopify account. If it does not exist, you will see a one-click prompt to create it. If it exists but is expired, you will see a warning.

Step 3
Code is live in Shopify immediately

Once created, OptiMonk syncs the code to your Shopify Discounts page automatically. Visitors who see the popup can redeem the code at checkout right away.

Frequently asked questions

What is built-in discount code creation in OptiMonk?+

Built-in discount code creation is an OptiMonk feature for Shopify stores that lets you create fixed discount codes directly from the OptiMonk campaign editor. When you type a code that does not yet exist in your Shopify store, OptiMonk offers to create it for you in one click — no need to open a separate Shopify admin tab. The code is then synced to Shopify automatically and becomes active immediately.

How does built-in discount code creation work?+

While editing a campaign, you add a coupon element and type your desired discount code. OptiMonk checks whether that code exists in your connected Shopify account. If it does not, you will see a prompt to create it. If it already exists and is active, OptiMonk uses it as-is. If it is expired, you will see a warning. Created codes are pushed to your Shopify Discounts page in the background and are live within seconds.

Does built-in discount code creation work with non-Shopify stores?+

This feature is exclusive to Shopify stores because it relies on a direct API connection with Shopify's Discounts system. If your store runs on WooCommerce, BigCommerce, or another platform, you will need to create your discount codes in that platform's admin panel before adding them to your OptiMonk campaign.

What happens if the discount code already exists in my Shopify store?+

If the code is already active in your Shopify store, OptiMonk uses it as-is and no duplicate is created. If the code exists but has already expired, OptiMonk surfaces a warning so you can update the expiration date in Shopify before your campaign goes live — preventing a situation where visitors receive a code that fails at checkout.

Ready to try it?

Try OptiMonk for free

Launch your first campaign, learn what works, then scale what converts.

ecommerce