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