# Visible vs Hidden Coupon Code Field A/B Test

Page: https://alidemirbas.com.tr/en/lab/ab-test-library/tests/visible-vs-hidden-coupon-code-field-ab-test

## Hypothesis

If the coupon field sits behind an "I have a discount code" link instead of an open box, shoppers without a code may be less likely to leave and hunt for one. Provided code holders can still find the field easily, revenue per visitor (RPV) could go up.

## When to run this test

Session recordings of visitors pausing on the open coupon field and then leaving, or support tickets from shoppers asking where to find a code, are signs that the box pulls shoppers off course. If the box is the distraction, payment-step exits fall and order completion rises, while coupon redemption and promotion participation stay within the loss threshold you set in advance. If invalid-code errors are unclear or checkout has other friction, fix those first, because hiding the field does not solve them.

## Primary metric

**Revenue per visitor (RPV)**: Compare post-discount revenue per assigned visitor when the coupon field presentation changes.

## Other metrics

- **Order completion rate**: Track whether more assigned visitors complete an order.
- **Coupon redemption rate**: Keep the field easy to find for shoppers with a code, and monitor redemption.
- **Payment-step exit rate**: Compare exits from checkout; this alone does not explain why a visitor left.
- **Promotion participation**: Track eligible visitors' participation against a predefined acceptable-loss threshold.

## What to check before and during the test

- **Change**: Show the coupon field collapsed behind a link instead of as an open field.
- **Keep constant**: Keep coupon rules, active promotions, field behavior and checkout flow unchanged.
- **Checkout exits**: Track checkout exits without assuming that every exit means the visitor went looking for a coupon.
- **Measurement**: Monitor coupon redemption and promotion participation.
- **Separate test**: Test link wording or field placement separately.

## What to watch when reading the result

- Decide on post-discount revenue per visitor; order completion, coupon redemption and promotion participation explain where a change comes from. If RPV rises while redemption or participation drops past your predefined threshold, shoppers with a code may not be finding the field, and the change should not go live on that basis.
- Treat the result as specific to this link wording and this placement; if you want to change either, test it separately. Check on mobile and desktop that the link is not buried below the CTA and that code holders can open the field easily.
- In a borderline result, do not treat fewer payment-step exits as proof that shoppers stopped searching for codes; back that reading with session recordings or surveys. Revenue metrics can be noisy, so also check whether the order completion gap is larger than chance with the [A/B test significance calculator](https://alidemirbas.com.tr/en/calculators/ab-test).

## Frequently Asked Questions

### Can hiding the coupon field make checkout harder for code holders?

Yes, if the link is difficult to notice. Use a clear label and an easy way to reveal the field. Monitor coupon use, checkout completion and feedback about finding the field.

### Why use revenue per visitor rather than order completion?

The presentation can affect both order count and discounts granted. Use revenue per visitor after discounts as the primary outcome. Order completion, coupon use and campaign participation help explain the change.

### Does lower checkout abandonment prove visitors stopped searching for codes?

No. Abandonment measures departure, not its reason. Do not infer a coupon-search journey from exit data alone. Use additional evidence before attributing the change to that behavior.
