shopify-admin-discount-roi-calculator

Calculates Shopify discount ROI via GraphQL queries and outputs CSV or human reports with cannibalization flags.

174|18|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shopify-admin-discount-roi-calculator
Source: https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/conversion-optimization/shopify-admin-discount-roi-calculator
Command: npx skills add https://github.com/40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Discounts can look profitable on the surface but still drain margin through discount cost and cannibalization, making it hard to know which codes to keep, change, or retire.

Core Features & Use Cases

  • True ROI calculation: Measures ROI by comparing discounted order revenue against discount cost.
  • Baseline comparison: Contrasts discount-period performance versus non-discount orders to detect lift or cannibalization.
  • Customer acquisition insight: Estimates new-customer share to judge whether the discount is driving acquisition or mostly shifting existing demand.
  • Scope: Read-only analysis for both discount codes and automatic discounts over a configurable lookback window.

Quick Start

Run shopify-admin-discount-roi-calculator for the last 90 days to generate a discount_roi_<date>.csv report evaluating ROI, baseline AOV impact, and cannibalization risk for each discount code and automatic discount.

Frequently Asked Questions about shopify-admin-discount-roi-calculator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate the true ROI of Shopify discount codes?

Calculate Shopify discount ROI by measuring attributed revenue lift against discount cost. This analysis contrasts discounted order revenue with non-discount baselines to detect true profitability and cannibalization risk.

How does discount cannibalization affect my Shopify store margins?

Discount cannibalization drains margins when discounts shift existing demand rather than driving new revenue. Baseline comparison against non-discount orders detects this lift loss and flags cannibalization risk in the ROI report.

Can I analyze both automatic discounts and discount codes in Shopify Admin?

Yes, you can analyze both Shopify automatic discounts and discount codes. The analysis queries discountNodes and orders via GraphQL to evaluate performance across a configurable lookback window.

Do I need GraphQL read access to measure Shopify customer acquisition from discounts?

Yes, you need authenticated Shopify read access to discounts and orders via GraphQL. This access enables new-customer share assessment to determine if discounts drive acquisition or shift existing demand.

What is the best way to export a Shopify discount performance report?

The best way to export discount performance is generating a discount ROI CSV report. It evaluates ROI, baseline AOV impact, and cannibalization risk for each discount over a configurable lookback window.

When should I retire a Shopify discount code based on ROI analysis?

You should retire a Shopify discount code when ROI analysis shows negative revenue lift or high cannibalization risk. Comparing discount-period performance against non-discount baselines reveals which codes drain margin.