PayPal Insights SDK - Experiment
DOCS
Last updated: Aug 15th, 6:13am
Experiment
The experiment Object parameters are used for the event that A/B test are being perform. As a merchant, you would pass this parameter indicating whether the user is in the test group, control group or not even eligible for Fastlane.
- type:
object - props:
- exp_name
- type:
string - required: true
- example value: "Fastlane conversion"
- description: Name of the experiment.
- type:
- treatment_name
- type:
string - allowed values:
control|test - required: true
- example value: "test"
- description: The group that the experiment is targeting.
- type:
- ramp
- type:
string - required: true
- example value: "50%"
- description: The percentage of ramp up that the experiment is currently undergoing.
- type:
- exp_name
Example
1{2 exp_name: "Fastlane conversion",3 treatment_name: "control",4 ramp: "60%"5}