FirebaseAnalytics Framework Reference

FIRAnalytics(OnDevice)

Undocumented

  • Initiates on-device conversion measurement given a user email address. Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.

    Declaration

    Swift

    class func initiateOnDeviceConversionMeasurement(emailAddress: String)

    Parameters

    emailAddress

    User email address. Include a domain name for all email addresses (e.g. gmail.com or hotmail.co.jp).

  • Initiates on-device conversion measurement given a phone number in E.164 format. Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.

    Declaration

    Swift

    class func initiateOnDeviceConversionMeasurement(phoneNumber: String)

    Parameters

    phoneNumber

    User phone number. Must be in E.164 format, which means it must be limited to a maximum of 15 digits and must include a plus sign (+) prefix and country code with no dashes, parentheses, or spaces.