HyperwalletInsightsProtocol
public protocol HyperwalletInsightsProtocol : AnyObject
Protocol for HyperwalletInsights
-
Track Clicks
Declaration
Swift
func trackClick(pageName: String, pageGroup: String, link: String, params: [String : String])Parameters
pageNameName of the page
pageGroupPage group name
linkThe link clicked - example : select-transfer-method
paramsA list of other information to be tracked - example : country,currency
-
Track Impressions
Declaration
Swift
func trackImpression(pageName: String, pageGroup: String, params: [String : String])Parameters
pageNameName of the page - example : transfer-method:add:select-transfer-method
pageGroupPage group name - example : transfer-method
paramsA list of other information to be tracked - example : country,currency
-
Track Error
Declaration
Swift
func trackError(pageName: String, pageGroup: String, errorInfo: ErrorInfo)Parameters
pageNameName of the page - example : transfer-method:add:select-transfer-method
pageGroupPage group name - example : transfer-method
errorInfoThe ErrorInfo structure is used to describe an occurred error
View on GitHub