-
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
Consolidate bf_count data layer event with bf_page_change #1538
Comments
|
If possible, I'd like to pass the number of eligible benefits as both a string and as a number. That would allow me to use the data in different ways. So here's what I propose. Feel free to come back with a counter. I'm not tied to specific naming, but more to the concepts. Also, I'd like to get rid of the zero-benefits values altogether since we can get that info from the eligible benefit count. I also removed viewState from the array since we discussed removing it in another ticket. event: 'bf_page_change', Here's an example of what these values might look like when someone completes the form and views their eligible benefits. event: 'bf_page_change',
eligibleBenefitString: "3" |
I would typically return both values assigned to one key and you would just de-structure on your end. for example Then your dot notation would just be Is there any reason this wouldn't work? |
I have no problem with that. Let's try it. |
Confirmed |
Description
The bf_count event fires when users see the results page and it carries three data layer variables (eligible, ineligible, and more info). Since the user is only doing one action (viewing the results page), we would like to consolidate all of that data into one event and apply the three variables mentioned above to the bf_page_change event when the users reaches the results pages. So the variables would function the same way, but they would be part of the page_change event rather than in their own separate event (bf_count). After that is done, we can delete bf_count.
User Story
As a data analyst, I want to simplify tracking to make data collection processes more reliable and less susceptible to breaking; as well as simplify reporting.
Acceptance Criteria
-3 data layer variables (eligible, not-eligible, and more-info) are associated with the page_change event rather than the bf_count event
-Benefit count variables (eligible, not eligible, more info) pass the value as both a numeric value and a string
The text was updated successfully, but these errors were encountered: