Sub topic 11
Testing Whether a Trust Signal Helps
This chapter assumes you can read basic HTML and CSS, know the common page types (landing, product, pricing), and know that a conversion rate is the share of visitors who complete a goal. Earlier chapters showed how to build testimonials, logos, reviews, and guarantees. This one covers how to find out whether a given signal improves outcomes on your site.
Why you should test
A trust signal feels helpful, but feelings are unreliable. A badge can add clutter, a slow logo strip can delay the page, and a guarantee placed in the wrong spot can raise doubts the visitor did not have. Industry advice such as "add reviews to boost sales" describes averages across many sites. Your audience and offer may behave differently.
The usual tool is an A/B test. You split visitors at random into two groups. Group A sees the current page (the control). Group B sees the same page with one change (the variant). You then compare the outcome in each group.
Design the experiment
Decide these things before you start. Choosing them after you see the data lets you read results into noise.
- Hypothesis. State the change, the expected effect, and the reason. For example: "Placing the 30-day guarantee next to the checkout button will raise completed purchases, because visitors hesitate about refunds at that step."
- Primary metric. Pick one main measure, such as purchases per visitor or sign-ups per visitor. Choose a metric close to the signal's job. A guarantee near a button affects the button click and purchase, not overall site traffic.
- Guardrail metrics. These are measures that must not get worse, such as refund rate, support tickets, and page load time.
- Change only one thing. If you add logos, rewrite the headline, and move the button, you cannot tell which change mattered.
- Sample size and duration. Estimate how many visitors you need before starting, using a sample-size calculator with your current conversion rate and the smallest lift you care about. Run the test for whole weeks, because behavior differs between weekdays and weekends.
Assign visitors consistently
A visitor must see the same version on every visit, or the data is contaminated. The sketch below assigns a group from a stable visitor ID, so the same person always lands in the same group.
function hashString(text) {
let hash = 0;
for (let i = 0; i < text.length; i++) {
hash = (hash * 31 + text.charCodeAt(i)) >>> 0;
}
return hash;
}
function assignVariant(visitorId, experimentName) {
const bucket = hashString(`${experimentName}:${visitorId}`) % 100;
return bucket < 50 ? "control" : "guarantee-near-button";
}
console.log(assignVariant("visitor-123", "guarantee-placement"));Including the experiment name in the hash keeps assignments independent across different tests. In practice, most teams use an experimentation tool rather than writing this themselves, but the principle is the same.
Read the results carefully
Suppose the control converts 200 of 5,000 visitors (4.0%) and the variant converts 235 of 5,000 (4.7%). The variant looks better, but chance alone can produce a gap like this. A statistical test tells you how likely a gap this large is if the change had no effect.
- Confidence interval. Report the range of plausible lifts, not only the single number. A range from -0.1 to +1.5 percentage points includes "no effect".
- Do not stop early. Checking daily and stopping the moment a result looks good inflates false positives. Stop at the planned sample size.
- Check the guardrails. A guarantee might raise purchases and also raise refunds. Judge the net result.
- Segment with caution. Splitting results by device or country gives many small groups, and some will look significant by luck. Treat segments as ideas for a new test, not proof.
Common errors
| Error | Why it misleads |
|---|---|
| Comparing this week to last week | Season, campaigns, and traffic mix change, so the difference is not caused by your edit. |
| Testing on too little traffic | Low-traffic pages cannot detect small lifts. Test bigger changes or use qualitative methods. |
| Measuring clicks only | A click on a badge is not a purchase. Tie the metric to the real goal. |
| Ignoring page speed | A heavy logo strip may slow the page and cancel the benefit of the signal. |
| Running overlapping tests on one page | The changes interact and blur each result. |
If your page has too little traffic for a clean A/B test, use weaker but still useful evidence. Short user interviews, session recordings, and on-page surveys asking "Is anything holding you back today?" can show which doubts a signal should address.
Exercise
Your team adds a customer logo strip to the pricing page. You compare this month's sign-ups with last month's and see a 12% rise. Why is this not good evidence that the logos worked, and what would you do instead?
Show answer
The comparison is not controlled. Traffic sources, seasonality, promotions, or other site changes could explain the rise. Run an A/B test instead. Split visitors at random, show the logo strip to one group only, use sign-ups per visitor as the primary metric, track guardrails such as page load time, and run for a planned number of whole weeks before comparing.
Exercise
A test of a guarantee badge shows purchases up 8%, but the refund rate doubled. Should you ship the variant? Explain.
Show answer
Not without further analysis. Refund rate is a guardrail metric. Compare net revenue after refunds and consider whether the guarantee wording attracts buyers who are less sure of the product. If net revenue is lower, keep the control or revise the wording, then test again.