Dr Free Gift & BOGO

Why is my discount usage not counted in Shopify?

APP SETUP

Why is my discount usage not counted in Shopify?

When using Dr Free Gift, BOGO Buy X Get Y app with draft orders enabled, you may notice that your discount usage counts aren’t being tracked in Shopify’s analytics. This article explains why this happens and what you should know about discount tracking when using draft orders.

Understanding the Behavior

When our app operates in draft order mode (which prevents additional discounts from being added at checkout), the discount applied to the draft order is technically different from the original Shopify discount code. While the calculation and appearance remain the same, the system treats it as a separate entity.

Technical Explanation

How Draft Orders Handle Discounts

  1. Draft Order Creation
    • When a customer has a gift in their cart and initiates checkout
    • The app creates a draft order to secure the gift qualification
    • Any applicable discounts are recreated within the draft order
  2. Discount Application
    • The discount amount matches the original code
    • The calculation method remains identical
    • The customer experience is unchanged
    • However, the discount is applied as a draft order discount, not the original code

 

Important Considerations

While this behavior affects discount tracking, it’s a necessary trade-off to maintain:

  • Secure gift qualification validation
  • Prevention of checkout manipulation
  • Protection against potential gift-related fraud
  • Proper order processing with both gifts and discounts

 

Alternative Options

If precise discount usage tracking is crucial for your business:

  1. Consider using normal orders instead of draft orders (option in our app Settings)
  2. Be aware this reduces protection against checkout manipulation
  3. Weigh the trade-off between tracking accuracy and security
  4. Consult with our support team for guidance based on your specific needs