@mytechtoday/augment-extensions 0.4.0 → 0.7.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.
Files changed (226) hide show
  1. package/README.md +6 -6
  2. package/augment-extensions/domain-rules/design/color/themes/catppuccin-latte/README.md +23 -0
  3. package/augment-extensions/domain-rules/design/color/themes/catppuccin-latte/module.json +26 -0
  4. package/augment-extensions/domain-rules/design/color/themes/catppuccin-mocha/README.md +23 -0
  5. package/augment-extensions/domain-rules/design/color/themes/catppuccin-mocha/module.json +26 -0
  6. package/augment-extensions/domain-rules/design/color/themes/dracula/README.md +23 -0
  7. package/augment-extensions/domain-rules/design/color/themes/dracula/module.json +26 -0
  8. package/augment-extensions/domain-rules/design/color/themes/gruvbox-dark/README.md +23 -0
  9. package/augment-extensions/domain-rules/design/color/themes/gruvbox-dark/module.json +26 -0
  10. package/augment-extensions/domain-rules/design/color/themes/gruvbox-light/README.md +23 -0
  11. package/augment-extensions/domain-rules/design/color/themes/gruvbox-light/module.json +26 -0
  12. package/augment-extensions/domain-rules/design/color/themes/high-contrast/README.md +27 -0
  13. package/augment-extensions/domain-rules/design/color/themes/high-contrast/module.json +26 -0
  14. package/augment-extensions/domain-rules/design/color/themes/monokai/README.md +23 -0
  15. package/augment-extensions/domain-rules/design/color/themes/monokai/module.json +26 -0
  16. package/augment-extensions/domain-rules/design/color/themes/nord/README.md +23 -0
  17. package/augment-extensions/domain-rules/design/color/themes/nord/module.json +26 -0
  18. package/augment-extensions/domain-rules/design/color/themes/one-dark/README.md +23 -0
  19. package/augment-extensions/domain-rules/design/color/themes/one-dark/module.json +26 -0
  20. package/augment-extensions/domain-rules/design/color/themes/one-light/README.md +23 -0
  21. package/augment-extensions/domain-rules/design/color/themes/one-light/module.json +26 -0
  22. package/augment-extensions/domain-rules/design/color/themes/solarized-dark/README.md +23 -0
  23. package/augment-extensions/domain-rules/design/color/themes/solarized-dark/module.json +26 -0
  24. package/augment-extensions/domain-rules/design/color/themes/solarized-light/README.md +23 -0
  25. package/augment-extensions/domain-rules/design/color/themes/solarized-light/module.json +26 -0
  26. package/augment-extensions/domain-rules/design/color/themes/tokyo-night/README.md +23 -0
  27. package/augment-extensions/domain-rules/design/color/themes/tokyo-night/module.json +26 -0
  28. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/README.md +136 -0
  29. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/SCHEMA-VALIDATION-REPORT.md +216 -0
  30. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/brand-kit-example.yaml +292 -0
  31. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/campaign-brief-example.yaml +389 -0
  32. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/content-calendar-example.yaml +643 -0
  33. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/email-newsletter-example.md +376 -0
  34. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/landing-page-example.md +934 -0
  35. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/ppc-ad-copy-example.md +301 -0
  36. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/seo-blog-post-example.md +347 -0
  37. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/social-media-campaign-example.md +606 -0
  38. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/module.json +50 -0
  39. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/affiliate-influencer-marketing.md +593 -0
  40. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/asset-management.md +418 -0
  41. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/brand-consistency.md +210 -0
  42. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/content-marketing.md +337 -0
  43. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/conversion-optimization.md +455 -0
  44. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/direct-sales.md +499 -0
  45. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/email-marketing.md +439 -0
  46. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/legal-compliance.md +227 -0
  47. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/ppc-advertising.md +569 -0
  48. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/seo-optimization.md +470 -0
  49. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/social-media-marketing.md +414 -0
  50. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/universal-marketing.md +177 -0
  51. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/asset-inventory.schema.json +247 -0
  52. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/brand-kit.schema.json +326 -0
  53. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/campaign-brief.schema.json +342 -0
  54. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/color-palette.schema.json +223 -0
  55. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/content-template.schema.json +383 -0
  56. package/augment-extensions/workflows/beads-integration/IMPLEMENTATION-STATUS.md +145 -0
  57. package/augment-extensions/workflows/beads-integration/README.md +143 -0
  58. package/augment-extensions/workflows/beads-integration/config/defaults.json +32 -0
  59. package/augment-extensions/workflows/beads-integration/config/schema.json +140 -0
  60. package/augment-extensions/workflows/beads-integration/examples/basic-task-generation.md +293 -0
  61. package/augment-extensions/workflows/beads-integration/module.json +75 -0
  62. package/augment-extensions/workflows/beads-integration/rules/core-rules.md +219 -0
  63. package/augment-extensions/workflows/beads-integration/rules/effectiveness-standards.md +256 -0
  64. package/augment-extensions/workflows/beads-integration/rules/task-generation.md +607 -0
  65. package/augment-extensions/writing-standards/screenplay/README.md +135 -6
  66. package/augment-extensions/writing-standards/screenplay/_templates/README.md +121 -0
  67. package/augment-extensions/writing-standards/screenplay/_templates/genre-template.md +153 -0
  68. package/augment-extensions/writing-standards/screenplay/_templates/style-template.md +243 -0
  69. package/augment-extensions/writing-standards/screenplay/_templates/theme-template.md +213 -0
  70. package/augment-extensions/writing-standards/screenplay/examples/beat-sheet-example.yaml +95 -0
  71. package/augment-extensions/writing-standards/screenplay/examples/character-profile-example.yaml +116 -0
  72. package/augment-extensions/writing-standards/screenplay/examples/commercial-30sec.fountain +151 -0
  73. package/augment-extensions/writing-standards/screenplay/examples/independent-monologue.fountain +67 -0
  74. package/augment-extensions/writing-standards/screenplay/examples/news-segment.fountain +142 -0
  75. package/augment-extensions/writing-standards/screenplay/examples/plot-outline-example.yaml +184 -0
  76. package/augment-extensions/writing-standards/screenplay/examples/tv-episode-teaser.fountain +204 -0
  77. package/augment-extensions/writing-standards/screenplay/genres/README.md +181 -0
  78. package/augment-extensions/writing-standards/screenplay/genres/examples/.gitkeep +2 -0
  79. package/augment-extensions/writing-standards/screenplay/genres/module.json +70 -0
  80. package/augment-extensions/writing-standards/screenplay/genres/rules/.gitkeep +2 -0
  81. package/augment-extensions/writing-standards/screenplay/genres/rules/action.md +399 -0
  82. package/augment-extensions/writing-standards/screenplay/genres/rules/adventure.md +407 -0
  83. package/augment-extensions/writing-standards/screenplay/genres/rules/animation.md +293 -0
  84. package/augment-extensions/writing-standards/screenplay/genres/rules/biographical.md +293 -0
  85. package/augment-extensions/writing-standards/screenplay/genres/rules/comedy.md +401 -0
  86. package/augment-extensions/writing-standards/screenplay/genres/rules/documentary.md +293 -0
  87. package/augment-extensions/writing-standards/screenplay/genres/rules/drama.md +409 -0
  88. package/augment-extensions/writing-standards/screenplay/genres/rules/fantasy.md +293 -0
  89. package/augment-extensions/writing-standards/screenplay/genres/rules/historical.md +293 -0
  90. package/augment-extensions/writing-standards/screenplay/genres/rules/horror.md +268 -0
  91. package/augment-extensions/writing-standards/screenplay/genres/rules/musical.md +294 -0
  92. package/augment-extensions/writing-standards/screenplay/genres/rules/mystery.md +293 -0
  93. package/augment-extensions/writing-standards/screenplay/genres/rules/noir.md +294 -0
  94. package/augment-extensions/writing-standards/screenplay/genres/rules/romance.md +293 -0
  95. package/augment-extensions/writing-standards/screenplay/genres/rules/sci-fi.md +289 -0
  96. package/augment-extensions/writing-standards/screenplay/genres/rules/superhero.md +293 -0
  97. package/augment-extensions/writing-standards/screenplay/genres/rules/thriller.md +294 -0
  98. package/augment-extensions/writing-standards/screenplay/genres/rules/western.md +293 -0
  99. package/augment-extensions/writing-standards/screenplay/module.json +1 -1
  100. package/augment-extensions/writing-standards/screenplay/rules/aaa-hollywood-films.md +339 -0
  101. package/augment-extensions/writing-standards/screenplay/rules/ai-integration-testing.md +329 -0
  102. package/augment-extensions/writing-standards/screenplay/rules/character-development.md +169 -0
  103. package/augment-extensions/writing-standards/screenplay/rules/commercials.md +437 -0
  104. package/augment-extensions/writing-standards/screenplay/rules/dialogue-writing.md +263 -0
  105. package/augment-extensions/writing-standards/screenplay/rules/diversity-inclusion.md +261 -0
  106. package/augment-extensions/writing-standards/screenplay/rules/examples-guide.md +315 -0
  107. package/augment-extensions/writing-standards/screenplay/rules/formatting-validation.md +413 -0
  108. package/augment-extensions/writing-standards/screenplay/rules/fountain-format.md +372 -0
  109. package/augment-extensions/writing-standards/screenplay/rules/independent-films.md +374 -0
  110. package/augment-extensions/writing-standards/screenplay/rules/live-tv-productions.md +443 -0
  111. package/augment-extensions/writing-standards/screenplay/rules/narrative-structures.md +207 -0
  112. package/augment-extensions/writing-standards/screenplay/rules/news-broadcasts.md +444 -0
  113. package/augment-extensions/writing-standards/screenplay/rules/pacing-timing.md +331 -0
  114. package/augment-extensions/writing-standards/screenplay/rules/quality-review-checklist.md +334 -0
  115. package/augment-extensions/writing-standards/screenplay/rules/quick-reference.md +299 -0
  116. package/augment-extensions/writing-standards/screenplay/rules/screen-continuity.md +263 -0
  117. package/augment-extensions/writing-standards/screenplay/rules/streaming-content.md +412 -0
  118. package/augment-extensions/writing-standards/screenplay/rules/trope-management.md +370 -0
  119. package/augment-extensions/writing-standards/screenplay/rules/tv-series.md +374 -0
  120. package/augment-extensions/writing-standards/screenplay/rules/vscode-integration.md +277 -0
  121. package/augment-extensions/writing-standards/screenplay/rules/web-content.md +393 -0
  122. package/augment-extensions/writing-standards/screenplay/schemas/beat-sheet.json +332 -0
  123. package/augment-extensions/writing-standards/screenplay/schemas/character-profile.json +247 -0
  124. package/augment-extensions/writing-standards/screenplay/schemas/feature-selection.json +200 -0
  125. package/augment-extensions/writing-standards/screenplay/schemas/plot-outline.json +233 -0
  126. package/augment-extensions/writing-standards/screenplay/schemas/screenplay-config.json +245 -0
  127. package/augment-extensions/writing-standards/screenplay/schemas/trope-inventory.json +221 -0
  128. package/augment-extensions/writing-standards/screenplay/styles/README.md +159 -0
  129. package/augment-extensions/writing-standards/screenplay/styles/examples/.gitkeep +2 -0
  130. package/augment-extensions/writing-standards/screenplay/styles/examples/style-applications.md +1449 -0
  131. package/augment-extensions/writing-standards/screenplay/styles/module.json +64 -0
  132. package/augment-extensions/writing-standards/screenplay/styles/rules/.gitkeep +2 -0
  133. package/augment-extensions/writing-standards/screenplay/styles/rules/dialogue-centric.md +520 -0
  134. package/augment-extensions/writing-standards/screenplay/styles/rules/ensemble.md +499 -0
  135. package/augment-extensions/writing-standards/screenplay/styles/rules/epic.md +497 -0
  136. package/augment-extensions/writing-standards/screenplay/styles/rules/experimental.md +492 -0
  137. package/augment-extensions/writing-standards/screenplay/styles/rules/flashback.md +509 -0
  138. package/augment-extensions/writing-standards/screenplay/styles/rules/linear.md +490 -0
  139. package/augment-extensions/writing-standards/screenplay/styles/rules/minimalist.md +499 -0
  140. package/augment-extensions/writing-standards/screenplay/styles/rules/non-linear.md +501 -0
  141. package/augment-extensions/writing-standards/screenplay/styles/rules/poetic.md +499 -0
  142. package/augment-extensions/writing-standards/screenplay/styles/rules/realistic.md +498 -0
  143. package/augment-extensions/writing-standards/screenplay/styles/rules/satirical.md +499 -0
  144. package/augment-extensions/writing-standards/screenplay/styles/rules/surreal.md +508 -0
  145. package/augment-extensions/writing-standards/screenplay/styles/rules/voice-over.md +500 -0
  146. package/augment-extensions/writing-standards/screenplay/themes/README.md +158 -0
  147. package/augment-extensions/writing-standards/screenplay/themes/examples/.gitkeep +2 -0
  148. package/augment-extensions/writing-standards/screenplay/themes/examples/common-mistakes-and-fixes.md +643 -0
  149. package/augment-extensions/writing-standards/screenplay/themes/examples/complete-scene-example.md +311 -0
  150. package/augment-extensions/writing-standards/screenplay/themes/examples/individual-theme-examples.md +562 -0
  151. package/augment-extensions/writing-standards/screenplay/themes/examples/multi-theme-weaving.md +538 -0
  152. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-application-guide.md +432 -0
  153. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-integration-across-acts.md +637 -0
  154. package/augment-extensions/writing-standards/screenplay/themes/module.json +66 -0
  155. package/augment-extensions/writing-standards/screenplay/themes/rules/.gitkeep +2 -0
  156. package/augment-extensions/writing-standards/screenplay/themes/rules/ambition.md +458 -0
  157. package/augment-extensions/writing-standards/screenplay/themes/rules/betrayal.md +490 -0
  158. package/augment-extensions/writing-standards/screenplay/themes/rules/environment.md +458 -0
  159. package/augment-extensions/writing-standards/screenplay/themes/rules/fate.md +459 -0
  160. package/augment-extensions/writing-standards/screenplay/themes/rules/friendship.md +491 -0
  161. package/augment-extensions/writing-standards/screenplay/themes/rules/growth.md +491 -0
  162. package/augment-extensions/writing-standards/screenplay/themes/rules/identity.md +490 -0
  163. package/augment-extensions/writing-standards/screenplay/themes/rules/isolation.md +464 -0
  164. package/augment-extensions/writing-standards/screenplay/themes/rules/justice.md +461 -0
  165. package/augment-extensions/writing-standards/screenplay/themes/rules/love.md +489 -0
  166. package/augment-extensions/writing-standards/screenplay/themes/rules/power.md +494 -0
  167. package/augment-extensions/writing-standards/screenplay/themes/rules/redemption.md +483 -0
  168. package/augment-extensions/writing-standards/screenplay/themes/rules/revenge.md +489 -0
  169. package/augment-extensions/writing-standards/screenplay/themes/rules/survival.md +496 -0
  170. package/augment-extensions/writing-standards/screenplay/themes/rules/technology.md +463 -0
  171. package/cli/dist/cli.js +30 -1
  172. package/cli/dist/cli.js.map +1 -1
  173. package/cli/dist/commands/show.d.ts +23 -0
  174. package/cli/dist/commands/show.d.ts.map +1 -1
  175. package/cli/dist/commands/show.js +928 -10
  176. package/cli/dist/commands/show.js.map +1 -1
  177. package/cli/dist/types/gui.d.ts +62 -0
  178. package/cli/dist/types/gui.d.ts.map +1 -0
  179. package/cli/dist/types/gui.js +30 -0
  180. package/cli/dist/types/gui.js.map +1 -0
  181. package/cli/dist/utils/config-system.d.ts +111 -0
  182. package/cli/dist/utils/config-system.d.ts.map +1 -0
  183. package/cli/dist/utils/config-system.js +239 -0
  184. package/cli/dist/utils/config-system.js.map +1 -0
  185. package/cli/dist/utils/gui-helpers.d.ts +23 -0
  186. package/cli/dist/utils/gui-helpers.d.ts.map +1 -0
  187. package/cli/dist/utils/gui-helpers.js +159 -0
  188. package/cli/dist/utils/gui-helpers.js.map +1 -0
  189. package/cli/dist/utils/hook-system.d.ts +84 -0
  190. package/cli/dist/utils/hook-system.d.ts.map +1 -0
  191. package/cli/dist/utils/hook-system.js +151 -0
  192. package/cli/dist/utils/hook-system.js.map +1 -0
  193. package/cli/dist/utils/inspection-cache.d.ts +56 -0
  194. package/cli/dist/utils/inspection-cache.d.ts.map +1 -0
  195. package/cli/dist/utils/inspection-cache.js +166 -0
  196. package/cli/dist/utils/inspection-cache.js.map +1 -0
  197. package/cli/dist/utils/inspection-handlers.d.ts +75 -0
  198. package/cli/dist/utils/inspection-handlers.d.ts.map +1 -0
  199. package/cli/dist/utils/inspection-handlers.js +171 -0
  200. package/cli/dist/utils/inspection-handlers.js.map +1 -0
  201. package/cli/dist/utils/module-system.d.ts +81 -1
  202. package/cli/dist/utils/module-system.d.ts.map +1 -1
  203. package/cli/dist/utils/module-system.js +393 -16
  204. package/cli/dist/utils/module-system.js.map +1 -1
  205. package/cli/dist/utils/plugin-system.d.ts +133 -0
  206. package/cli/dist/utils/plugin-system.d.ts.map +1 -0
  207. package/cli/dist/utils/plugin-system.js +210 -0
  208. package/cli/dist/utils/plugin-system.js.map +1 -0
  209. package/cli/dist/utils/progress.d.ts +67 -0
  210. package/cli/dist/utils/progress.d.ts.map +1 -0
  211. package/cli/dist/utils/progress.js +146 -0
  212. package/cli/dist/utils/progress.js.map +1 -0
  213. package/cli/dist/utils/stream-reader.d.ts +34 -0
  214. package/cli/dist/utils/stream-reader.d.ts.map +1 -0
  215. package/cli/dist/utils/stream-reader.js +147 -0
  216. package/cli/dist/utils/stream-reader.js.map +1 -0
  217. package/cli/dist/utils/vscode-editor.d.ts +45 -0
  218. package/cli/dist/utils/vscode-editor.d.ts.map +1 -0
  219. package/cli/dist/utils/vscode-editor.js +171 -0
  220. package/cli/dist/utils/vscode-editor.js.map +1 -0
  221. package/cli/dist/utils/vscode-links.d.ts +49 -0
  222. package/cli/dist/utils/vscode-links.d.ts.map +1 -0
  223. package/cli/dist/utils/vscode-links.js +167 -0
  224. package/cli/dist/utils/vscode-links.js.map +1 -0
  225. package/modules.md +44 -2
  226. package/package.json +6 -4
@@ -0,0 +1,455 @@
1
+ # Conversion Optimization
2
+
3
+ ## Overview
4
+
5
+ Best practices for optimizing conversion rates through effective CTAs (Calls-to-Action), A/B testing, and funnel optimization. Focuses on data-driven improvements to user journeys and conversion paths.
6
+
7
+ ---
8
+
9
+ ## Call-to-Action (CTA) Best Practices
10
+
11
+ ### CTA Design Principles
12
+
13
+ **Visual Hierarchy:**
14
+ - **Primary CTA:** Most prominent, high contrast, above the fold
15
+ - **Secondary CTA:** Less prominent, alternative action
16
+ - **Tertiary CTA:** Subtle, low-commitment options
17
+
18
+ **Button Design:**
19
+ ```css
20
+ /* Primary CTA */
21
+ .cta-primary {
22
+ background-color: var(--brand-primary);
23
+ color: white;
24
+ padding: 16px 32px;
25
+ font-size: 18px;
26
+ font-weight: 600;
27
+ border-radius: 8px;
28
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
29
+ transition: all 0.3s ease;
30
+ }
31
+
32
+ .cta-primary:hover {
33
+ background-color: var(--brand-primary-dark);
34
+ transform: translateY(-2px);
35
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
36
+ }
37
+
38
+ /* Secondary CTA */
39
+ .cta-secondary {
40
+ background-color: transparent;
41
+ color: var(--brand-primary);
42
+ border: 2px solid var(--brand-primary);
43
+ padding: 14px 30px;
44
+ font-size: 16px;
45
+ font-weight: 600;
46
+ border-radius: 8px;
47
+ }
48
+ ```
49
+
50
+ ### CTA Copy Guidelines
51
+
52
+ **Action-Oriented Verbs:**
53
+ - ✅ "Start Your Free Trial"
54
+ - ✅ "Get Instant Access"
55
+ - ✅ "Download Now"
56
+ - ❌ "Submit"
57
+ - ❌ "Click Here"
58
+ - ❌ "Learn More" (too vague)
59
+
60
+ **Value Proposition:**
61
+ ```html
62
+ <!-- Good: Clear value -->
63
+ <button class="cta-primary">
64
+ Get 50% Off Your First Month
65
+ </button>
66
+
67
+ <!-- Better: Value + urgency -->
68
+ <button class="cta-primary">
69
+ Claim Your 50% Discount (24 Hours Only)
70
+ </button>
71
+
72
+ <!-- Best: Value + urgency + social proof -->
73
+ <button class="cta-primary">
74
+ Join 10,000+ Users - Start Free Trial
75
+ </button>
76
+ ```
77
+
78
+ ### CTA Placement
79
+
80
+ **Above the Fold:**
81
+ - Hero section: Primary CTA
82
+ - Navigation: Secondary CTA (e.g., "Sign Up")
83
+
84
+ **Throughout Content:**
85
+ - After value propositions
86
+ - After testimonials
87
+ - After feature descriptions
88
+ - End of blog posts
89
+
90
+ **Sticky CTAs:**
91
+ ```html
92
+ <!-- Sticky header CTA -->
93
+ <div class="sticky-cta" style="position: sticky; top: 0; z-index: 100;">
94
+ <button class="cta-primary">Start Free Trial</button>
95
+ </div>
96
+
97
+ <!-- Floating CTA (mobile) -->
98
+ <div class="floating-cta" style="position: fixed; bottom: 20px; right: 20px;">
99
+ <button class="cta-primary">Get Started</button>
100
+ </div>
101
+ ```
102
+
103
+ ---
104
+
105
+ ## A/B Testing
106
+
107
+ ### Test Planning
108
+
109
+ **Hypothesis Framework:**
110
+ ```markdown
111
+ **Hypothesis:** Changing the CTA button color from blue to orange will increase click-through rate
112
+
113
+ **Reasoning:** Orange creates higher contrast against our white background and is associated with urgency
114
+
115
+ **Success Metric:** CTR increase of at least 10%
116
+
117
+ **Sample Size:** 10,000 visitors per variant
118
+
119
+ **Duration:** 2 weeks or until statistical significance reached
120
+ ```
121
+
122
+ ### What to Test
123
+
124
+ **High-Impact Elements:**
125
+ 1. **Headlines:** Value proposition clarity
126
+ 2. **CTAs:** Copy, color, size, placement
127
+ 3. **Images:** Hero images, product photos
128
+ 4. **Forms:** Number of fields, layout
129
+ 5. **Pricing:** Display format, anchoring
130
+ 6. **Social Proof:** Testimonials, trust badges
131
+
132
+ **Test Priority Matrix:**
133
+ ```
134
+ High Impact + Easy to Implement = Test First
135
+ High Impact + Hard to Implement = Test Second
136
+ Low Impact + Easy to Implement = Test Third
137
+ Low Impact + Hard to Implement = Don't Test
138
+ ```
139
+
140
+ ### A/B Test Structure
141
+
142
+ **Control vs Variant:**
143
+ ```json
144
+ {
145
+ "test_id": "homepage-cta-color-001",
146
+ "hypothesis": "Orange CTA will outperform blue CTA",
147
+ "variants": [
148
+ {
149
+ "id": "control",
150
+ "name": "Blue CTA",
151
+ "traffic_split": 50,
152
+ "description": "Current blue button (#0066CC)"
153
+ },
154
+ {
155
+ "id": "variant_a",
156
+ "name": "Orange CTA",
157
+ "traffic_split": 50,
158
+ "description": "New orange button (#FF6600)"
159
+ }
160
+ ],
161
+ "metrics": {
162
+ "primary": "cta_click_rate",
163
+ "secondary": ["time_on_page", "bounce_rate", "conversion_rate"]
164
+ },
165
+ "duration": "14 days",
166
+ "min_sample_size": 10000,
167
+ "confidence_level": 0.95
168
+ }
169
+ ```
170
+
171
+ ### Statistical Significance
172
+
173
+ **Requirements:**
174
+ - **Confidence Level:** 95% minimum
175
+ - **Sample Size:** Use calculator (e.g., Optimizely, VWO)
176
+ - **Duration:** Run for at least 1-2 business cycles
177
+ - **Avoid Peeking:** Don't stop test early based on interim results
178
+
179
+ **Calculation:**
180
+ ```javascript
181
+ // Simple significance calculator
182
+ function calculateSignificance(controlConversions, controlVisitors, variantConversions, variantVisitors) {
183
+ const controlRate = controlConversions / controlVisitors;
184
+ const variantRate = variantConversions / variantVisitors;
185
+
186
+ const pooledRate = (controlConversions + variantConversions) / (controlVisitors + variantVisitors);
187
+ const standardError = Math.sqrt(pooledRate * (1 - pooledRate) * (1/controlVisitors + 1/variantVisitors));
188
+
189
+ const zScore = (variantRate - controlRate) / standardError;
190
+ const pValue = 2 * (1 - normalCDF(Math.abs(zScore)));
191
+
192
+ return {
193
+ controlRate,
194
+ variantRate,
195
+ lift: ((variantRate - controlRate) / controlRate) * 100,
196
+ pValue,
197
+ isSignificant: pValue < 0.05
198
+ };
199
+ }
200
+ ```
201
+
202
+ ---
203
+
204
+ ## Funnel Optimization
205
+
206
+ ### Conversion Funnel Stages
207
+
208
+ **Typical E-commerce Funnel:**
209
+ ```
210
+ Awareness → Interest → Consideration → Intent → Purchase → Loyalty
211
+ ```
212
+
213
+ **Funnel Metrics:**
214
+ ```json
215
+ {
216
+ "funnel_stages": [
217
+ {
218
+ "stage": "awareness",
219
+ "metric": "website_visitors",
220
+ "goal": "Drive traffic",
221
+ "kpis": ["sessions", "unique_visitors", "traffic_sources"]
222
+ },
223
+ {
224
+ "stage": "interest",
225
+ "metric": "page_views",
226
+ "goal": "Engage visitors",
227
+ "kpis": ["pages_per_session", "time_on_site", "bounce_rate"]
228
+ },
229
+ {
230
+ "stage": "consideration",
231
+ "metric": "product_views",
232
+ "goal": "Generate interest",
233
+ "kpis": ["product_page_views", "add_to_cart_rate"]
234
+ },
235
+ {
236
+ "stage": "intent",
237
+ "metric": "cart_additions",
238
+ "goal": "Capture intent",
239
+ "kpis": ["cart_abandonment_rate", "checkout_initiation"]
240
+ },
241
+ {
242
+ "stage": "purchase",
243
+ "metric": "transactions",
244
+ "goal": "Convert",
245
+ "kpis": ["conversion_rate", "average_order_value", "revenue"]
246
+ },
247
+ {
248
+ "stage": "loyalty",
249
+ "metric": "repeat_purchases",
250
+ "goal": "Retain customers",
251
+ "kpis": ["repeat_purchase_rate", "customer_lifetime_value"]
252
+ }
253
+ ]
254
+ }
255
+ ```
256
+
257
+ ### Identifying Funnel Leaks
258
+
259
+ **Drop-off Analysis:**
260
+ ```javascript
261
+ // Calculate drop-off rates between stages
262
+ const funnelData = {
263
+ awareness: 10000, // Website visitors
264
+ interest: 5000, // Engaged visitors (50% drop-off)
265
+ consideration: 2000, // Product viewers (60% drop-off)
266
+ intent: 800, // Cart additions (60% drop-off)
267
+ purchase: 200 // Purchases (75% drop-off)
268
+ };
269
+
270
+ function calculateDropOff(stage1, stage2) {
271
+ return ((stage1 - stage2) / stage1) * 100;
272
+ }
273
+
274
+ // Identify biggest leak
275
+ const leaks = {
276
+ 'Awareness → Interest': calculateDropOff(funnelData.awareness, funnelData.interest),
277
+ 'Interest → Consideration': calculateDropOff(funnelData.interest, funnelData.consideration),
278
+ 'Consideration → Intent': calculateDropOff(funnelData.consideration, funnelData.intent),
279
+ 'Intent → Purchase': calculateDropOff(funnelData.intent, funnelData.purchase)
280
+ };
281
+
282
+ // Result: Intent → Purchase has 75% drop-off (biggest leak)
283
+ ```
284
+
285
+ ### Optimization Strategies by Stage
286
+
287
+ **Awareness Stage:**
288
+ - Improve SEO and content marketing
289
+ - Optimize ad targeting and messaging
290
+ - Enhance social media presence
291
+
292
+ **Interest Stage:**
293
+ - Improve page load speed
294
+ - Enhance content quality and relevance
295
+ - Add engaging visuals and videos
296
+
297
+ **Consideration Stage:**
298
+ - Provide detailed product information
299
+ - Add customer reviews and ratings
300
+ - Offer comparison tools
301
+
302
+ **Intent Stage:**
303
+ - Simplify checkout process
304
+ - Offer guest checkout
305
+ - Display trust badges and security seals
306
+ - Provide multiple payment options
307
+
308
+ **Purchase Stage:**
309
+ - Reduce form fields
310
+ - Show progress indicators
311
+ - Offer live chat support
312
+ - Send cart abandonment emails
313
+
314
+ ---
315
+
316
+ ## Landing Page Optimization
317
+
318
+ ### Landing Page Elements
319
+
320
+ **Essential Components:**
321
+ 1. **Headline:** Clear value proposition
322
+ 2. **Subheadline:** Supporting details
323
+ 3. **Hero Image/Video:** Visual representation
324
+ 4. **Benefits:** 3-5 key benefits
325
+ 5. **Social Proof:** Testimonials, logos, stats
326
+ 6. **CTA:** Primary action button
327
+ 7. **Trust Signals:** Security badges, guarantees
328
+
329
+ **Landing Page Template:**
330
+ ```html
331
+ <section class="hero">
332
+ <h1>Transform Your Business with AI-Powered Analytics</h1>
333
+ <p class="subheadline">Get actionable insights in minutes, not days</p>
334
+ <button class="cta-primary">Start Free 14-Day Trial</button>
335
+ <p class="trust-signal">No credit card required • Cancel anytime</p>
336
+ </section>
337
+
338
+ <section class="benefits">
339
+ <h2>Why Choose Our Platform?</h2>
340
+ <div class="benefit-grid">
341
+ <div class="benefit">
342
+ <icon>⚡</icon>
343
+ <h3>10x Faster Analysis</h3>
344
+ <p>Automated data processing saves hours of manual work</p>
345
+ </div>
346
+ <!-- More benefits -->
347
+ </div>
348
+ </section>
349
+
350
+ <section class="social-proof">
351
+ <h2>Trusted by 10,000+ Companies</h2>
352
+ <div class="testimonials">
353
+ <!-- Customer testimonials -->
354
+ </div>
355
+ <div class="logos">
356
+ <!-- Customer logos -->
357
+ </div>
358
+ </section>
359
+
360
+ <section class="cta-final">
361
+ <h2>Ready to Get Started?</h2>
362
+ <button class="cta-primary">Start Your Free Trial</button>
363
+ </section>
364
+ ```
365
+
366
+ ### Form Optimization
367
+
368
+ **Reduce Friction:**
369
+ ```html
370
+ <!-- Bad: Too many fields -->
371
+ <form>
372
+ <input type="text" name="first_name" placeholder="First Name" required>
373
+ <input type="text" name="last_name" placeholder="Last Name" required>
374
+ <input type="email" name="email" placeholder="Email" required>
375
+ <input type="tel" name="phone" placeholder="Phone" required>
376
+ <input type="text" name="company" placeholder="Company" required>
377
+ <input type="text" name="job_title" placeholder="Job Title" required>
378
+ <select name="company_size" required><!-- Options --></select>
379
+ <select name="industry" required><!-- Options --></select>
380
+ <button type="submit">Submit</button>
381
+ </form>
382
+
383
+ <!-- Good: Minimal fields -->
384
+ <form>
385
+ <input type="email" name="email" placeholder="Enter your email" required>
386
+ <button type="submit">Start Free Trial</button>
387
+ </form>
388
+ ```
389
+
390
+ **Progressive Disclosure:**
391
+ ```javascript
392
+ // Collect minimal info first, then ask for more
393
+ Step 1: Email only
394
+ Step 2: Name and company (after email verified)
395
+ Step 3: Additional details (during onboarding)
396
+ ```
397
+
398
+ ---
399
+
400
+ ## Best Practices
401
+
402
+ ### DO
403
+
404
+ ✅ Test one variable at a time (isolate impact)
405
+ ✅ Run tests for full business cycles
406
+ ✅ Use statistical significance calculators
407
+ ✅ Document all test results (wins and losses)
408
+ ✅ Prioritize high-traffic pages for testing
409
+ ✅ Focus on macro conversions (revenue, signups)
410
+ ✅ Segment results by traffic source, device
411
+ ✅ Implement winning tests permanently
412
+
413
+ ### DON'T
414
+
415
+ ❌ Stop tests early based on initial results
416
+ ❌ Test too many variables simultaneously
417
+ ❌ Ignore mobile vs desktop differences
418
+ ❌ Make changes without measuring impact
419
+ ❌ Copy competitors without testing
420
+ ❌ Optimize for micro-conversions only
421
+ ❌ Run tests with insufficient traffic
422
+
423
+ ---
424
+
425
+ ## Tools and Resources
426
+
427
+ ### A/B Testing Platforms
428
+
429
+ - **Google Optimize:** Free, integrates with Analytics
430
+ - **Optimizely:** Enterprise-grade testing
431
+ - **VWO:** Visual editor, heatmaps included
432
+ - **AB Tasty:** AI-powered recommendations
433
+
434
+ ### Analytics Tools
435
+
436
+ - **Google Analytics 4:** Funnel analysis, events
437
+ - **Mixpanel:** Product analytics, cohort analysis
438
+ - **Amplitude:** User behavior analytics
439
+ - **Heap:** Auto-capture all events
440
+
441
+ ### Heatmap & Session Recording
442
+
443
+ - **Hotjar:** Heatmaps, recordings, surveys
444
+ - **Crazy Egg:** Heatmaps, scrollmaps, confetti
445
+ - **FullStory:** Session replay, error tracking
446
+ - **Microsoft Clarity:** Free heatmaps and recordings
447
+
448
+ ---
449
+
450
+ ## Related Rules
451
+
452
+ - **universal-marketing.md** - Metrics and KPIs
453
+ - **seo-optimization.md** - Landing page SEO
454
+ - **content-marketing.md** - Content for conversion
455
+