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.
Call setSuperProperties to set public event properties.
Note:
Parameter Name | Parameter Meaning | Parameter Type | Mandatory |
---|---|---|---|
userProperties | Developer custom public event properties | Dictionary | Yes |
Call example:
let customProperties = {
key1:"value1",
key2:2
}
solarengine.setSuperProperties(customProperties);
Call unsetSuperProperty to delete the corresponding public event property of a defined key:
Parameter Name | Parameter Meaning | Parameter Type | Mandatory |
---|---|---|---|
key | The "key" of the public event property that needs clearing. | String | Yes |
Call example:
solarengine.unsetSuperProperty("K3");
Call clearSuperProperty to clear all public event properties:
Call example:
solarengine.clearSuperProperties();