Conversion Optimization
Tylko odczyt — bezpieczne
Discount A/B Analysis
Compare how two discount codes perform on conversions and AOV.
IntermediateAPI 2025-01
Command
bash
shopify-admin-skills:discount-ab-analysis store=your-store.myshopify.com### name
Discount A/B Analysis — Which Code Drives More Revenue
### oneLiner
Compares two or more discount codes by redemption count and revenue generated over a date range — no separate analytics app required.
### whenToUse
- After a campaign that ran two different codes, to decide which variant to repeat.
- Before the next seasonal promotion — check historical data for similar codes before setting a discount percentage.
- When you suspect one code is cannibalizing another and want to confirm with hard numbers.
### howToRun
```
Run skill: shopify-admin-discount-ab-analysis
Store: yourstore.myshopify.com
discount_codes: ["SAVE10", "WELCOME15"]
date_range_start: "2025-01-01"
date_range_end: "2025-01-31"
```
### whatYouGet
An inline comparison table with columns: `code`, `async_usage_count`, `orders_in_range`, `total_revenue`, `avg_order_value`, `revenue_per_use`. The key metric is `revenue_per_use` — it shows which code generates more revenue per redemption, leveling the comparison when volumes differ. `async_usage_count` is the lifetime total uses; `orders_in_range` is redemptions within your date window only.
### polishContext
### safetyNote
Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.