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:
Function
export function setSuperProperties(superProperties:Object);
Parameter | Description | Type | Required |
---|---|---|---|
superProperties | Developer custom public event properties | Object | Yes |
Sample Code
let superProperties:Object = { ... };
SolarEngine.setSuperProperties(superProperties);
Call unsetSuperProperty to delete the corresponding public event property of a defined key:
Function
export function unsetSuperProperty(key:string);
Parameter | Description | Type | Required |
---|---|---|---|
key | The "key" of the public event property that needs clearing. | String | Yes |
Sample Code
let key:string = "your_key";
SolarEngine.unsetSuperProperty(key);
Call clearSuperProperty to clear all public event properties:
Function
export function clearSuperProperties();
Sample Code
SolarEngine.clearSuperProperties();