-
Notifications
You must be signed in to change notification settings - Fork 1
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
Form-page-2 page change event firing twice #1786
Comments
12 tasks
Just tested this on /disability and I still see 2 page change events for bf-form-2. |
28 tasks
during deployment technical testing, we found that this fix was inconsistent and needs additional work. Will release as next patch. |
88 tasks
43 tasks
Tested here: https://bf-cms-main.bxdev.net/benefit-finder/disability |
This was referenced Nov 13, 2024
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's expected
Each time the virtual page changes, one bf_page_change data layer event should fire
What happened
When the second page is submitted and you get to the modal, you also get an additional page_change event for bf-form-2. So it's like the second form page is reloading when you submit it and you end up with a virtual pageview for the modal as well as two virtual pageviews for bf-form-2 preceding it.
How to replicate
Go to /disability and go through the pages until you get to the modal. Check the data layer on every page, and you will see that an extra page_change event fires when you click to submit bf-form-2 (More about you).
The text was updated successfully, but these errors were encountered: