leadconduit-trustedform 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,8 @@
6
6
  - [ ] Bug fix (non-breaking change that fixes an issue)
7
7
  - [ ] New feature (non-breaking change that adds functionality)
8
8
  - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
9
+ - [ ] UI Change Only
10
+ - [ ] Chore
9
11
  - [ ] Configuration change
10
12
  - [ ] Technical Debt
11
13
  - [ ] Documentation
@@ -81,7 +81,8 @@ const formatProperties = (insights) => {
81
81
  { mapping: 'page_url', value: 'page_url' },
82
82
  { mapping: 'parent_page_url', value: 'parent_page_url' },
83
83
  { mapping: 'time_on_page', value: 'seconds_on_page' },
84
- { mapping: 'bot_detected', value: 'bot_detected' }
84
+ { mapping: 'bot_detected', value: 'bot_detected' },
85
+ { mapping: 'confirmed_owner', value: 'confirmed_owner' }
85
86
  ];
86
87
 
87
88
  let selectedProps = insightsProps.map((field) => {
@@ -122,6 +123,7 @@ request.variables = () => [
122
123
  { name: 'insights.page_url', type: 'boolean', required: false, description: 'Request TrustedForm Insights page URL data?' },
123
124
  { name: 'insights.page_scan', type: 'boolean', required: false, description: 'Request TrustedForm Insights page scan data?' },
124
125
  { name: 'insights.bot_detected', type: 'boolean', required: false, description: 'Request TrustedForm Insights bot detection data?' },
126
+ { name: 'insights.confirmed_owner', type: 'boolean', required: false, description: 'Request TrustedForm Insights confirmed owner data?' },
125
127
  { name: 'trustedform.scan_required_text', type: 'array', required: false, description: 'A list of required text to scan for. TrustedForm will then perform a case and whitespace insensitive search for the string.' },
126
128
  { name: 'trustedform.scan_forbidden_text', type: 'array', required: false, description: 'A list of forbidden text to scan for. TrustedForm will then perform a case and whitespace insensitive search for the string.' },
127
129
  { name: 'trustedform.scan_delimiter', type: 'string', required: false, description: 'Use this parameter to designate a delimiter when wrapping wildcards or template variables; defaults to |.' },
@@ -216,6 +218,7 @@ const response = (vars, req, res) => {
216
218
  page_url: parsed.insights?.properties?.page_url,
217
219
  parent_page_url: parsed.insights?.properties?.parent_page_url,
218
220
  bot_detected: parsed.insights?.properties?.bot_detected,
221
+ confirmed_owner: parsed.insights?.properties?.confirmed_owner,
219
222
  one_to_one: parsed.verify?.result?.one_to_one,
220
223
  verify
221
224
  }, (v) => { return !isUndefined(v); });
@@ -293,6 +296,7 @@ response.variables = () => [
293
296
  { name: 'page_url', type: 'string', description: 'The URL of the page hosting TrustedForm Certify.' },
294
297
  { name: 'parent_page_url', type: 'string', description: 'The parent URL of the page hosting TrustedForm Certify, if framed.' },
295
298
  { name: 'bot_detected', type: 'boolean', description: 'A boolean indicating whether the events documented were likely produced by a non-human entity based on ActiveProspect\'s proprietary algorithms.' },
299
+ { name: 'confirmed_owner', type: 'string', description: 'A string indicating the verified owner of the domain, page, app, or site where the lead was generated.' },
296
300
  { name: 'one_to_one', type: 'boolean', description: 'A boolean indicating if the cert structure satisfied the requirements for 1:1 consent.' },
297
301
  { name: 'verify.languages', type: 'array', description: 'A list of the consent languages detected within the certificate' },
298
302
  { name: 'verify.language_approved', type: 'boolean', description: 'A boolean indicating if any of the consent languages found have been approved in your account\'s consent language manager.' },
@@ -34,6 +34,11 @@ module.exports = {
34
34
  description: 'A determination of whether the events documented were likely produced by a non-human entity based on ActiveProspect’s proprietary algorithms. <a href="https://community.activeprospect.com/posts/5424099" target="_blank">Learn more.</a>',
35
35
  enabled: false
36
36
  },
37
+ confirmed_owner: {
38
+ name: 'Confirmed Owner',
39
+ description: 'A string indicating the verified owner of the domain, page, app, or site where the lead was generated. <a href="https://community.activeprospect.com/posts/5871525" target="_blank">Learn More.</a>',
40
+ enabled: false
41
+ },
37
42
  form_input_method: {
38
43
  name: 'Form Input Method',
39
44
  description: 'A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.',