Add tracking to the trial status sidebar widget experiment
What’s Included
Backend Recording
-
Record which groups receive the control experience vs. which groups receive the candidate experience - Handled in !53301 (merged)
- Store the top-level group (root group) in the
experiment_subjects
table (might be nice to have #289941 (closed) / !50084 (closed) for this purpose, but not necessary)
Frontend Tracking
-
Track click rate of the widget itself – will be handled by a standard (frontend) Snowplow event - Handled in !55411 (merged)
- These clicks will take the user to the billing page for the top-level group
- Event Details
- Event name:
click_link
- Event label:
trial_status_widget
- Event category: automatically set to be the URL of the page the user was on when they clicked
-
Context:(Can’t have this yet as our current policy doesn’t allow it)namespace_id: group.id
- Event name:
-
Track click rate of the two CTA buttons (each will be tracked separately) - Handled in !55411 (merged)
- One takes the user to the billing page, one takes them to the in-app purchase flow
- Event Details
- Event name:
click_link
- Event label:
upgrade_to_ultimate
orcompare_plans
- Event category: automatically set to be the URL of the page the user was on when they clicked
- Event name:
-
Track view rate of the popover - Handled in !55810 (merged)
- Need a custom fired event whenever the popover component is mounted (maybe?)
- Event Details
- Event name:
show_component
- Event label:
trial_status_popover
- Event category: use the URL of the page the user is on (maybe?)
- Event name:
Potential Follow-up
- Track the trial upgrade rate of the control vs. experimental cohorts
- I’m thinking that this won’t be necessary to explicitly track as we can manually correlate the data in Sisense.
Follow-up from #288014 (closed), also related to #220930 (closed)
Edited by Dallas Reedy