Commit 2e00fd4
Add lead tracking parameter to demo form submission (#1478)
* Add lead tracking parameter to demo form submission
- Replace thank you modal with redirect to /pricing?lead=1 after successful form submission
- Enables Google Analytics to track successful lead submissions via URL parameter
- Maintains all existing form validation and PostHog event tracking
Co-Authored-By: [email protected] <[email protected]>
* Show thank you modal AND redirect to pricing page with lead parameter
- Yield both ThankYouDialogState.push(True) and rx.redirect('/pricing?lead=1')
- Provides immediate user feedback via modal while enabling GA tracking via URL parameter
- Maintains all existing form validation and PostHog event tracking
Co-Authored-By: [email protected] <[email protected]>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>1 parent d0326f7 commit 2e00fd4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | 187 | | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments