Avimee Herbal — Quiz & Analytics Platform
Client Project
Problem
Avimee Herbal wanted to improve product discovery and conversion by guiding users through a personalized quiz. However, they lacked visibility into the complete user journey — from quiz start to purchase completion. They needed to track which stores drove engagement, identify users throughout the funnel, and understand conversion rates at each step.
Solution
Built a complete quiz-to-checkout flow where users enter their phone number and name in the quiz itself for identification. After submitting the quiz, users receive a personalized report with product recommendations. They can select products directly from the report and proceed to checkout via Shopify SDK. Integrated WebEngage analytics to track every event from quiz start to checkout completion, with user identification maintained throughout. Created a store management module in Medusa Admin where admins can create stores and view quiz submission counts per store. Implemented store code tracking via URL parameters (e.g., ?store-code=avimee-ahmedabad) that persists in local storage and is passed to both WebEngage events and the quiz submission API for store-level analytics. Quiz questions and configuration are managed through Medusa Admin.
Key Features
- • Complete Quiz-to-Checkout Flow
- • Personalized Report with Product Recommendations
- • Direct Product Selection & Shopify Checkout
- • User Identification (Phone & Name) in Quiz
- • WebEngage Analytics - Full Funnel Tracking
- • Store-Level Attribution via URL Parameters
- • Medusa Admin - Store Management & Quiz Configuration
Architecture
The system is built with Next.js for the quiz and report frontend. When a user accesses the quiz via a store QR code, the store code is extracted from the URL parameter (e.g., ?store-code=avimee-ahmedabad) and stored in browser local storage to persist across the entire flow. Users enter their phone number and name during the quiz, which are used for user identification in WebEngage analytics. The quiz questions and configuration are fetched from Medusa Admin. Upon quiz submission, the store code from local storage is sent to both the submission API and WebEngage events. The report page displays personalized recommendations with products fetched via Shopify SDK. Users can select products and checkout directly through Shopify. WebEngage tracks every event: quiz start, question answered, quiz completion, report view, product selection, and checkout completion — all with user identification and store attribution. The Medusa Admin interface allows creating stores, managing quiz content, and viewing analytics dashboards showing quiz submission counts per store.
System Components
- • Quiz Frontend: Next.js with user identification (phone & name input), quiz questions from Medusa Admin
- • Store Attribution: URL parameter (?store-code=xxx) captured and stored in local storage, passed to WebEngage and submission API
- • Report & Checkout: Personalized report page with product recommendations, direct product selection, and Shopify checkout integration
- • Analytics Layer: WebEngage integration tracking all events (quiz start, completion, report view, product selection, checkout) with user identification and store attribution
- • Admin Tooling: Medusa Admin for store creation, quiz configuration, and viewing quiz submission counts per store
- • E-commerce Layer: Shopify SDK for product data retrieval and seamless checkout flow
Tech Stack
Impact & Learnings
Enabled Avimee Herbal to track the complete user journey from quiz start to checkout completion with full user identification and store-level attribution. The seamless quiz-to-checkout flow improved conversion rates by reducing friction. Store-level analytics provided clear visibility into which physical stores drove the most engagement and conversions, enabling data-driven decisions for in-store marketing campaigns. The system demonstrated strong ownership across frontend development, analytics integration, e-commerce workflows, and admin tooling.