@srimandir/kundli-generator 5.30.7 → 5.30.9

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.
@@ -120,9 +120,27 @@ export interface KundliAnalytics {
120
120
  planId: string;
121
121
  planName: string;
122
122
  }): void;
123
+ /** Updated: includes question-related fields for the 3-SKU experiment. */
123
124
  trackPlanProceedClicked?(params: {
124
125
  planId: string;
125
126
  planName: string;
127
+ question_asked?: boolean;
128
+ question_text?: string;
129
+ question_source?: 'chip' | 'custom' | 'chip_edited';
126
130
  }): void;
127
131
  trackPlanPageClosed?(): void;
132
+ /** Fires once when the SKU comparison table enters the viewport (≥50% visible). */
133
+ trackComparisonTableImpression?(): void;
134
+ /** Fires the first time per card-expansion the user focuses the question textbox. */
135
+ trackQuestionTextboxClicked?(params: {
136
+ entry_method: 'tap' | 'keyboard_focus';
137
+ textbox_empty: boolean;
138
+ }): void;
139
+ /** Fires every time a suggested-question chip is selected. */
140
+ trackPreSuggestedQuestionSelected?(params: {
141
+ question_text_loaded: string;
142
+ chip_index: number;
143
+ previous_chip_index: number | null;
144
+ user_had_custom_text: boolean;
145
+ }): void;
128
146
  }