Add context to Snowplow subscription events that are missing them
Problem
With the Snowplow events listed below, we're missing the context fields that are usually sent from CustomersDot when it fires a Snowplow events.
- https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/5209#note_1336956699
- https://gitlab.com/gitlab-data/product-analytics/-/issues/1149#note_1430087325
Proposal
Investigate why these particular events are not sending the context. It's possible the method fields were set incorrectly.
Event locations:
- https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/services/self_service/subscriptions/create_service.rb#L75
- https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/app/services/self_service/subscriptions/create_service.rb#L154
Result
The context fields should be sent correctly along with the event category, label, and property. @nraisinghani
can help confirm once we implement the solution.