Paywall Documentation

Class Paywall​Info

public final class PaywallInfo: NSObject  

PaywallInfo is the primary class used to distinguish one paywall from another. Used primarily in Paywall.present(onPresent:onDismiss)'s completion handlers.

%19 PaywallInfo PaywallInfo NSObject NSObject PaywallInfo->NSObject

Conforms To

NSObject

Properties

identifier

public let identifier: String

The identifier set for this paywall in Superwall's web dashboard.

experiment​Id

public let experimentId: String? 

What experiment this paywall presentation is a party of

variant​Id

public let variantId: String? 

What variant this user saw

name

public let name: String

The name set for this paywall in Superwall's web dashboard.

slug

public let slug: String

url

public let url: URL? 

The URL where this paywall is hosted.

presented​ByEvent​With​Name

public let presentedByEventWithName: String? 

The name of the event that triggered this Paywall. Defaults to nil if triggeredByEvent is false.

presented​ByEvent​With​Id

public let presentedByEventWithId: String? 

The Superwall internal id (for debugging) of the event that triggered this Paywall. Defaults to nil if triggeredByEvent is false.

presented​ByEvent​At

public let presentedByEventAt: String? 

The ISO date string (sorry) describing when the event triggered this paywall. Defaults to nil if triggeredByEvent is false.

presented​By

public let presentedBy: String

How the paywall was presented, either 'programmatically', 'identifier', or 'event'

product​Ids

public let productIds: [String] 

An array of product IDs that this paywall is displaying in [Primary, Secondary, Tertiary] order.

response​Load​Start​Time

public let responseLoadStartTime: String? 

response​Load​Complete​Time

public let responseLoadCompleteTime: String? 

response​Load​Duration

public let responseLoadDuration: Double? 

web​View​Load​Start​Time

public let webViewLoadStartTime: String? 

web​View​Load​Complete​Time

public let webViewLoadCompleteTime: String? 

web​View​Load​Duration

public let webViewLoadDuration: Double? 

products​Load​Start​Time

public let productsLoadStartTime: String? 

products​Load​Complete​Time

public let productsLoadCompleteTime: String? 

products​Load​Duration

public let productsLoadDuration: Double?