Add subscription tracking label for sign up
What does this MR do and why?
Add snowplow tracking for "buy now" button redirects to understand which registrations are subscription bound
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
If you have snowplow micro setup locally:
- Setup GDK to simulate SaaS.
- Sign out.
- Visit
/-/subscriptions/new?plan_id=2c92a00d76f0d5060176f2fb0a5029ff
. - Sign up and check the events are generated.
context | frontend or backend | new or existing | action | label |
---|---|---|---|---|
standard registration page | backend | new | render_registration_page | free_registration / subscription_registration / invite_registration |
successful user creation | backend | existing with added label | successfully_submitted_form | free_registration/subscription_registration / invite_registration / trial_registration |
Related to #441988
Edited by Serhii Yarynovskyi