Sure. So, let us say I use discount codes for PROMOTIONS and NEW CUSTOMERS. So, when Shopify generates a random code like this, 0DHK9L, if I am able to add a prefix field like PROMO for promotions and NEW for discounts given to new customers, I would be able to categorise the discount as a discount given for the respective type. Please let me know if it’s not clear
Topic summary
Goal: Categorize discount codes (and subcategories) for analytics by adding identifiable prefixes during code generation.
Clarification: Desired prefixes like “PROMO” and “NEW” appended to Shopify’s random codes (e.g., PROMO-0DHK9L) to label the discount purpose.
Proposed solutions:
- Third‑party apps that support patterned codes with prefixes; a specific suggestion was Avada Discount Code Generator, which lets you define a prefix in the code pattern.
- Manual approach: pre‑generate discount codes in batches with the chosen prefixes to ensure consistent categorization.
Open points:
- No confirmation of a native Shopify field for adding custom metadata or a dedicated prefix field in discount generation.
- The original poster requested concrete app recommendations; one app was provided, others may exist via the Shopify App Store search (e.g., “prefix discounts”).
Key concept: Prefix = short label placed at the start of a code to indicate its category (e.g., promotion vs. new customer).
Status: Ongoing; practical workarounds identified via apps or manual generation, but no built‑in Shopify solution confirmed.