Make Product Analytics dashboards show for any type of event collected
Summary
When setting up Product Analytics with a project, users receive instructions to send events in order to be able to view dashboards.
However, we currently only check for page_view
events, which means users will be stuck at the onboarding instructions if they only send custom events, or use an SDK that is not gl-application-sdk-browser
.
Proposal
In the Product Analytics state resolver, use SnowplowTrackedEvents.count
instead of SnowplowTrackedEvents.pageViewsCount
. This way, events of any type count as data successfully collected, so that we can display that data on our dashboards.
References
Edited by Dennis Tang