Support Home > SDK Integration > SDK – KochavaTracker > Class – KochavaTracker > Constant – kKVAParamRetrieveAttributionBoolKey

Constant – kKVAParamRetrieveAttributionBoolKey

  • 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.


    Declaration

    Value

    A boolean, which when true will cause the tracker to retrieve attribution information from the Kochava Server. The default value is false.

    Discussion

    NOTE: This should only be done if your app makes use of this information, otherwise it causes needless network communication. Attribution will performed server-side regardless of the application requesting the results.

    The tracker will retrieve attribution information if the kKVAParamRetrieveAttributionBoolKey parameter is passed with a value of true during its configuration. It does this usually within about 10 seconds from the initial launch, although it is subject to a variety of conditions which can cause this time interval to be longer.

    Once attribution information has been retrieved, the result is cached locally. If the KochavaTrackerDelegate instance method tracker(_:didRetrieveAttributionDictionary:) is implemented, it will then also be called. The attribution information is passed as a parameter.

     

    Sample Code:

     

    See Also

    Related Symbols dictionary trackerParametersDictionary

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

    func tracker(KochavaTracker, didRetrieveAttributionDictionary:[AnyHashable: Any])

    Notifies the delegate that attribution data has been retrieved from the server, and provides the data in a dictionary.

    func attributionDictionary() -> String?

    Gets the attribution dictionary that has already been retrieved by the tracker from the Kochava Server.

  • 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.


    Declaration

    Value

    A boolean, which when true will cause the tracker to retrieve attribution information from the Kochava Server. The default value is false.

    Discussion

    NOTE: This should only be done if your app makes use of this information, otherwise it causes needless network communication. Attribution will performed server-side regardless of the application requesting the results.

    The tracker will retrieve attribution information if the kKVAParamRetrieveAttributionBoolKey parameter is passed with a value of true during its configuration. It does this usually within about 10 seconds from the initial launch, although it is subject to a variety of conditions which can cause this time interval to be longer.

    Once attribution information has been retrieved, the result is cached locally. If the KochavaTrackerDelegate instance method tracker:didRetrieveAttributionDictionary: is implemented, it will then also be called. The attribution information is passed as a parameter.

     

    Sample Code:

     

    See Also

    Related Symbols dictionary trackerParametersDictionary

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

    tracker:didRetrieveAttributionDictionary:

    Notifies the delegate that attribution data has been retrieved from the server, and provides the data in a dictionary.

    attributionDictionary

    Gets the attribution dictionary that has already been retrieved by the tracker from the Kochava Server.

 
 

Last Modified: Jul 12, 2018 at 7:57 am