trackQuizConversion

fun trackQuizConversion(    quizId: String,     quizVersionId: String,     quizSessionId: String,     displayName: String? = null,     type: String? = null,     isCustomType: Boolean? = null,     customerId: String,     variationId: String? = null,     itemName: String? = null,     sectionName: String? = null,     revenue: String? = null,     analyticsTags: Map<String, String>? = null)

Tracks quiz conversion events ##Example

ConstructorIo.trackQuizConversion("coffee-quiz", "23AECMA-1EFKCI", "34NCUIEI-214CDN", null, null, null, "shirt-a", "shirt-a--reg", "White shirt", null, "129.99", null)

Parameters

quizId

The quiz id

quizVersionId

Version identifier for the quiz. version ID will be returned in quiz request responses

quizSessionId

Session identifier for the quiz. session ID will be returned in quiz request responses

displayName

Display name for the conversion event. This display name will be shown on the dashboard in the future. Required if isCustomType is true.

type

Type of conversion event. Defaults to add_to_cart if not specified

isCustomType

Specifies if the conversion type is a custom event

customerId

The item identifier of the clicked item i.e "PUMP-KAB-0002"

variationId

The variation item identifier of the clicked item

itemName

The item name of the clicked item i.e "Jacket Denim"

sectionName

The section that the results came from, i.e. "Products"

revenue

The revenue of the item converted

analyticsTags

Additional analytics tags to pass