cbrowser 17.6.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,292 @@
1
+ # Marketing Campaigns
2
+
3
+ **Test which messages work for which audiences — with scientific rigor.**
4
+
5
+ Marketing campaigns in CBrowser let you run structured A/B tests using cognitive personas. Instead of testing at the population level (where results average out), test at the *segment* level — find out that scarcity messaging works for impulse-shoppers but backfires with enterprise-buyers.
6
+
7
+ ---
8
+
9
+ ## Campaign Lifecycle
10
+
11
+ ### 1. Create Campaign
12
+
13
+ Define variants and personas to test.
14
+
15
+ ```json
16
+ {
17
+ "tool": "marketing_campaign_create",
18
+ "params": {
19
+ "name": "Pricing Page Optimization Q1 2026",
20
+ "variants": [
21
+ { "name": "Control", "url": "https://example.com/pricing" },
22
+ { "name": "Social Proof", "url": "https://example.com/pricing-v2" },
23
+ { "name": "Scarcity", "url": "https://example.com/pricing-v3" }
24
+ ],
25
+ "personas": [
26
+ "enterprise-buyer",
27
+ "startup-founder",
28
+ "impulse-shopper",
29
+ "price-researcher"
30
+ ],
31
+ "goal": "Click 'Start Free Trial'",
32
+ "metrics": ["time_to_goal", "friction_count", "abandonment_rate"]
33
+ }
34
+ }
35
+ ```
36
+
37
+ **Returns**: Campaign ID and test matrix (3 variants × 4 personas = 12 test cells)
38
+
39
+ ---
40
+
41
+ ### 2. Run Journeys
42
+
43
+ Run cognitive journeys for each cell in the matrix.
44
+
45
+ **With Enterprise** (automatic):
46
+ ```json
47
+ {
48
+ "tool": "marketing_campaign_run",
49
+ "params": {
50
+ "campaignId": "camp_abc123"
51
+ }
52
+ }
53
+ ```
54
+
55
+ **With Demo** (manual orchestration):
56
+ ```json
57
+ // For each variant × persona combination:
58
+ {
59
+ "tool": "cognitive_journey_init",
60
+ "params": {
61
+ "persona": "enterprise-buyer",
62
+ "startUrl": "https://example.com/pricing",
63
+ "goal": "Click 'Start Free Trial'"
64
+ }
65
+ }
66
+ // ... orchestrate journey ...
67
+
68
+ // Report result back
69
+ {
70
+ "tool": "marketing_campaign_report_result",
71
+ "params": {
72
+ "campaignId": "camp_abc123",
73
+ "variantIndex": 0,
74
+ "persona": "enterprise-buyer",
75
+ "success": false,
76
+ "abandonmentReason": "No security certification visible",
77
+ "friction": ["Couldn't find SOC 2 badge", "Pricing unclear for enterprise"],
78
+ "timeToGoal": null
79
+ }
80
+ }
81
+ ```
82
+
83
+ ---
84
+
85
+ ### 3. Analyze Results 🔒 Enterprise
86
+
87
+ Generate insights from campaign data.
88
+
89
+ ```json
90
+ // Influence effectiveness matrix
91
+ {
92
+ "tool": "marketing_influence_matrix",
93
+ "params": { "campaignId": "camp_abc123" }
94
+ }
95
+
96
+ // Psychological lever analysis
97
+ {
98
+ "tool": "marketing_lever_analysis",
99
+ "params": { "campaignId": "camp_abc123" }
100
+ }
101
+
102
+ // Funnel comparison
103
+ {
104
+ "tool": "marketing_funnel_analyze",
105
+ "params": { "campaignId": "camp_abc123" }
106
+ }
107
+ ```
108
+
109
+ ---
110
+
111
+ ## Campaign Results
112
+
113
+ ### Success Matrix
114
+
115
+ | | Enterprise Buyer | Startup Founder | Impulse Shopper | Price Researcher |
116
+ |---|:---:|:---:|:---:|:---:|
117
+ | **Control** | ❌ | ✅ | ❌ | ❌ |
118
+ | **Social Proof** | ✅ | ✅ | ✅ | ❌ |
119
+ | **Scarcity** | ❌ | ✅ | ✅ | ❌ |
120
+
121
+ ### Influence Matrix 🔒 Enterprise
122
+
123
+ Shows which influence patterns work for which personas:
124
+
125
+ ```json
126
+ {
127
+ "matrix": {
128
+ "enterprise-buyer": {
129
+ "social_proof": { "effectiveness": 0.85, "evidence": "Converted after seeing Fortune 500 logos" },
130
+ "scarcity": { "effectiveness": 0.10, "evidence": "Dismissed 'Limited time' as marketing" },
131
+ "authority": { "effectiveness": 0.90, "evidence": "Sought SOC 2 badge before proceeding" }
132
+ },
133
+ "impulse-shopper": {
134
+ "social_proof": { "effectiveness": 0.75, "evidence": "Clicked after seeing 'Trusted by 10,000+'" },
135
+ "scarcity": { "effectiveness": 0.95, "evidence": "Converted immediately on countdown" },
136
+ "authority": { "effectiveness": 0.30, "evidence": "Didn't notice security badges" }
137
+ }
138
+ }
139
+ }
140
+ ```
141
+
142
+ ### Lever Analysis 🔒 Enterprise
143
+
144
+ Deep dive into *why* variants worked:
145
+
146
+ ```json
147
+ {
148
+ "variant": "Social Proof",
149
+ "successRate": 0.75,
150
+ "leverBreakdown": {
151
+ "customer_logos": {
152
+ "impact": "high",
153
+ "evidence": "3 of 4 personas clicked CTAs near logos"
154
+ },
155
+ "testimonial_quotes": {
156
+ "impact": "medium",
157
+ "evidence": "Enterprise buyer read full testimonial before converting"
158
+ },
159
+ "user_count": {
160
+ "impact": "low",
161
+ "evidence": "Price researcher dismissed as vanity metric"
162
+ }
163
+ }
164
+ }
165
+ ```
166
+
167
+ ### Funnel Analysis 🔒 Enterprise
168
+
169
+ Where in the journey did each persona drop off?
170
+
171
+ ```json
172
+ {
173
+ "variant": "Scarcity",
174
+ "persona": "enterprise-buyer",
175
+ "funnel": [
176
+ { "step": "Land on page", "reached": true, "time": 0 },
177
+ { "step": "Scroll to pricing", "reached": true, "time": 12 },
178
+ { "step": "See countdown timer", "reached": true, "time": 15 },
179
+ { "step": "Click 'Start Trial'", "reached": false, "time": null }
180
+ ],
181
+ "dropOffAnalysis": {
182
+ "step": "See countdown timer",
183
+ "innerMonologue": "This seems like a pressure tactic. I need to verify this with my team first.",
184
+ "frictionType": "trust_violation",
185
+ "recommendation": "Remove artificial urgency for enterprise audience"
186
+ }
187
+ }
188
+ ```
189
+
190
+ ---
191
+
192
+ ## Designing Effective Campaigns
193
+
194
+ ### Choose Contrasting Variants
195
+
196
+ Test different *strategies*, not minor copy changes:
197
+
198
+ **Good**:
199
+ - Control (baseline)
200
+ - Social proof emphasis (testimonials, logos)
201
+ - Scarcity emphasis (limited offer, countdown)
202
+ - Authority emphasis (certifications, awards)
203
+
204
+ **Bad**:
205
+ - "Start Free Trial" button
206
+ - "Begin Free Trial" button
207
+ - "Get Started Free" button
208
+
209
+ ### Select Representative Personas
210
+
211
+ Include personas that matter for your business:
212
+
213
+ | Business Type | Key Personas |
214
+ |---------------|--------------|
215
+ | B2B SaaS | enterprise-buyer, startup-founder, technical-evaluator |
216
+ | E-commerce | impulse-shopper, price-researcher, loyal-customer |
217
+ | Consumer app | first-timer, power-user, mobile-user |
218
+ | Accessibility | motor-tremor, low-vision, cognitive-adhd |
219
+
220
+ ### Define Clear Goals
221
+
222
+ Specific, measurable goals:
223
+
224
+ **Good**: "Click 'Start Free Trial' button"
225
+ **Bad**: "Understand the product"
226
+
227
+ ---
228
+
229
+ ## Demo vs Enterprise
230
+
231
+ | Capability | Demo | Enterprise |
232
+ |------------|:----:|:----------:|
233
+ | Create campaigns | ✅ | ✅ |
234
+ | Report journey results | ✅ | ✅ |
235
+ | List marketing personas | ✅ | ✅ |
236
+ | Run campaigns automatically | ❌ | ✅ |
237
+ | Influence matrix | ❌ | ✅ |
238
+ | Lever analysis | ❌ | ✅ |
239
+ | Funnel analysis | ❌ | ✅ |
240
+ | Competitive comparison | ❌ | ✅ |
241
+ | Audience discovery | ❌ | ✅ |
242
+
243
+ **Demo** gives you the testing framework — create campaigns, run journeys manually with Claude orchestrating, report results.
244
+
245
+ **Enterprise** gives you automation and insights — run all journeys automatically, get influence matrices and lever analysis.
246
+
247
+ ---
248
+
249
+ ## Example: Full Campaign
250
+
251
+ ### Setup
252
+
253
+ ```json
254
+ {
255
+ "name": "Homepage CTA Test",
256
+ "variants": [
257
+ { "name": "Control", "url": "https://example.com" },
258
+ { "name": "Social Proof", "url": "https://example.com?v=social" },
259
+ { "name": "Feature Focus", "url": "https://example.com?v=features" }
260
+ ],
261
+ "personas": ["first-timer", "enterprise-buyer", "technical-evaluator"],
262
+ "goal": "Click primary CTA"
263
+ }
264
+ ```
265
+
266
+ ### Results
267
+
268
+ | | First-Timer | Enterprise Buyer | Technical Evaluator |
269
+ |---|:---:|:---:|:---:|
270
+ | Control | ✅ (23s) | ❌ | ❌ |
271
+ | Social Proof | ✅ (18s) | ✅ (45s) | ❌ |
272
+ | Feature Focus | ❌ | ❌ | ✅ (67s) |
273
+
274
+ ### Insights
275
+
276
+ - **First-timers** convert fastest on Social Proof (18s vs 23s control)
277
+ - **Enterprise buyers** need social proof (logos, testimonials) — don't convert without it
278
+ - **Technical evaluators** need feature details — social proof feels like marketing fluff
279
+ - **Recommendation**: Show different hero sections by referral source
280
+
281
+ ---
282
+
283
+ ## Related Documentation
284
+
285
+ - [Marketing Suite](/docs/Marketing-Suite/) — Full marketing capabilities
286
+ - [Marketing Intelligence Tools](/docs/Tools-Marketing-Intelligence/) — All marketing tools
287
+ - [Cognitive Journeys](/docs/Tools-Cognitive-Journeys/) — Journey simulation
288
+ - [Values Framework](/docs/Values-Framework/) — What motivates each persona
289
+
290
+ ---
291
+
292
+ *Last updated: v17.6.0*
@@ -0,0 +1,268 @@
1
+ # Creating Custom Personas
2
+
3
+ **Build personas that match your actual users, not generic archetypes.**
4
+
5
+ CBrowser's persona creation tools let you build custom cognitive profiles from scratch — either by answering a research-backed questionnaire or by describing the person in natural language. Your custom personas behave consistently across all cognitive journey and testing tools.
6
+
7
+ ---
8
+
9
+ ## Two Ways to Create Personas
10
+
11
+ ### 1. Description Mode (Fast)
12
+
13
+ Describe the persona in natural language, AI infers the traits.
14
+
15
+ ```json
16
+ // Step 1: Start creation
17
+ {
18
+ "tool": "persona_create_start",
19
+ "params": {
20
+ "mode": "description",
21
+ "name": "enterprise-cto"
22
+ }
23
+ }
24
+
25
+ // Step 2: Provide description
26
+ {
27
+ "tool": "persona_create_from_description",
28
+ "params": {
29
+ "sessionId": "create_abc123",
30
+ "description": "CTO at a Fortune 500 company. Extremely time-constrained, delegates evaluation to team. Only looks at executive summaries and security certifications. Skeptical of vendors, needs proof of enterprise customers. Won't read more than 2 paragraphs."
31
+ }
32
+ }
33
+
34
+ // Step 3: Review and submit
35
+ {
36
+ "tool": "persona_create_submit_traits",
37
+ "params": {
38
+ "sessionId": "create_abc123",
39
+ "traits": { /* reviewed/adjusted traits */ },
40
+ "save": true
41
+ }
42
+ }
43
+ ```
44
+
45
+ ---
46
+
47
+ ### 2. Questionnaire Mode (Precise)
48
+
49
+ Answer research-backed questions to set exact trait values.
50
+
51
+ ```json
52
+ // Step 1: Start creation
53
+ {
54
+ "tool": "persona_create_start",
55
+ "params": {
56
+ "mode": "questionnaire",
57
+ "name": "cautious-buyer"
58
+ }
59
+ }
60
+
61
+ // Step 2: Start questionnaire
62
+ {
63
+ "tool": "persona_create_questionnaire_start",
64
+ "params": {
65
+ "sessionId": "create_abc123",
66
+ "comprehensive": false // 8 core traits
67
+ }
68
+ }
69
+
70
+ // Step 3: Answer each question
71
+ {
72
+ "tool": "persona_create_questionnaire_answer",
73
+ "params": {
74
+ "sessionId": "create_abc123",
75
+ "answer": 2 // e.g., "Somewhat patient"
76
+ }
77
+ }
78
+ // Repeat for each question...
79
+ ```
80
+
81
+ ---
82
+
83
+ ## The 25 Cognitive Traits
84
+
85
+ Custom personas are built from 25 research-validated traits:
86
+
87
+ ### Tier 1: Core (7 traits)
88
+
89
+ | Trait | Low Value | High Value |
90
+ |-------|-----------|------------|
91
+ | **Patience** | Abandons quickly on any delay | Waits indefinitely |
92
+ | **Risk Tolerance** | Only clicks familiar things | Clicks anything |
93
+ | **Comprehension** | Misreads icons, confused by layout | Gets it instantly |
94
+ | **Persistence** | Gives up after first failure | Keeps trying forever |
95
+ | **Curiosity** | Direct path only | Explores everything |
96
+ | **Working Memory** | Forgets what they tried | Perfect recall |
97
+ | **Reading Tendency** | Scans for buttons | Reads every word |
98
+
99
+ ### Tier 2: Emotional (4 traits)
100
+
101
+ | Trait | Low Value | High Value |
102
+ |-------|-----------|------------|
103
+ | **Resilience** | Derailed by any setback | Bounces back instantly |
104
+ | **Self-Efficacy** | "I can't figure this out" | "I can do anything" |
105
+ | **Trust Calibration** | Trusts nothing | Trusts everything |
106
+ | **Interrupt Recovery** | Loses all context | Picks up seamlessly |
107
+
108
+ ### Tier 3: Decision-Making (5 traits)
109
+
110
+ | Trait | Low Value | High Value |
111
+ |-------|-----------|------------|
112
+ | **Satisficing** | First option works | Must find the best |
113
+ | **Information Foraging** | Takes what's offered | Hunts for more |
114
+ | **Anchoring Bias** | First price is the price | Compares extensively |
115
+ | **Time Horizon** | Only immediate benefits | Plans for future |
116
+ | **Attribution Style** | "It's my fault" | "It's their fault" |
117
+
118
+ ### Tier 4: Planning (3 traits)
119
+
120
+ | Trait | Low Value | High Value |
121
+ |-------|-----------|------------|
122
+ | **Metacognitive Planning** | Dives in without plan | Plans every step |
123
+ | **Procedural Fluency** | Struggles with forms | Handles any workflow |
124
+ | **Transfer Learning** | Every site is new | Applies past experience |
125
+
126
+ ### Tier 5: Perception (2 traits)
127
+
128
+ | Trait | Low Value | High Value |
129
+ |-------|-----------|------------|
130
+ | **Change Blindness** | Misses all changes | Notices everything |
131
+ | **Mental Model Rigidity** | Expects exact patterns | Adapts to variations |
132
+
133
+ ### Tier 6: Social (4 traits)
134
+
135
+ | Trait | Low Value | High Value |
136
+ |-------|-----------|------------|
137
+ | **Authority Sensitivity** | Ignores credentials | Persuaded by authority |
138
+ | **Emotional Contagion** | Unaffected by tone | Mirrors page emotion |
139
+ | **FOMO** | Immune to urgency | Panics at countdown |
140
+ | **Social Proof Sensitivity** | Ignores reviews | Heavily influenced |
141
+
142
+ ---
143
+
144
+ ## Example: Creating "Skeptical Enterprise Buyer"
145
+
146
+ ### Using Description Mode
147
+
148
+ ```json
149
+ {
150
+ "description": "IT procurement manager at a healthcare company. Extremely risk-averse due to compliance requirements. Needs to see HIPAA certification, SOC 2 reports, and existing healthcare customers. Won't proceed without these. Takes notes on everything. Will read the fine print. Doesn't trust marketing language - wants technical docs."
151
+ }
152
+ ```
153
+
154
+ **Inferred traits:**
155
+ - `riskTolerance`: 0.15 (very low)
156
+ - `trustCalibration`: 0.25 (skeptical)
157
+ - `readingTendency`: 0.85 (reads everything)
158
+ - `authoritySensitivity`: 0.80 (needs credentials)
159
+ - `socialProofSensitivity`: 0.70 (wants customer references)
160
+ - `patience`: 0.70 (thorough but not slow)
161
+ - `proceduralFluency`: 0.65 (handles enterprise forms)
162
+
163
+ ---
164
+
165
+ ### Using Questionnaire Mode
166
+
167
+ **Q1: When a website takes longer than expected to load, this person typically:**
168
+ - (1) Leaves immediately
169
+ - (2) Waits a few seconds then leaves
170
+ - (3) Waits patiently for about 10 seconds
171
+ - (4) Waits as long as it takes
172
+ → Answer: 3 (patience = 0.6)
173
+
174
+ **Q2: When encountering an unfamiliar button or feature, this person:**
175
+ - (1) Never clicks anything unfamiliar
176
+ - (2) Rarely clicks unfamiliar elements
177
+ - (3) Sometimes explores new features
178
+ - (4) Clicks on everything to see what happens
179
+ → Answer: 2 (riskTolerance = 0.25)
180
+
181
+ *Continue for all 8 core traits...*
182
+
183
+ ---
184
+
185
+ ## Using Custom Personas
186
+
187
+ Once created, use your persona anywhere:
188
+
189
+ ```json
190
+ // In cognitive journeys
191
+ {
192
+ "tool": "cognitive_journey_init",
193
+ "params": {
194
+ "persona": "skeptical-enterprise-buyer",
195
+ "startUrl": "https://example.com/enterprise",
196
+ "goal": "Request a demo"
197
+ }
198
+ }
199
+
200
+ // In persona comparisons
201
+ {
202
+ "tool": "compare_personas",
203
+ "params": {
204
+ "personas": ["skeptical-enterprise-buyer", "startup-founder", "first-timer"],
205
+ "startUrl": "https://example.com/pricing",
206
+ "goal": "Understand pricing"
207
+ }
208
+ }
209
+
210
+ // In empathy audits
211
+ {
212
+ "tool": "empathy_audit",
213
+ "params": {
214
+ "personas": ["skeptical-enterprise-buyer"],
215
+ "task": "Find security documentation"
216
+ }
217
+ }
218
+ ```
219
+
220
+ ---
221
+
222
+ ## Best Practices
223
+
224
+ ### Be Specific
225
+
226
+ **Good**: "Financial advisor at a regional bank. 50s, uses technology but not an early adopter. Concerned about data security. Needs to justify purchases to compliance department."
227
+
228
+ **Bad**: "Business professional"
229
+
230
+ ### Include Motivations
231
+
232
+ What does this person *want*? What are they *afraid of*? These inform trait values.
233
+
234
+ ### Include Context
235
+
236
+ Job title, industry, company size, tech comfort level all help inference.
237
+
238
+ ### Test and Iterate
239
+
240
+ Run a few journeys, see if the behavior matches expectations, adjust traits if needed.
241
+
242
+ ---
243
+
244
+ ## Trait Correlations
245
+
246
+ CBrowser applies research-based trait correlations automatically:
247
+
248
+ | If You Set... | These Also Adjust |
249
+ |---------------|-------------------|
250
+ | Low patience | ↓ Resilience, ↑ Satisficing |
251
+ | Low risk tolerance | ↓ Curiosity, ↑ Social proof need |
252
+ | Low comprehension | ↑ Reading tendency (compensating) |
253
+ | High FOMO | ↓ Time horizon |
254
+
255
+ This creates more realistic, internally consistent personas.
256
+
257
+ ---
258
+
259
+ ## Related Documentation
260
+
261
+ - [Persona Index](/docs/Persona-Index/) — Built-in personas
262
+ - [Trait Index](/docs/Trait-Index/) — Deep dives on each trait
263
+ - [Persona Questionnaire](/docs/Persona-Questionnaire/) — Full questionnaire reference
264
+ - [Values Framework](/docs/Values-Framework/) — Schwartz values and motivations
265
+
266
+ ---
267
+
268
+ *Last updated: v17.6.0*