December 29, 2025

The Relationship Autopilot Quiz

import React, { useState, useEffect } from 'react'; import { ArrowRight } from 'lucide-react'; const RelationshipQuiz = () => { const [stage, setStage] = useState('landing'); // landing, quiz, email_gate, results const [currentQuestion, setCurrentQuestion] = useState(0); const [answers, setAnswers] = useState({}); const [email, setEmail] = useState(''); const [name, setName] = useState(''); const [phone, setPhone] = useState(''); const [location, setLocation] = useState(''); // Load DM Sans font useEffect(() => { const link = document.createElement('link'); link.href = 'https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap'; link.rel = 'stylesheet'; document.head.appendChild(link); }, []); const questions = [ { id: 1, text: 'Sexual exclusivity is required for a committed relationship.', }, { id: 2, text: 'Your romantic partner should be your #1 priority above friends, hobbies, or community.', }, { id: 3, text: 'Your partner should be your other half or complete you.', }, { id: 4, text: 'Being attracted to other people while in a relationship means something is wrong.', }, { id: 5, text: 'Maintaining a strong individual identity is selfish once you\'re partnered.', }, { id: 6, text: 'A linear relationship (dating → exclusive → moving in → marriage) is the expected path.', }, ]; const answerOptions = [ { value: 0, label: 'Strongly Agree' }, { value: 3, label: 'Agree' }, { value: 5, label: 'Neutral' }, { value: 7, label: 'Disagree' }, { value: 10, label: 'Strongly Disagree' }, ]; const handleAnswer = (value) => { const newAnswers = { ...answers, [currentQuestion]: value }; setAnswers(newAnswers); // Check if this is the last question (question index 5, which is question 6) const isLastQuestion = currentQuestion === questions.length - 1; console.log('=== ANSWER CLICKED ==='); console.log('Answer value:', value); console.log('Current question index:', currentQuestion); console.log('Total questions:', questions.length); console.log('Is last question?', isLastQuestion); console.log('Current stage:', stage); if (isLastQuestion) { // Go to contact page immediately console.log('>>> CHANGING TO EMAIL_GATE <<<'); setStage('email_gate'); } else { // Go to next question console.log('>>> GOING TO NEXT QUESTION <<<'); setCurrentQuestion(currentQuestion + 1); } }; const calculateScores = () => { let totalScore = 0; questions.forEach((q, index) => { const score = answers[index] || 0; totalScore += score; }); return { totalScore }; }; const getProfile = (score) => { if (score <= 15) return { name: 'You\'re on Autopilot', displayName: 'On Autopilot', range: '0-15', description: 'You\'re operating on the relationship operating system you downloaded in childhood. And that\'s completely normal! Most people never question these assumptions because they\'re so embedded in our culture.', patterns: [ 'You tend to follow traditional relationship milestones without asking if they fit you', 'You may feel like relationships should look a certain way, even if that doesn\'t feel right', 'You might struggle when reality doesn\'t match the script you\'ve been given' ], next: 'Start with one assumption that made you pause. Ask yourself: "Did I choose this, or was it chosen for me?"' }; if (score <= 30) return { name: 'You\'re Awakening', displayName: 'Awakening', range: '16-30', description: 'You\'re in the messy middle—you\'ve started questioning the relationship script, but you\'re not sure what to replace it with. Some assumptions feel right while others are making you uncomfortable.', patterns: [ 'You may feel confused about what you actually want vs. what you should want', 'You\'re likely experiencing some tension between inherited expectations and emerging desires', 'You\'re beginning to see that there might be other ways to do relationships' ], next: 'Keep questioning. Journal on the assumptions you disagreed with most and ask: "What would I choose if I didn\'t care what anyone thought?"' }; if (score <= 45) return { name: 'You\'re a Questioner', displayName: 'The Questioner', range: '31-45', description: 'You\'re actively deconstructing the relationship playbook. You\'ve realized that conscious design is possible, and you\'re doing the work to figure out what actually serves you.', patterns: [ 'You\'re comfortable with ambiguity and experimentation', 'You probably have some relationships or structures that confuse other people', 'You may feel lonely sometimes because your path doesn\'t match mainstream narratives' ], next: 'Share your journey. Your questions and experiments give others permission to question too. Consider joining community that celebrates conscious relating.' }; if (score <= 55) return { name: 'You\'re a Designer', displayName: 'The Designer', range: '46-55', description: 'You\'ve done deep work on relationship consciousness. You\'ve examined major assumptions and made intentional choices about what serves you. You\'re actively designing rather than defaulting.', patterns: [ 'You can articulate WHY you\'ve chosen your relationship approach', 'You\'re comfortable disappointing people who want you to fit their template', 'You\'ve probably experienced both freedom and loneliness in being non-normative' ], next: 'You\'d probably love being part of Beyond—conscious designers like you are exactly who we built this for. Find your people.' }; return { name: 'You\'re an Architect', displayName: 'The Architect', range: '56-60', description: 'You\'ve achieved exceptional relationship consciousness. You\'ve rejected virtually every traditional assumption and are actively building new models.', patterns: [ 'You\'ve examined and made conscious choices about relationship design', 'Your relationships are living laboratories for what\'s possible beyond the script', 'You might be coaching, teaching, or modeling conscious relating for others' ], next: 'You\'re already part of the vanguard creating new relationship paradigms. Even architects need community. This is why spaces like Beyond exist—so the people doing this work can find each other.' }; }; // Landing Page if (stage === 'landing') { return (

The Relationship Autopilot Quiz

Conditioning or choice? Discover which relationship rules you actually chose—and which ones were chosen for you.

); } // Quiz Page if (stage === 'quiz') { const progress = ((currentQuestion + 1) / questions.length) * 100; const currentQ = questions[currentQuestion]; return (
{/* Progress Bar */}
Question {currentQuestion + 1} of {questions.length} {Math.round(progress)}%
{/* Question Card */}

{currentQ.text}

{answerOptions.map((option, index) => { const isSelected = answers[currentQuestion] === option.value; return ( ); })}
{/* Back Button */} {currentQuestion > 0 && ( )}
); } // Email Gate Page if (stage === 'email_gate') { const { totalScore } = calculateScores(); const profile = getProfile(totalScore); const handleEmailSubmit = () => { console.log('=== CONTACT FORM BUTTON CLICKED ==='); console.log('Email value:', email); console.log('Email trimmed:', email.trim()); console.log('Email has value:', !!email.trim()); console.log('Name value:', name); console.log('Name trimmed:', name.trim()); console.log('Name has value:', !!name.trim()); console.log('Phone value:', phone); console.log('Phone trimmed:', phone.trim()); console.log('Phone has value:', !!phone.trim()); if (!email.trim() || !name.trim() || !phone.trim()) { console.log('>>> VALIDATION FAILED - SHOWING ALERT <<<'); alert('Please fill in all required fields'); return; } console.log('>>> VALIDATION PASSED <<<'); const userData = { email, name, phone, totalScore, profileName: profile.name, answers, timestamp: new Date().toISOString() }; console.log('Quiz data captured:', userData); // Send to Google Sheets const GOOGLE_SHEETS_URL = 'https://script.google.com/macros/s/AKfycbw5Hj_PPmFijTlzcWCHKtYNtfvlAtMUtZK-xgL77otTELGR6kSSlrz-dO_sajqjfo7h/exec'; console.log('>>> SENDING TO GOOGLE SHEETS <<<'); // Send to Google Sheets (async, but don't wait for it) fetch(GOOGLE_SHEETS_URL, { method: 'POST', mode: 'no-cors', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(userData) }).catch(error => { console.error('Error sending to Google Sheets:', error); }); // Show results immediately console.log('>>> CHANGING STAGE TO RESULTS <<<'); console.log('Current stage before:', stage); setStage('results'); console.log('setStage called'); }; return (

You've completed the quiz!

Enter your info to get your full results and unlock your invite to the world of modern relationships

setEmail(e.target.value)} placeholder="your@email.com" className="w-full px-4 py-3 border-2 border-gray-300 rounded-xl focus:border-[#A68294] focus:outline-none" style={{ color: '#1D1617' }} />
setPhone(e.target.value)} placeholder="(555) 123-4567" className="w-full px-4 py-3 border-2 border-gray-300 rounded-xl focus:border-[#A68294] focus:outline-none" style={{ color: '#1D1617' }} />
setName(e.target.value)} placeholder="Your name" className="w-full px-4 py-3 border-2 border-gray-300 rounded-xl focus:border-[#A68294] focus:outline-none" style={{ color: '#1D1617' }} />
); } // Results Page if (stage === 'results') { const { totalScore } = calculateScores(); const profile = getProfile(totalScore); const percentage = Math.round((totalScore / 60) * 100); return (
{/* Header */}
{name ? `${name}'s Results` : 'Your Results'}

{profile.name}

{totalScore}/60 points ({percentage}% conscious)
{/* Main Profile Card */}

What this means:

{profile.description}

Your patterns:

    {profile.patterns.map((pattern, index) => (
  • {pattern}
  • ))}

Your next step:

{profile.next}

{/* Stats Section */}

You're Not Alone

42%

of adults under 40 are interested in or open to modern relationships

YouGov, 2023

31%

of relationships involve exploring modern relationship structures at some point

Rubel & Bogaert, 2022

1 in 5

people in the US have engaged in modern relationship structures at some point in their lives

Levine et al., 2018

400%

increase in Google searches for "polyamory" since 2015

Google Trends

The bottom line: Modern relationships are already evolving. The question isn't whether to question assumptions—it's whether to do it consciously or keep pretending the old script still works.

{/* CTA Section */} {totalScore >= 16 ? (

Welcome to the world of modern relationships

You're ready for a community that gets it. Beyond is a vetted community of people who are consciously designing their relationships—whether that's reimagined monogamy, monogamish, or open relationships.

Join the Beyond Community →
) : (

Ready to design relationships that actually fit you?

Beyond is a vetted community of people who are consciously designing their relationships—whether that's reimagined monogamy, monogamish, or open relationships.

)}
); } }; export default RelationshipQuiz;