-
-
Save manijshrestha/c8dec1c88b1025b1f4e75d2911a6f03c to your computer and use it in GitHub Desktop.
Kotlin Multiplatform ViewEvent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.manijshrestha.kotlinmplogging.analytics | |
data class ViewEvent(private val pageName: String) : Event { | |
override fun eventName() = "Page_Viewed" | |
override fun eventProperties() = mapOf( | |
"page_name" to pageName | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment