TrackingRequest
data class TrackingRequest(val landingPageId: Int, val trackingSpotId: Int, val orderId: String? = null, val itemNumber: String? = null, val description: String? = null, val quantity: Int? = null, val price: Float? = null, val total: Float? = null)
Trigger a request for conversion tracking.
Tracking is a server side feature. You are able to perform tracking request to track your conversions.
This structure uses as a parameter the AdService.trackingRequest method. You can pass all parameters through the constructor.
val request = TrackingRequest(
landingPageId = 1,
trackingSpotId = 1,
orderId = "orderId",
itemNumber = "itemNumber",
description = "description",
quantity = 1,
price = 19.99f,
total = 39.98f
)
val result = AdService.trackingRequest(request)
Content copied to clipboard