Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Event Tracking Features #30

Merged
merged 23 commits into from
Jun 15, 2024
Merged

New Event Tracking Features #30

merged 23 commits into from
Jun 15, 2024

Conversation

jrtashjian
Copy link
Owner

@jrtashjian jrtashjian commented May 29, 2024

This PR adds enhanced event tracking features to OmniForm. Here's what's new:

  • Impression Tracking: Logs every time a form is viewed.
  • Submission Tracking: Records both successful and failed form submissions.
  • Conversion Rate: Calculates the conversion rate based on unique impressions and successful submissions.

To implement event tracking efficiently, two new tables have been added:

  • Events Table: Stores details of form interactions like impressions and submissions.
  • Visitors Table: Maintains unique visitor hashes to identify users without storing personal data (inspired by Plausible).

These tables are designed to handle millions of records, ensuring quick query performance and optimized storage. The flexible schema allows for tracking additional events in the future, helping users continually improve the effectiveness of their forms.

Closes #29

@jrtashjian jrtashjian self-assigned this May 29, 2024
@jrtashjian jrtashjian changed the title Improve analytics New Event Tracking Features Jun 15, 2024
@jrtashjian jrtashjian merged commit 4a9c486 into master Jun 15, 2024
11 checks passed
@jrtashjian jrtashjian deleted the jrtashjian/issue29 branch June 15, 2024 21:22
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.

Improve tracking of form impressions
1 participant