Menu

Public Event Properties

       Public event properties refer to the properties that are included in every event, such as the user's source channel and the advertising ID associated with conversions.

       It is best to set public event properties before SDK initialization, which will guarantee that all the events reported later will have the public properties.

       You can call 'setSuperProperties' to set public event properties. We recommend setting the public event properties before sending any events.

       The format requirements for public event properties should be consistent with event properties.

[[SolarEngineSDK sharedInstance] setSuperProperties:properties];

       To delete one of the public event properties, you can call unsetSuperProperty.

       To clear all public event properties, you can call clearSuperProperties:

[[SolarEngineSDK sharedInstance] clearSuperProperties];

Note:

  • Public event properties will be saved in the cache and do not need to be called every time the app is started.
  • Uploading previously set public properties again by calling 'setSuperProperties' will overwrite the previous properties.
  • If a key in the public event properties overlaps with a property uploaded in an event report, the property in the specific event will override the corresponding public event property.


Previous
Account ID
Next
Get Preset Properties
Last modified: 2024-06-19Powered by