Create addUserData method in the analytics providers
This allows us to globally add arbitrary data to the events and transactions
This commit is contained in:
parent
8057bda977
commit
367bbc7e4b
3 changed files with 15 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ interface AnalyticsTracker {
|
|||
* Super properties are added to any tracked event automatically.
|
||||
*/
|
||||
fun updateSuperProperties(updatedProperties: SuperProperties)
|
||||
|
||||
/**
|
||||
* Adds user data that will be sent with every event.
|
||||
*/
|
||||
fun addUserData(key: String, value: String) {}
|
||||
}
|
||||
|
||||
fun AnalyticsTracker.captureInteraction(name: Interaction.Name, type: Interaction.InteractionType? = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue