FIRDynamicLinkGoogleAnalyticsParameters


@interface FIRDynamicLinkGoogleAnalyticsParameters : NSObject

The Dynamic Link analytics parameters.

  • The utm_source analytics parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *source;
  • The utm_medium analytics parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *medium;
  • The utm_campaign analytics parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *campaign;
  • The utm_term analytics parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *term;
  • The utm_content analytics parameter.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *content;
  • The preferred factory method for creating the analytics parameters object. It includes the commonly-used source, medium, and campaign fields.

    Declaration

    Objective-C

    + (nonnull instancetype)parametersWithSource:(nonnull NSString *)source
                                          medium:(nonnull NSString *)medium
                                        campaign:(nonnull NSString *)campaign;

    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.

    Declaration

    Objective-C

    + (nonnull instancetype)parameters;

    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

    Objective-C

    - (nonnull instancetype)initWithSource:(nonnull NSString *)source
                                    medium:(nonnull NSString *)medium
                                  campaign:(nonnull NSString *)campaign;

    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

    Objective-C

    - (nonnull instancetype)init;

    Return Value

    Returns an object to be used with FIRDynamicLinkURLComponents to add analytics parameters to a generated Dynamic Link URL.