---
updatedAt: 2026-04-14T05:29:57.000Z
agentTools:
  projectIndex: https://docs.developers.convert.com/llms.txt
---

# Onboarding Social Proof Nudge

```javascript Node.js
// --- Server Implementation ---

// 1. Global Initialization
import { ConvertSDK } from '@convertcom/js-sdk';

const convert = new ConvertSDK({
  sdkKey: 'YOUR_SDK_KEY',
  dataStore: null,
});

// 2. Per-Request Logic
async function handleOnboardingStep(req, res) {
  await convert.onReady();
  const user = req.user;

  const context = convert.createContext(user.id);
  const variation = context.runExperience('onboarding-social-proof-test');

  let config = { showSocialProof: false, showSecurityBadges: false };

  if (variation && variation.key === 'social-proof') {
    config = { showSocialProof: true, showSecurityBadges: false };
  } else if (variation && variation.key === 'social-proof-security') {
    config = { showSocialProof: true, showSecurityBadges: true };
  }

  // Fetch live social proof data
  const userCount = await db.users.count();
  const testimonial = await db.testimonials.getRandom({ rating: 5 });

  res.render('onboarding-connect', {
    ...config,
    userCount: formatNumber(userCount),
    testimonial,
  });
}


// --- Goal Tracking ---

// Called when the user completes this onboarding step
const context = convert.createContext(user.id);

context.trackConversion('onboarding-step-completed');
```
```typescript TypeScript
// --- Server Implementation ---

// 1. Global Initialization
import { ConvertSDK, Context } from '@convertcom/js-sdk';

const convert = new ConvertSDK({
  sdkKey: 'YOUR_SDK_KEY',
  dataStore: null,
});

// 2. Per-Request Logic
async function handleOnboardingStep(req: any, res: any) {
  await convert.onReady();
  const user = req.user;

  const context: Context = convert.createContext(user.id);
  const variation = context.runExperience('onboarding-social-proof-test');

  let config = { showSocialProof: false, showSecurityBadges: false };

  if (variation && variation.key === 'social-proof') {
    config = { showSocialProof: true, showSecurityBadges: false };
  } else if (variation && variation.key === 'social-proof-security') {
    config = { showSocialProof: true, showSecurityBadges: true };
  }

  const userCount = await db.users.count();
  const testimonial = await db.testimonials.getRandom({ rating: 5 });

  res.render('onboarding-connect', {
    ...config,
    userCount: formatNumber(userCount),
    testimonial,
  });
}


// --- Goal Tracking ---

// Called when the user completes this onboarding step
const context: Context = convert.createContext(user.id);

context.trackConversion('onboarding-step-completed');
```

# Overview

<!-- javascript@4-10 -->

**Type:** `a/b_fullstack` | **Key:** `onboarding-social-proof-test` | **Target:** `/onboarding`

**Category:** Activation

Add social proof and security reassurance to high-friction onboarding steps to lift completion.

# Per-Request Logic

<!-- javascript@12-38 -->

Inject the social-proof and security-badge components into the high-friction step when the assigned variation indicates so. Apply the same pattern to every friction step in onboarding for compounding gains.

# Goal Tracking

<!-- javascript@40-45 -->

Track the conversion event when the user completes the target action.

# Hypothesis

We believe that adding social proof (user count, testimonials, security badges) to high-friction onboarding steps will increase completion rates. Users hesitate at steps that require trust (connecting email, granting permissions, entering payment info) — social proof reduces this hesitation.

# Targeting

All new users at the specific high-friction onboarding step (e.g., 'Connect your email,' 'Grant permissions,' 'Link your account').

# Control

Current onboarding step with standard copy and layout.

# Variations

**Variation A:** Same step with added social proof — user count ('Join 50,000+ professionals'), a short testimonial, and a brief description of what the connected feature does.

**Variation B:** Same step with social proof plus security reassurance ('Your data is encrypted,' 'We never read your emails,' trust badges).

# Primary Metric

Step completion rate (% of users who complete this specific onboarding step).

# Guardrail Metric

Overall onboarding completion rate — improving one step shouldn't cause drop-off at subsequent steps.

# Benchmark

Email connect rate increased from 57.1% to 59.8% (+4.7%, p=97.5%). Modest but statistically significant — and at scale, a 2.7 percentage point increase compounds across thousands of users. (Source: Fyxer)

# Key Considerations

- The uplift may seem small (+2-5%), but at scale this compounds. Fyxer's 2.7 percentage point increase was statistically significant at p=97.5%.
- Apply this pattern to every high-friction step, not just one. Each step you improve compounds into a significantly better overall funnel.
- Use real numbers for social proof. '50,000+ professionals' is more credible than 'Thousands of users.'
- The security reassurance variant matters most for steps involving sensitive data (email access, payment, permissions). For less sensitive steps, social proof alone may be sufficient.
- Refresh testimonials periodically. Stale social proof loses credibility.