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

answer_submit GA4 event doesn't take into consideration if the answer was successfully submitted or not #2212

Open
emilghittasv opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@emilghittasv
Copy link
Collaborator

Describe the bug
When submitting an answer to an AAQ question, the answer_submit GA4 event is sent.

The answer_submit GA4 event is submitted regardless if the answer was successfully posted to the question or not.

There might be cases in which the user fails to submit the answer by leaving the "Post a Reply" textarea field empty or the user is ratelimited.

Preconditions
Sign in to SUMO

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to any posted AAQ question.
  2. Click on the "Post a Reply" button while leaving the "Post a Reply" textarea field empty.

Expected behavior
Since the answer was not submitted, the answer_submit GA4 event is also not sent.

Actual behavior
The answer_submit GA4 event is sent even though the answer was not submitted.

Screencasts
Image

Desktop:

  • OS: Windows 11
  • Browser: Firefox
@emilghittasv emilghittasv added the bug Something isn't working label Feb 21, 2025
@github-project-automation github-project-automation bot moved this to ❓ triage in Mozilla Support Feb 21, 2025
@emilghittasv emilghittasv moved this from ❓ triage to 🗄 backlog in Mozilla Support Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🗄 backlog
Development

No branches or pull requests

1 participant