Use an explicit `data:` keyword argument in `self_describing_event`
The following discussion from !47913 (merged) should be addressed:
-
@splattael started a discussion: Non-blocking Alternatively, we could tweak the interface a bit to use an explicit
data:
keyword argument intrack_self_describing_event
andself_describing_event
to avoid future confusion where devs write tempting code like this:track_self_describing_event(url, "key" => "value", context: context)
Instead we could make it very explicit and allow devs to write:
track_self_describing_event(url, data: { "key" => "value" }, context: context)
Having said that, obviously, this is out of scope of this MR
😅 I am here to fix warnings⚠ 💪 We could easily follow-up on this if we think it's needed.
/cc @gitlab-org/growth/product_analytics/engineers