Skip to content

Report when a visitor starts filling in a Hellotext form - #104

Merged
rockwellll merged 1 commit into
mainfrom
form-started
Nov 6, 2026
Merged

rockwellll merged 1 commit into
mainfrom
form-started

Conversation

@rockwellll

@rockwellll rockwellll commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

On the first input, the form controller sends form.started with the form's id through the public tracking endpoint, once per session, form and day. The server counts it as starters_count in the form's daily rollup.

  • Focus doesn't count: the form focuses its first field when it connects.
  • Retries: the daily localStorage mark is written only after a successful report, so a failed one is sent again on the next input. A report already in flight isn't sent twice.
  • Errors: tracking errors never reach the form.
  • Both paths: the same controller runs embedded forms and Hellotext's own form page, so both report.

Needs hellotext/hellotext#6942 deployed before release. Until then the endpoint answers form.started with 404 and the report is dropped.

Rebuilt lib and dist.

🤖 Generated with Claude Code

On the first input, the form sends form.started with its id, once per
session, form and day, for the website form report's "started filling
it in" stage. Focus alone doesn't count, because the form focuses its
first field when it connects. The daily mark is written only on a
successful report, so a failed one is sent again on the next input.
Tracking errors never reach the form.

The same controller runs embedded forms and Hellotext's own form page,
so both report.

Rebuilt lib and dist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T16:12:28.509204Z 7eaa47f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7eaa47f916

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/controllers/form_controller.js Resolved
@rockwellll
rockwellll merged commit 6bbed08 into main Nov 6, 2026
3 checks passed
@rockwellll
rockwellll deleted the form-started branch November 6, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant