Skip to main content

Scenario

You send both SMS and email for the same campaigns — but which channel works better for which message type? You pull performance data for campaigns that ran on both channels, compare results, and run a Focus Group asking personas about their channel preferences and why. The result is a channel strategy informed by both quantitative performance and qualitative preference data.

Architecture

Code

Example Output

Error Handling

Klaviyo SMS campaigns don’t have “open rates” — only click-through and conversion rates. The code reflects this by comparing click and conversion rates only across channels.
Matching email and SMS campaigns for the same promotion requires consistent naming conventions. The sample data uses hardcoded pairs — in production, match by campaign name, tag, or a shared identifier.
SMS audiences are typically 30-50% the size of email audiences. Performance comparisons should account for self-selection bias — SMS subscribers may already be more engaged.
Personas may not perfectly represent real SMS/email preferences. Combine Focus Group insights with actual Klaviyo A/B test results for final channel decisions.

What’s Next

Klaviyo Integration

Back to Klaviyo integration overview

Product Affinity Focus Group

Cross-sell validation with Likert + NPS

Focus Groups API

Full reference for POST /api/v1/focus-groups

Mave Agent

Full reference for POST /api/v1/mave/chat