DynamicLinkGoogleAnalyticsParameters
class DynamicLinkGoogleAnalyticsParameters : NSObject
The Dynamic Link analytics parameters.
-
The utm_source analytics parameter.
Declaration
Swift
var source: String? { get set }
-
The utm_medium analytics parameter.
Declaration
Swift
var medium: String? { get set }
-
The utm_campaign analytics parameter.
Declaration
Swift
var campaign: String? { get set }
-
The utm_term analytics parameter.
Declaration
Swift
var term: String? { get set }
-
The utm_content analytics parameter.
Declaration
Swift
var content: String? { get set }
-
The preferred factory method for creating the analytics parameters object. It includes the commonly-used source, medium, and campaign fields.
Parameters
source
The utm_source analytics parameter.
medium
The utm_medium analytics parameter.
campaign
The utm_campaign analytics parameter.
Return Value
Returns An object to be used with FIRDynamicLinkURLComponents to add analytics parameters to a generated Dynamic Link URL.
-
A factory method for creating the analytics parameters object.
Return Value
Returns an object to be used with FIRDynamicLinkURLComponents to add analytics parameters to a generated Dynamic Link URL.
-
The preferred instance method for creating the analytics parameters object. It includes the commonly-used source, medium, and campaign fields.
Declaration
Swift
init(source: String, medium: String, campaign: String)
Parameters
source
The utm_source analytics parameter.
medium
The utm_medium analytics parameter.
campaign
The utm_campaign analytics parameter.
Return Value
Returns An object to be used with FIRDynamicLinkURLComponents to add analytics parameters to a generated Dynamic Link URL.
-
Declaration
Swift
init()
Return Value
Returns an object to be used with FIRDynamicLinkURLComponents to add analytics parameters to a generated Dynamic Link URL.