Track Preferences and Activation Metrics with Subscriber-to-LMO Feature Parameters
Use subscriber-to-LMO feature parameters to track feature activation in your
subscriber’s org. Parameter values are assigned on the subscriber’s end and then sent to your
LMO. To collect the values, update the feature parameters in your subscriber’s org using Apex
code. Check with your legal team before obtaining activation metrics from your customers. Use
activation metrics to collect only aggregated data regarding feature activation.
- System.FeatureManagement.setPackageBooleanValue('YourBooleanFeatureParameter', booleanValue);
- System.FeatureManagement.setPackageDateValue('YourDateFeatureParameter', datetimeValue);
- System.FeatureManagement.setPackageIntegerValue('YourIntegerFeatureParameter', integerValue);