Support Home > SDK Integration > SDK – KochavaTracker > Class – KochavaTracker > Dictionary – trackerParametersDictionary

Dictionary – trackerParametersDictionary

  • Dictionary

    trackerParametersDictionary

    A dictionary with standardized keys used to configure an instance of class KochavaTracker.


    Discussion

    A KochavaTracker is configured using a single parameters dictionary. Each supported key/value pair provides a standardized constant for you to use as the key. Most of the keys you may use are optional and otherwise fall back to default values. After defining your parameters dictionary, you may pass it to either the designated configuration method (for use with the singleton shared instance) or to the designated initializer (to create a new instance which you will manage).

    Keys

    constant kKVAParamAppGUIDStringKey

    (Required) A constant to be used as a key in a key/value pair, where the corresponding value is a Kochava App GUID (String).

    constant kKVAParamAppLimitAdTrackingBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if advertising tracking should be limited.

    constant kKVAParamConsentIntelligentManagementBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean, wrapped in an NSNumber, indicating if Intelligent Consent Management is enabled.

    constant kKVAParamCustomIdStringKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a custom identifier (String).

    constant kKVAParamIdentityLinkDictionaryKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a dictionary providing identity information.

    constant kKVAParamLogLevelEnumKey

    A constant to be used as a key in a key/value pair, where the corresponding value is an enumeration indicating the types of information to be printed to the log.

    constant kKVAParamLogMultiLineBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if multi-line printing should be used in log entries.

    constant kKVAParamRetrieveAttributionBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if attribution information should be retrieved from the Kochava Server.

    constant kKVAParamStorageIdStringKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a storage identifier (String).

     

    Sample Code:

     

    See Also

    Related Symbols func configure(withParametersDictionary: [AnyHashable: Any], delegate: KochavaTrackerDelegate?)

    The designated configuration method for an instance of class KochavaTracker. This method is used to configure the KochavaTracker shared instance for use.

    init?(parametersDictionary: [AnyHashable: Any], delegate: KochavaTrackerDelegate?)

    The designated initialization method for an instance of class KochavaTracker. This method is used to configure a newly instantiated KochavaTracker for use when you are not using the provided shared instance.

  • Dictionary

    trackerParametersDictionary

    A dictionary with standardized keys used to configure an instance of class KochavaTracker.


    Discussion

    A KochavaTracker is configured using a single parameters dictionary. Each supported key/value pair provides a standardized constant for you to use as the key. Most of the keys you may use are optional and otherwise fall back to default values. After defining your parameters dictionary, you may pass it to either the designated configuration method (for use with the singleton shared instance) or to the designated initializer (to create a new instance which you will manage).

    Keys

    constant kKVAParamAppGUIDStringKey

    (Required) A constant to be used as a key in a key/value pair, where the corresponding value is a Kochava App GUID (String).

    constant kKVAParamAppLimitAdTrackingBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if advertising tracking should be limited.

    constant kKVAParamConsentIntelligentManagementBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean, wrapped in an NSNumber, indicating if Intelligent Consent Management is enabled.

    constant kKVAParamCustomIdStringKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a custom identifier (String).

    constant kKVAParamIdentityLinkDictionaryKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a dictionary providing identity information.

    constant kKVAParamLogLevelEnumKey

    A constant to be used as a key in a key/value pair, where the corresponding value is an enumeration indicating the types of information to be printed to the log.

    constant kKVAParamLogMultiLineBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if multi-line printing should be used in log entries.

    constant kKVAParamRetrieveAttributionBoolKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a boolean indicating if attribution information should be retrieved from the Kochava Server.

    constant kKVAParamStorageIdStringKey

    A constant to be used as a key in a key/value pair, where the corresponding value is a storage identifier (String).

     

    Sample Code:

     

    See Also

    Related Symbols configureWithParametersDictionary:delegate:

    The designated configuration method for an instance of class KochavaTracker. This method is used to configure the KochavaTracker shared instance for use.

    initWithParametersDictionary:delegate:

    The designated initialization method for an instance of class KochavaTracker. This method is used to configure a newly instantiated KochavaTracker for use when you are not using the provided shared instance.

 
 

Last Modified: Jul 12, 2018 at 8:11 am