Skip to content

Commit c852cba

Browse files
[PR-23282] [JS Library] Add a possibility to pass sub_choise for Person with Origin (#356)
1 parent 66b1fc3 commit c852cba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/partials/product_purchase_script.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
},
3232
customer: {
3333
email: '', // Required - Email of the customer who issued a purchase. Example: '[email protected]'
34-
traffic_source: '' // The source of the traffic driven to the campaign. Example: 'facebook'
34+
traffic_source: '', // The source of the traffic driven to the campaign. Example: 'facebook'
35+
phone_optin: false, // Indicates whether the customer has provided consent for phone opt-in. The value should be boolean. If set to true, a valid phone number must be provided.
36+
email_optin: false // Indicates whether the customer has provided consent for email opt-in. The value should be boolean.
3537
}
3638
};
3739

0 commit comments

Comments
 (0)