With your permission, I can count affiliate and Whop clicks (destination and page, without a visitor identifier or URL query), enable the Whop pixel to measure joins, and keep the UTM parameters of the link you arrived through for this visit, to add them to the link that books a call on Calendly. I also enable Google Analytics (Google), which measures page visits and sign-ups, such as a mentoring application or a GQ Start sign-up. The pixel and Google Analytics store cookies and a browser identifier. None of this starts before you accept. Privacy policy

Genesis GuideE-commerce · AI
ENPL
GuideResourcesdawidgac.com
Store Management
Zmienia dane w sklepie — wymagany dry_run

Discount Hygiene Cleanup

Find and remove expired or unused discount codes from your store.

BeginnerAPI 2025-01

Command

bash
shopify-admin-skills:discount-hygiene-cleanup store=your-store.myshopify.com
### name Discount Hygiene Cleanup — Remove Expired and Zero-Use Codes ### oneLiner Detects expired codes, zero-redemption codes, and duplicates — and optionally deletes them permanently. ### whenToUse - Quarterly after campaign season so the discount panel isn't cluttered with hundreds of dead codes. - Before launching a new campaign — clear old codes with similar names to avoid confusion in reports. - When discount reports look inflated by codes with `asyncUsageCount: 0`. ### howToRun ``` Run skill: shopify-admin-discount-hygiene-cleanup Store: yourstore.myshopify.com flag_expired: true flag_zero_usage: true zero_usage_min_age_days: 30 dry_run: true ``` ### whatYouGet CSV file `discount_cleanup_YYYY-MM-DD.csv` with columns: `discount_id`, `title`, `status`, `created_at`, `ends_at`, `usage_count`, `usage_limit`, `flag_reason`, `action`. Summary: discounts scanned, flagged as expired, flagged as zero-use, and total deleted. With `dry_run: true` the list shows what would be removed without executing the mutation. Keep `zero_usage_min_age_days` at 30+ to avoid deleting codes from recently launched campaigns. ### polishContext ### safetyNote This skill executes the `discountCodeDelete` mutation, which permanently removes discount codes. Deleted codes cannot be recovered — customers who received them will find them invalid. Before running without `dry_run`, check with your email marketing team that none of the flagged codes are in a scheduled campaign that hasn't launched yet.

Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.

Dawid Gac
WebsiteGuideResources
Genesis Guide by Dawid Gac© 2026 Dawid Gac