RFC/PROPOSAL: add object_id_type to event.schema #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What/Why
What are you proposing?
We propose that the
object
field in the event schema contain a anobject_id_type
so that consumers of UBI data can know what theobject_id
refers to. Theobject_id
itself should not be counted on having that information and theobject_id_field
only discusses what field in a DB index would contain that value.What users have asked for this feature?
We have spoken to data analysts who work on analyzing user behavior.
What problems are you trying to solve?
We are trying to solve the problem of helping the analysts parse out interactions related to products/videos/posts/users on the same app. With only an
object_id
, we are requiring the front-end developer to know how to package thatobject_id
so that an analyst can analyze the same data.Are there any security considerations?
No additional security impact.
Are there any breaking changes to the API
No
What is the user experience going to be?
Customer can configure the
object_id_type
to denote what the type of searched item is.Are there breaking changes to the User Experience?
No
Why should it be built? Any reason not to?
This will allow for the analyst to more easily understand things like user pattern to product purchase, build personalization on products and click-through-rate for ads.
What will it take to execute?
Any remaining open questions?
No.