Skip to content
DMpop

Discount code in Instagram DMs

Comment CODE.The couponlands in DMs.

To send a discount code in Instagram DMs automatically, put the code and its terms in a comment-to-DM campaign and ask people to comment a keyword like CODE. Everyone who does gets the DM, with a button to your store. On Shopify, use a shareable discount link so the code is already applied at checkout. DMpop sends the same code to everyone; it doesn't create unique codes.

Updated

On your reel

@priya.glows CODE 😍

In her DMs, from you

Hi priya.glows! Your code is GLOW15: 15% off the new serum, min order ₹699, valid till Sunday midnight. Tap below and it's already applied ✨Shop with 15% off

Example. Names and brand are made up.

How to send a coupon code on Instagram DM automatically

Make the code.Let commentsdeliver it.

Comment for discount code, start to finish. The store side first, because that's where the offer actually lives.

  1. Create the discount in your store. Set the value, minimum order, end date and any usage limits there. DMpop sends the code; your store decides whether it works.
  2. On Shopify, get a shareable link. Open the discount, click Promote, then Get a shareable link, pick the page it opens to, and copy it. Not on Shopify? Use a product or collection link and put the code in the text.
  3. Connect Instagram to DMpop through Meta's login. You need a Business or Creator account.
  4. Create a campaign on the post, your next reel, or every post for a store-wide sale.
  5. Add keywords like CODE, OFFER, DISCOUNT and COUPON. Matching ignores case, emoji and punctuation, and works in Hindi: कोड.
  6. Write the DM with the code and the terms in it, paste the link, and label the button “Shop with 15% off” (20 characters at most).
  7. Test from a second account: tap the button, add something to the cart and check the discount is applied at checkout. Then post.

Discount code in the DM text, plus a link that applies it

The code to read.The link to tap.

Send both. The code works on any device and in any checkout. The link saves a step.

Put the code in the message

Write the code in capitals in the DM itself, with what it gets them: “GLOW15: 15% off, min order ₹699, valid till Sunday.” People screenshot it, come back later, or shop on your site from a laptop. A code that's only inside a link is lost the moment they close the tab. {username} becomes their Instagram handle.

Shopify: a link with the discount pre-applied

From Shopify's help centre: open the discount in your admin, click Promote, then Get a shareable link, choose the page, product or collection it opens to, and copy it. Shopify says the discount then applies automatically to the customer's next checkout cart, or to carts they already have open. Things to know:

  • It opens your home page by default. To land on a collection, add a redirect yourself:

yourstore.com/discount/GLOW15?redirect=/collections/serums

  • It only works while the discount is active, and each link carries one discount.
  • Discounts created by a third-party app don't get a link from your Shopify admin; check that app's docs.
  • You can attach a marketing campaign when you create the link, which adds its UTM tags, so Instagram DM traffic shows up separately in your reports.

Not on Shopify? Link to the product or collection and keep the code in the text. It works with any store, and with marketplace listings that accept your coupon.

D2C Instagram comment to DM offer: example campaigns

Two set-ups.Copy and tweak.

Every DM says the code, the value, the minimum order and the end date. That one line saves you a hundred 'code not working' replies.

  • Skincare launch

    A launch code on the launch reel.

    Keywords
    CODE, SERUM, OFFER, कोड
    Post
    Next reel, set up the night before.
    DM
    Hi {username}! Your launch code is GLOW15: 15% off the new serum, min order ₹699, valid till Sunday 11:59 pm. Tap below and it's already applied ✨
    Button
    Shop with 15% off
    Public reply
    Code bhej diya, DMs check karo 💛
  • Ethnic wear sale

    One code, every post, for a week.

    Keywords
    SALE, CODE, DISCOUNT, COUPON
    Post
    Every post, paused when the sale ends.
    DM
    Hey {username}! Use INSTA10 for 10% off kurtas and sets this week. Not valid on already-discounted items. One use per customer 🙏
    Button
    Shop the sale
    Public reply
    Sent! Code is in your inbox ✨

Public replies are optional. Add up to 10 variations and DMpop picks one at random for each matching comment, so your replies don't all read the same. For more keyword ideas, see Instagram keyword ideas.

Limited-time offers on Instagram DM

The store ends it.You pause the DMs.

DMpop campaigns don't have an end date. Your store's discount does. Use both.

  1. Set the end date on the discount in your store. That is what actually stops the code working. A DM can't take a code back once it's sent.
  2. Pause the campaign when the offer ends. New commenters stop getting an expired code. Pausing keeps the links in DMs already sent working.
  3. Point the link somewhere useful. With Count link taps on (the default), editing the campaign's link changes where already-sent buttons go. After the sale, point it at your current offers page so late taps don't hit a dead discount. The code written in old DMs stays as it was.
  4. Don't delete the campaign. Deleting it deletes its tracked links, and the buttons in every DM it sent stop opening your store.

Keep the offer honest

Say the terms in the DM: value, minimum order, what's excluded, the end date and time. Don't invent urgency. India's consumer protection rules cover misleading ads, and the 2023 dark-patterns guidelines list false urgency as one. This isn't legal advice; if a campaign is big or unusual, ask someone who does give it.

Meta's spam policy also says not to offer things of monetary value in exchange for engagement (its example is a free phone for liking a Page). A discount that people ask for is a different thing, but frame it that way: the comment is how they ask for the code, not the price of it. Keeping the same code on your site or in your bio helps.

Follow gate and measurement

Followers, taps,orders.

The offer can grow your Instagram too, and you can see what it earned.

The follow gate for follower growth

With Ask them to follow first on, DMpop checks with Instagram whether the person follows you before it sends the code. Non-followers get a “follow me first” message and a button that checks again. It turns a sale into followers, but some people won't follow, so fewer get the code. Meta's spam policy also has a line on gating things behind follows; read is Instagram auto DM safe? before you use it on every offer. How the check works: Instagram follow to get link.

Link clicks and click rate

Each campaign shows DMs sent, link clicks and click rate, with each person counted once. Lots of DMs and few taps means the DM isn't selling the offer. Lots of taps and few orders means the problem is on the product page or at checkout.

Orders, in your store

DMpop sees the tap, not the order. Give each campaign its own code, used nowhere else, and its redemptions in your store are the sales that campaign drove.

Reports for brands and clients

Running offers for a client? Click Share report on the campaign. They get a read-only page with DMs sent, clicks, click rate, the last 7 days and top keywords, without a login and without commenters' names. Agencies: see Instagram automation for agencies.

A sale reel that takes off can hit Instagram's limit of 750 private replies an hour. DMpop waits, retries and logs anything it had to skip. More in Instagram DM limits.

Questions

Discount codes,answered.

How do I send a discount code in Instagram DMs automatically?

Use a comment-to-DM campaign. Put the code and its terms in the DM text, add a link to your store, and ask people to comment a keyword like CODE. Everyone who comments the keyword gets the DM. On Shopify, use a shareable discount link so the code is applied at checkout.

Can DMpop give each person a unique code?

No. A campaign sends the same message to everyone, so everyone gets the same code. Control how it's used in your store: one use per customer, a minimum order, an end date. If you need one code per person, you need a tool that creates codes in your store.

What is a Shopify shareable discount link?

A link from the discount's Promote menu (Get a shareable link). Shopify says the discount then applies automatically to the customer's next checkout cart. It opens your home page by default; you pick a product, collection or page, or add ?redirect=/path to the link.

Can I stop the offer at a set time?

Set the end date on the discount in your store; that's what stops the code working. DMpop campaigns don't have an end date, so pause the campaign when the offer ends. Pausing keeps links in DMs already sent working; deleting the campaign breaks them.

Can I see how many people used the code?

DMpop shows DMs sent, link clicks and click rate per campaign. Redemptions happen in your store. Use a code that only appears in this campaign, and its uses in your store are your Instagram sales from it.

Is 'comment for a discount code' allowed on Instagram?

Sending a code to people who ask for it uses Meta's official private-reply API, which exists for this. Meta's spam policy does say not to offer things of monetary value in exchange for engagement, so treat the comment as a way to ask for the code, keep the code available elsewhere too, and keep the offer honest.

Is it free?

DMpop's Free plan includes 1,000 DMs a month, 5 live campaigns and every feature. Paid plans are ₹99, ₹499 and ₹999 a month, GST included, paid by UPI or card.

Free to start

Post the offer.Let the code pop.

Connect your Instagram, pick a keyword, paste your code and link. The Free plan includes 1,000 DMs a month and every feature, and paid plans start at ₹99.