VisitorPath
@objc(ZDKVisitorPath)
public final class VisitorPath : NSObject, DataConvertible, ReflectedStringConvertible
A Custom Update Event that can be seen in the agent dashboard.
The VisitorPath API is a way to know if visitors have performed certain events in your app.
VisitorPath events can be queued before a chat has started,
and they’ll be sent when the first message is sent.
Note
Theurl field is unparsed by the backend, so it can be any String.
If subsequent urls are the same, only the initial VisitorPath update will be sent.
If url parameter of VisitorPath is not specified, an ISO8601 timestamp will be sent.
-
Custom title
Declaration
Swift
@objc public let title: String -
Optional url string.
ISO8601timestamp by default.Declaration
Swift
@objc public let url: String -
Initializer for
VisitorPathupdatesDeclaration
Swift
@objc public init(title: String, url: String = Date().iso8601)Parameters
titleThe title for user-event
urlAnother string associated with the event.
Install in Dash
VisitorPath Class Reference