Pushing an event into another as a variant and pulling variants out as their own events
Jared Torre
We need a way to push a standalone event to become a variant of another existing event. We are discovering that designed events from different sources and teams are trying to get at the same analytics event, but have done it slightly differently as different events, instead of each as a variant of one 'source-agnostic' event.
As we start to merge the events from disparate teams/sources into the same space, we will need to make them all variants of the more 'superordinate' new event, but we don't want to have to reconstruct the entire event in its new variant space by hand with all its properties, allow lists, triggers, images, etc as a variant for each one.
For example, Source A created 'success-import-media' with its own set of properties and descriptions. Source B comes along and needs to use that event name with its own specifications. We want to:
1) Create a new superordinate event for 'start-import-media'
2) Take the original Source A specific event and make it a variant of the new 'start-import-media' event as 'start-import-media-source-a'.
3) Then we can create a new variant for Source B under the new superordinate event called 'start-import-media-source-b'.
As a bonus, we'd like the flipside: to be able to pull an event variant out of an event as its own stand along event with a new name. This is more niche because we designed a bunch of event variants, but out bespoke validator won't pass them. So we need to pull them out as temporarily named standalone events to start developing them in the app and checking data before we fix the validator.