@usgb/forms 1.0.1 → 1.0.2
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.
- package/README.md +79 -30
- package/dist/forms-manifest.1.0.2.json +305 -0
- package/dist/forms-manifest.json +67 -13
- package/dist/index.js +596 -579
- package/dist/src/contract/types.d.ts +6 -10
- package/dist/src/contract/types.d.ts.map +1 -1
- package/dist/src/definitions/consents.d.ts +53 -20
- package/dist/src/definitions/consents.d.ts.map +1 -1
- package/dist/src/definitions/index.d.ts +3 -3
- package/dist/src/definitions/index.d.ts.map +1 -1
- package/dist/src/definitions/types.d.ts +9 -4
- package/dist/src/definitions/types.d.ts.map +1 -1
- package/dist/src/form/UsgbForm.d.ts.map +1 -1
- package/dist/src/form/kinds/LeadKindForm.d.ts.map +1 -1
- package/dist/src/form/useUsgbFormSession.d.ts +5 -5
- package/dist/src/form/useUsgbFormSession.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/usgb-forms.1.0.2.js +44 -0
- package/dist/usgb-forms.js +10 -10
- package/forms-manifest.json +67 -13
- package/package.json +2 -2
- package/dist/usgb-forms.1.0.1.js +0 -44
package/forms-manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@usgb/forms",
|
|
5
|
-
"compatiblePackageVersions": "^1.0.
|
|
5
|
+
"compatiblePackageVersions": "^1.0.2"
|
|
6
6
|
},
|
|
7
7
|
"submissionContract": {
|
|
8
8
|
"version": "1.0.0",
|
|
@@ -187,20 +187,74 @@
|
|
|
187
187
|
"ip_address"
|
|
188
188
|
],
|
|
189
189
|
"ctaLabel": "GET MY FREE GUIDE",
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
190
|
+
"consents": [
|
|
191
|
+
{
|
|
192
|
+
"definitionId": "lead-tcpa",
|
|
193
|
+
"definitionVersion": "1",
|
|
194
|
+
"required": false
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"definitionId": "lead-sms",
|
|
198
|
+
"definitionVersion": "1",
|
|
199
|
+
"required": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"definitionId": "lead-tospp",
|
|
203
|
+
"definitionVersion": "1",
|
|
204
|
+
"required": false
|
|
205
|
+
}
|
|
206
|
+
],
|
|
199
207
|
"editor": {
|
|
200
208
|
"label": "Main Investors Kit",
|
|
201
|
-
"description": "Standard lead form: name, email, phone, TCPA
|
|
202
|
-
"whenToUse": "Default kit request. Do not use for affiliate landers or IRA-specific leads.",
|
|
203
|
-
"whenNotToUse": "Affiliate pages (separate definition). IRA kit (separate definition when added).",
|
|
209
|
+
"description": "Standard lead form: name, email, phone, plus optional TCPA, marketing SMS, and terms/privacy checkboxes. Use on full-width landing pages and PWA kit/sidebar placements.",
|
|
210
|
+
"whenToUse": "Default kit request with optional consent checkboxes. Do not use for affiliate landers or IRA-specific leads.",
|
|
211
|
+
"whenNotToUse": "Affiliate pages (separate definition). IRA kit (separate definition when added). Clickwrap-only kit (`main-investors-kit-notice`).",
|
|
212
|
+
"supportedAppearances": ["on-light", "on-dark"],
|
|
213
|
+
"supportedVariants": ["dense", "large", "sidebar", "two-column"]
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"main-investors-kit-notice": {
|
|
217
|
+
"definitionVersion": "1",
|
|
218
|
+
"kind": "lead",
|
|
219
|
+
"flow": { "type": "single" },
|
|
220
|
+
"supportedHosts": ["pwa", "wordpress"],
|
|
221
|
+
"fields": [
|
|
222
|
+
{ "name": "firstname", "required": true, "group": "name" },
|
|
223
|
+
{ "name": "lastname", "required": true, "group": "name" },
|
|
224
|
+
{ "name": "email", "required": true },
|
|
225
|
+
{ "name": "phone", "required": false }
|
|
226
|
+
],
|
|
227
|
+
"trackingFields": [
|
|
228
|
+
"page_url",
|
|
229
|
+
"page_title",
|
|
230
|
+
"referrer",
|
|
231
|
+
"first_touch_url",
|
|
232
|
+
"utm_source",
|
|
233
|
+
"utm_medium",
|
|
234
|
+
"utm_campaign",
|
|
235
|
+
"utm_term",
|
|
236
|
+
"utm_content",
|
|
237
|
+
"gclid",
|
|
238
|
+
"msclkid",
|
|
239
|
+
"gbraid",
|
|
240
|
+
"wbraid",
|
|
241
|
+
"hubspot_utk",
|
|
242
|
+
"ga_client_id",
|
|
243
|
+
"ga_session_id",
|
|
244
|
+
"snowplow_id",
|
|
245
|
+
"vwo_uuid",
|
|
246
|
+
"user_agent",
|
|
247
|
+
"ip_address"
|
|
248
|
+
],
|
|
249
|
+
"ctaLabel": "GET MY FREE GUIDE",
|
|
250
|
+
"consents": [
|
|
251
|
+
{ "definitionId": "lead-clickwrap", "definitionVersion": "1" }
|
|
252
|
+
],
|
|
253
|
+
"editor": {
|
|
254
|
+
"label": "Main Investors Kit (clickwrap)",
|
|
255
|
+
"description": "Same fields as Main Investors Kit with a clickwrap notice only — no consent checkboxes.",
|
|
256
|
+
"whenToUse": "Kit request where submit acknowledges legal docs via notice copy instead of checkboxes.",
|
|
257
|
+
"whenNotToUse": "Placements that need TCPA / marketing SMS / terms checkboxes (`main-investors-kit`).",
|
|
204
258
|
"supportedAppearances": ["on-light", "on-dark"],
|
|
205
259
|
"supportedVariants": ["dense", "large", "sidebar", "two-column"]
|
|
206
260
|
}
|
package/package.json
CHANGED