StepQuizHintsClickedHyperskillAnalyticEvent

Represents a common click analytic event for the StepQuizHintsFeature.

Click on the reaction "Yes" button:

{
"route": "/learn/step/1",
"action": "click",
"part": "step_hints",
"target": "yes",
"context":
{
"comment_id": 1
}
}

Click on the reaction "No" button:

{
"route": "/learn/step/1",
"action": "click",
"part": "step_hints",
"target": "no",
"context":
{
"comment_id": 1
}
}

Click on the "See hint" button:

{
"route": "/learn/step/1",
"action": "click",
"part": "step_hints",
"target": "see_hint"
}

Click on the "See next hint" button:

{
"route": "/learn/step/1",
"action": "click",
"part": "step_hints",
"target": "see_next_hint"
}

Click on the "Report" button:

{
"route": "/learn/step/1",
"action": "click",
"part": "step_hints",
"target": "report",
"context":
{
"comment_id": 1
}
}

See also

Constructors

constructor(route: HyperskillAnalyticRoute, target: HyperskillAnalyticTarget, commentId: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Event action, for example: click, view.

Link copied to clipboard
val commentId: Long? = null
Link copied to clipboard
val context: Map<String, Any>? = null

Context that describes an event, for example: stepId, notificationId.

Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val params: Map<String, Any>
Link copied to clipboard

Event part where action occurred, for example: main, step_hints.

Link copied to clipboard

Event route path, for example: /home, /onboarding.

Link copied to clipboard
override val sources: Set<AnalyticSource>
Link copied to clipboard

Target that triggered event, for example: send, refresh.