@jmp-technologies/analytics 0.1.33 → 0.1.35
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/dist/astro/client.cjs +4 -1
- package/dist/astro/client.cjs.map +1 -1
- package/dist/astro/client.js +1 -1
- package/dist/astro/content.cjs +34 -1
- package/dist/astro/content.cjs.map +1 -1
- package/dist/astro/content.js +4 -2
- package/dist/astro/integration.cjs +4 -1
- package/dist/astro/integration.cjs.map +1 -1
- package/dist/astro/integration.js +2 -2
- package/dist/astro/register.cjs +4 -1
- package/dist/astro/register.cjs.map +1 -1
- package/dist/astro/register.js +2 -2
- package/dist/{chunk-FH5CJNQD.js → chunk-3ET7F6MZ.js} +16 -3
- package/dist/chunk-3ET7F6MZ.js.map +1 -0
- package/dist/{chunk-AIOUOA24.js → chunk-4ZUW24F6.js} +2 -2
- package/dist/{chunk-KTPL3R5E.js → chunk-6SMPRPQ3.js} +24 -2
- package/dist/chunk-6SMPRPQ3.js.map +1 -0
- package/dist/{chunk-4Q6YOXKB.js → chunk-G322JCI3.js} +2 -2
- package/dist/{chunk-JMALYARK.js → chunk-VUCOCFVE.js} +2 -2
- package/dist/index.cjs +24 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/next/content.cjs +35 -1
- package/dist/next/content.cjs.map +1 -1
- package/dist/next/content.js +5 -2
- package/dist/next/content.js.map +1 -1
- package/dist/next/instrumentation.cjs +4 -1
- package/dist/next/instrumentation.cjs.map +1 -1
- package/dist/next/instrumentation.js +1 -1
- package/dist/next/landing-pages.cjs +4 -1
- package/dist/next/landing-pages.cjs.map +1 -1
- package/dist/next/landing-pages.js +2 -2
- package/dist/next/locations.cjs +4 -1
- package/dist/next/locations.cjs.map +1 -1
- package/dist/next/locations.js +2 -2
- package/dist/next/site-root-server.cjs +4 -1
- package/dist/next/site-root-server.cjs.map +1 -1
- package/dist/next/site-root-server.js +3 -3
- package/dist/next.cjs +4 -1
- package/dist/next.cjs.map +1 -1
- package/dist/next.js +3 -3
- package/dist/react.cjs +4 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +2 -2
- package/package.json +1 -1
- package/dist/astro/client.d.cts +0 -18
- package/dist/astro/client.d.ts +0 -18
- package/dist/astro/content.d.cts +0 -48
- package/dist/astro/content.d.ts +0 -48
- package/dist/astro/integration.d.cts +0 -36
- package/dist/astro/integration.d.ts +0 -36
- package/dist/astro/middleware.d.cts +0 -19
- package/dist/astro/middleware.d.ts +0 -19
- package/dist/astro/register.d.cts +0 -7
- package/dist/astro/register.d.ts +0 -7
- package/dist/chunk-FH5CJNQD.js.map +0 -1
- package/dist/chunk-KTPL3R5E.js.map +0 -1
- package/dist/create-jmp-analytics-CwtcXBd7.d.ts +0 -69
- package/dist/create-jmp-analytics-lkGcysG_.d.cts +0 -69
- package/dist/env-public-B6Y0DG68.d.cts +0 -14
- package/dist/env-public-B6Y0DG68.d.ts +0 -14
- package/dist/index.d.cts +0 -104
- package/dist/index.d.ts +0 -104
- package/dist/landing-capture-C8pyZWuF.d.cts +0 -4
- package/dist/landing-capture-C8pyZWuF.d.ts +0 -4
- package/dist/next/content.d.cts +0 -22
- package/dist/next/content.d.ts +0 -22
- package/dist/next/google-tag.d.cts +0 -17
- package/dist/next/google-tag.d.ts +0 -17
- package/dist/next/instrumentation.d.cts +0 -7
- package/dist/next/instrumentation.d.ts +0 -7
- package/dist/next/landing-capture-script-server.d.cts +0 -14
- package/dist/next/landing-capture-script-server.d.ts +0 -14
- package/dist/next/landing-pages.d.cts +0 -92
- package/dist/next/landing-pages.d.ts +0 -92
- package/dist/next/locations.d.cts +0 -55
- package/dist/next/locations.d.ts +0 -55
- package/dist/next/middleware.d.cts +0 -10
- package/dist/next/middleware.d.ts +0 -10
- package/dist/next/site-root-server.d.cts +0 -24
- package/dist/next/site-root-server.d.ts +0 -24
- package/dist/next.d.cts +0 -50
- package/dist/next.d.ts +0 -50
- package/dist/react.d.cts +0 -22
- package/dist/react.d.ts +0 -22
- package/dist/site-config-BMlEQ_8g.d.cts +0 -74
- package/dist/site-config-BbE6kGDd.d.ts +0 -74
- package/dist/track-page-view-BPWGGoMr.d.ts +0 -12
- package/dist/track-page-view-DaNOaIxF.d.cts +0 -12
- package/dist/types-BdC3SRH-.d.cts +0 -386
- package/dist/types-BdC3SRH-.d.ts +0 -386
- package/dist/utils-B4E-pcQ0.d.ts +0 -15
- package/dist/utils-DIHFgovG.d.cts +0 -15
- /package/dist/{chunk-AIOUOA24.js.map → chunk-4ZUW24F6.js.map} +0 -0
- /package/dist/{chunk-4Q6YOXKB.js.map → chunk-G322JCI3.js.map} +0 -0
- /package/dist/{chunk-JMALYARK.js.map → chunk-VUCOCFVE.js.map} +0 -0
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
type JmpTrustSection = "summary" | "testimonials" | "reviews" | "stats" | "logos" | "credentials";
|
|
2
|
-
type JmpContentRouteManifest = {
|
|
3
|
-
wrapper: string;
|
|
4
|
-
pattern: string;
|
|
5
|
-
index?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
};
|
|
8
|
-
type JmpTrustBlockManifest = {
|
|
9
|
-
section: JmpTrustSection;
|
|
10
|
-
label?: string;
|
|
11
|
-
};
|
|
12
|
-
type JmpContactExtraManifest = {
|
|
13
|
-
key: string;
|
|
14
|
-
label: string;
|
|
15
|
-
};
|
|
16
|
-
type JmpExternalSanitySourceManifest = {
|
|
17
|
-
studioUrl?: string;
|
|
18
|
-
};
|
|
19
|
-
type JmpExternalShopifySourceManifest = {
|
|
20
|
-
adminUrl?: string;
|
|
21
|
-
storeUrl?: string;
|
|
22
|
-
};
|
|
23
|
-
type JmpExternalAdminLinkManifest = {
|
|
24
|
-
id: string;
|
|
25
|
-
label: string;
|
|
26
|
-
url: string;
|
|
27
|
-
};
|
|
28
|
-
type JmpExternalSourcesManifest = {
|
|
29
|
-
sanity?: JmpExternalSanitySourceManifest;
|
|
30
|
-
shopify?: JmpExternalShopifySourceManifest;
|
|
31
|
-
links?: JmpExternalAdminLinkManifest[];
|
|
32
|
-
};
|
|
33
|
-
type JmpContentManifest = {
|
|
34
|
-
version?: number;
|
|
35
|
-
routes?: JmpContentRouteManifest[];
|
|
36
|
-
externalSources?: JmpExternalSourcesManifest;
|
|
37
|
-
trust?: {
|
|
38
|
-
blocks?: JmpTrustBlockManifest[];
|
|
39
|
-
labels?: Partial<Record<JmpTrustSection, string>>;
|
|
40
|
-
mergeTestimonialsReviews?: boolean;
|
|
41
|
-
};
|
|
42
|
-
contact?: {
|
|
43
|
-
extras?: JmpContactExtraManifest[];
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
declare function normalizeJmpContentManifest(input: JmpContentManifest | null | undefined): JmpContentManifest | null;
|
|
47
|
-
declare function stableJmpManifestFingerprint(manifest: JmpContentManifest | null): string;
|
|
48
|
-
|
|
49
|
-
type JmpEventType = "page_view" | "form_submit" | "call_click" | "email_click" | "contact_click";
|
|
50
|
-
type JmpAnalyticsConfig = {
|
|
51
|
-
/** Dashboard origin, e.g. https://analytics.example.com (no trailing slash) */
|
|
52
|
-
baseUrl: string;
|
|
53
|
-
/** Per-website key from JMP admin */
|
|
54
|
-
trackingKey: string;
|
|
55
|
-
/** Log requests to console */
|
|
56
|
-
debug?: boolean;
|
|
57
|
-
/** Override fetch (tests, React Native) */
|
|
58
|
-
fetchImpl?: typeof fetch;
|
|
59
|
-
/**
|
|
60
|
-
* Suppress duplicate `page_view` for the same path within this window (ms).
|
|
61
|
-
* Helps with React Strict Mode double-mount; typical: 500–1000.
|
|
62
|
-
*/
|
|
63
|
-
pageViewDedupeMs?: number;
|
|
64
|
-
/**
|
|
65
|
-
* When true, no events are sent until {@link setJmpTrackingConsent}(true).
|
|
66
|
-
* Pair with your cookie banner; see `NEXT_PUBLIC_JMP_ANALYTICS_REQUIRE_CONSENT`.
|
|
67
|
-
*/
|
|
68
|
-
requireConsent?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* When true, register a single delegated `click` listener that classifies links
|
|
71
|
-
* (SMS, WhatsApp, maps, scheduling) and records them via {@link trackContactClick}.
|
|
72
|
-
*
|
|
73
|
-
* Off by default — pair with privacy disclosure / consent before enabling.
|
|
74
|
-
* `tel:` / `mailto:` continue to use {@link trackCallClick} / {@link trackEmailClick}.
|
|
75
|
-
*
|
|
76
|
-
* Opt out per-link with `data-jmp-no-track` on an `<a>` (or an ancestor).
|
|
77
|
-
*/
|
|
78
|
-
autoTrackContactLinks?: boolean;
|
|
79
|
-
};
|
|
80
|
-
type JmpContentWrapperReportMode = "auto" | "manual"
|
|
81
|
-
/** @deprecated Use manual — only report {@link JmpContentConfig.contentWrappers}. */
|
|
82
|
-
| "explicit-only";
|
|
83
|
-
|
|
84
|
-
type JmpContentConfig = Pick<JmpAnalyticsConfig, "baseUrl" | "trackingKey" | "debug" | "fetchImpl"> & {
|
|
85
|
-
/**
|
|
86
|
-
* Optional override list. By default wrappers are discovered when
|
|
87
|
-
* {@link getJmpBlogPosts}, {@link getJmpFaqs}, etc. run, then reported via
|
|
88
|
-
* POST /api/content/capabilities.
|
|
89
|
-
*/
|
|
90
|
-
contentWrappers?: JmpContentWrapper[];
|
|
91
|
-
/**
|
|
92
|
-
* `auto` (default): union of discovered usage + `contentWrappers`.
|
|
93
|
-
* `manual`: only `contentWrappers`.
|
|
94
|
-
*/
|
|
95
|
-
contentWrapperMode?: JmpContentWrapperReportMode;
|
|
96
|
-
/**
|
|
97
|
-
* How content is structured on this site (routes, trust block order, contact
|
|
98
|
-
* extras). Sent with POST /api/content/capabilities so the dashboard matches
|
|
99
|
-
* the live template.
|
|
100
|
-
*/
|
|
101
|
-
contentManifest?: JmpContentManifest;
|
|
102
|
-
};
|
|
103
|
-
/** Top-level and trust sub-wrappers the client can declare. */
|
|
104
|
-
type JmpContentWrapper = "blog" | "faq" | "landing" | "locations" | "contact" | "trust" | "trust.summary" | "trust.testimonials" | "trust.reviews" | "trust.stats" | "trust.logos" | "trust.credentials";
|
|
105
|
-
type JmpBlogPost = {
|
|
106
|
-
id: string;
|
|
107
|
-
title: string;
|
|
108
|
-
slug: string;
|
|
109
|
-
locale: string;
|
|
110
|
-
translation_group_id?: string;
|
|
111
|
-
path?: string;
|
|
112
|
-
excerpt: string | null;
|
|
113
|
-
body: string;
|
|
114
|
-
seo_title: string | null;
|
|
115
|
-
meta_description: string | null;
|
|
116
|
-
featured_image_url: string | null;
|
|
117
|
-
author_name: string | null;
|
|
118
|
-
author_descriptor: string | null;
|
|
119
|
-
tags: string[];
|
|
120
|
-
published_at: string | null;
|
|
121
|
-
updated_at: string;
|
|
122
|
-
};
|
|
123
|
-
type JmpContentLocaleAlternate = {
|
|
124
|
-
locale: string;
|
|
125
|
-
slug: string;
|
|
126
|
-
path: string;
|
|
127
|
-
};
|
|
128
|
-
type JmpBlogPostDetail = {
|
|
129
|
-
post: JmpBlogPost;
|
|
130
|
-
alternates: JmpContentLocaleAlternate[];
|
|
131
|
-
};
|
|
132
|
-
type JmpFaqItem = {
|
|
133
|
-
id: string;
|
|
134
|
-
slug: string;
|
|
135
|
-
locale: string;
|
|
136
|
-
translation_group_id?: string;
|
|
137
|
-
path?: string;
|
|
138
|
-
question: string;
|
|
139
|
-
answer: string;
|
|
140
|
-
category?: string | null;
|
|
141
|
-
sort_order: number;
|
|
142
|
-
updated_at: string;
|
|
143
|
-
};
|
|
144
|
-
type JmpFaqItemDetail = {
|
|
145
|
-
faq: JmpFaqItem;
|
|
146
|
-
alternates: JmpContentLocaleAlternate[];
|
|
147
|
-
};
|
|
148
|
-
type JmpLandingPageKind = "service" | "location";
|
|
149
|
-
type JmpLandingPage = {
|
|
150
|
-
id: string;
|
|
151
|
-
kind: JmpLandingPageKind;
|
|
152
|
-
locale: string;
|
|
153
|
-
slug: string;
|
|
154
|
-
translation_group_id: string;
|
|
155
|
-
title: string;
|
|
156
|
-
seo_title: string | null;
|
|
157
|
-
meta_description: string | null;
|
|
158
|
-
headline: string | null;
|
|
159
|
-
excerpt: string | null;
|
|
160
|
-
body: string;
|
|
161
|
-
featured_image_url: string | null;
|
|
162
|
-
location_label: string | null;
|
|
163
|
-
region_code: string | null;
|
|
164
|
-
service_category: string | null;
|
|
165
|
-
published_at: string | null;
|
|
166
|
-
updated_at: string;
|
|
167
|
-
path: string;
|
|
168
|
-
};
|
|
169
|
-
type JmpLandingPageAlternate = {
|
|
170
|
-
locale: string;
|
|
171
|
-
slug: string;
|
|
172
|
-
path: string;
|
|
173
|
-
};
|
|
174
|
-
type JmpLandingPageDetail = {
|
|
175
|
-
page: JmpLandingPage;
|
|
176
|
-
alternates: JmpLandingPageAlternate[];
|
|
177
|
-
schema_json_ld: Record<string, unknown>[] | null;
|
|
178
|
-
};
|
|
179
|
-
type JmpLandingPageSitemapEntry = {
|
|
180
|
-
kind: JmpLandingPageKind;
|
|
181
|
-
locale: string;
|
|
182
|
-
slug: string;
|
|
183
|
-
path: string;
|
|
184
|
-
updated_at: string;
|
|
185
|
-
alternates: JmpLandingPageAlternate[];
|
|
186
|
-
};
|
|
187
|
-
type JmpWebsiteLocation = {
|
|
188
|
-
id: string;
|
|
189
|
-
slug: string;
|
|
190
|
-
name: string;
|
|
191
|
-
is_primary: boolean;
|
|
192
|
-
sort_order: number;
|
|
193
|
-
address: string | null;
|
|
194
|
-
phone: string | null;
|
|
195
|
-
email: string | null;
|
|
196
|
-
hours: string | null;
|
|
197
|
-
google_maps_url: string | null;
|
|
198
|
-
geo: {
|
|
199
|
-
lat: number;
|
|
200
|
-
lng: number;
|
|
201
|
-
} | null;
|
|
202
|
-
seo_title: string | null;
|
|
203
|
-
meta_description: string | null;
|
|
204
|
-
excerpt: string | null;
|
|
205
|
-
body: string;
|
|
206
|
-
published_at: string | null;
|
|
207
|
-
updated_at: string;
|
|
208
|
-
/** Client contact detail route, e.g. /contact/logan */
|
|
209
|
-
path: string;
|
|
210
|
-
};
|
|
211
|
-
type JmpWebsiteLocationDetail = {
|
|
212
|
-
location: JmpWebsiteLocation;
|
|
213
|
-
schema_json_ld: Record<string, unknown>[] | null;
|
|
214
|
-
};
|
|
215
|
-
type JmpTrustSummary = {
|
|
216
|
-
google_rating: number | null;
|
|
217
|
-
google_review_count: number | null;
|
|
218
|
-
google_reviews_url: string | null;
|
|
219
|
-
/** Minimum Google star rating (1–5) imported during sync. */
|
|
220
|
-
google_reviews_min_stars?: number | null;
|
|
221
|
-
/** When false, synced reviews are saved as drafts for manual curation. */
|
|
222
|
-
google_reviews_auto_publish?: boolean | null;
|
|
223
|
-
yelp_url: string | null;
|
|
224
|
-
trustpilot_url: string | null;
|
|
225
|
-
disclaimer: string | null;
|
|
226
|
-
};
|
|
227
|
-
type JmpTestimonial = {
|
|
228
|
-
id: string;
|
|
229
|
-
slug: string;
|
|
230
|
-
body: string;
|
|
231
|
-
author_name: string;
|
|
232
|
-
author_descriptor: string | null;
|
|
233
|
-
location: string | null;
|
|
234
|
-
/** 1–10 (half-star steps on a 5-star scale; 10 = 5.0 stars). */
|
|
235
|
-
rating: number | null;
|
|
236
|
-
image_url: string | null;
|
|
237
|
-
video_url: string | null;
|
|
238
|
-
/** Optional topic or service line (e.g. roofing). */
|
|
239
|
-
category: string | null;
|
|
240
|
-
/** Site section key — filter like FAQ `category` (e.g. testimonials, reviews). */
|
|
241
|
-
placement: string | null;
|
|
242
|
-
source: string | null;
|
|
243
|
-
/** Optional link to the original review on Google, Yelp, etc. */
|
|
244
|
-
source_url: string | null;
|
|
245
|
-
featured: boolean;
|
|
246
|
-
sort_order: number;
|
|
247
|
-
updated_at: string;
|
|
248
|
-
};
|
|
249
|
-
type JmpTrustStat = {
|
|
250
|
-
id: string;
|
|
251
|
-
slug: string;
|
|
252
|
-
label: string;
|
|
253
|
-
value: string;
|
|
254
|
-
sort_order: number;
|
|
255
|
-
updated_at: string;
|
|
256
|
-
};
|
|
257
|
-
type JmpPartnerLogo = {
|
|
258
|
-
id: string;
|
|
259
|
-
slug: string;
|
|
260
|
-
name: string;
|
|
261
|
-
image_url: string | null;
|
|
262
|
-
link_url: string | null;
|
|
263
|
-
sort_order: number;
|
|
264
|
-
updated_at: string;
|
|
265
|
-
};
|
|
266
|
-
type JmpCredential = {
|
|
267
|
-
id: string;
|
|
268
|
-
slug: string;
|
|
269
|
-
title: string;
|
|
270
|
-
issuer: string | null;
|
|
271
|
-
year: string | null;
|
|
272
|
-
image_url: string | null;
|
|
273
|
-
category: string | null;
|
|
274
|
-
sort_order: number;
|
|
275
|
-
updated_at: string;
|
|
276
|
-
};
|
|
277
|
-
type JmpTrustBundle = {
|
|
278
|
-
summary: JmpTrustSummary;
|
|
279
|
-
testimonials: JmpTestimonial[];
|
|
280
|
-
stats: JmpTrustStat[];
|
|
281
|
-
logos: JmpPartnerLogo[];
|
|
282
|
-
credentials: JmpCredential[];
|
|
283
|
-
};
|
|
284
|
-
type JmpSiteProfile = {
|
|
285
|
-
name: string;
|
|
286
|
-
display_name: string | null;
|
|
287
|
-
email: string | null;
|
|
288
|
-
phone: string | null;
|
|
289
|
-
address: string | null;
|
|
290
|
-
hours: string | null;
|
|
291
|
-
service_area: string | null;
|
|
292
|
-
google_maps_url: string | null;
|
|
293
|
-
social: {
|
|
294
|
-
linkedin: string | null;
|
|
295
|
-
instagram: string | null;
|
|
296
|
-
facebook: string | null;
|
|
297
|
-
x: string | null;
|
|
298
|
-
youtube: string | null;
|
|
299
|
-
};
|
|
300
|
-
cta: {
|
|
301
|
-
label: string | null;
|
|
302
|
-
url: string | null;
|
|
303
|
-
};
|
|
304
|
-
legal: {
|
|
305
|
-
privacy_policy_url: string | null;
|
|
306
|
-
terms_url: string | null;
|
|
307
|
-
};
|
|
308
|
-
/** Developer-defined keys; values filled by the client. */
|
|
309
|
-
extras: Record<string, string | null>;
|
|
310
|
-
/** GA4 measurement ID from jmp-dashboard (null = no portal-managed GA tag). */
|
|
311
|
-
ga_measurement_id: string | null;
|
|
312
|
-
/** Site default locale (BCP 47). Omitted prefix on public URLs. */
|
|
313
|
-
default_locale?: string;
|
|
314
|
-
/** Locales this site may publish content in. */
|
|
315
|
-
enabled_locales?: string[];
|
|
316
|
-
};
|
|
317
|
-
type TrackPageViewOptions = {
|
|
318
|
-
path?: string;
|
|
319
|
-
source?: string;
|
|
320
|
-
device?: string;
|
|
321
|
-
country?: string;
|
|
322
|
-
metadata?: Record<string, unknown>;
|
|
323
|
-
};
|
|
324
|
-
type TrackLeadOptions = {
|
|
325
|
-
/** Path where the lead was submitted, e.g. /contact */
|
|
326
|
-
path?: string;
|
|
327
|
-
name?: string;
|
|
328
|
-
email?: string;
|
|
329
|
-
phone?: string;
|
|
330
|
-
company?: string;
|
|
331
|
-
website?: string;
|
|
332
|
-
subject?: string;
|
|
333
|
-
message?: string;
|
|
334
|
-
/**
|
|
335
|
-
* Optional flexible metadata for dynamic lead forms.
|
|
336
|
-
* Prefer the normalized envelope (formId/formVersion/answers/derived/attribution),
|
|
337
|
-
* but unknown keys are also accepted by the API.
|
|
338
|
-
*/
|
|
339
|
-
metadata?: LeadMetadata;
|
|
340
|
-
/**
|
|
341
|
-
* Optional session id (from createJmpAnalytics internal session) if your app wants to pass it explicitly.
|
|
342
|
-
* Most callers should omit this.
|
|
343
|
-
*/
|
|
344
|
-
sessionId?: string;
|
|
345
|
-
};
|
|
346
|
-
type LeadMetadataValue = string | number | boolean | null | undefined | LeadMetadataValue[] | {
|
|
347
|
-
[key: string]: LeadMetadataValue;
|
|
348
|
-
};
|
|
349
|
-
type LeadMetadata = {
|
|
350
|
-
formId?: string;
|
|
351
|
-
formVersion?: string;
|
|
352
|
-
leadKind?: string;
|
|
353
|
-
answers?: Record<string, LeadMetadataValue>;
|
|
354
|
-
derived?: Record<string, LeadMetadataValue>;
|
|
355
|
-
attribution?: {
|
|
356
|
-
utm_source?: string;
|
|
357
|
-
utm_medium?: string;
|
|
358
|
-
utm_campaign?: string;
|
|
359
|
-
utm_content?: string;
|
|
360
|
-
utm_term?: string;
|
|
361
|
-
gclid?: string;
|
|
362
|
-
fbclid?: string;
|
|
363
|
-
msclkid?: string;
|
|
364
|
-
ttclid?: string;
|
|
365
|
-
[key: string]: LeadMetadataValue | undefined;
|
|
366
|
-
};
|
|
367
|
-
tags?: string[];
|
|
368
|
-
[key: string]: LeadMetadataValue | undefined;
|
|
369
|
-
};
|
|
370
|
-
type JmpServerRequestLike = {
|
|
371
|
-
url?: string;
|
|
372
|
-
headers: Pick<Headers, "get"> | Record<string, string | string[] | undefined | null>;
|
|
373
|
-
};
|
|
374
|
-
type TrackServerPageViewOptions = {
|
|
375
|
-
request?: JmpServerRequestLike;
|
|
376
|
-
/** Overrides request URL path. Use pathname + search when possible. */
|
|
377
|
-
path?: string;
|
|
378
|
-
/** Original visitor user agent. Useful when not passing `request`. */
|
|
379
|
-
userAgent?: string | null;
|
|
380
|
-
/** Original visitor referrer. Useful when not passing `request`. */
|
|
381
|
-
referer?: string | null;
|
|
382
|
-
metadata?: Record<string, unknown>;
|
|
383
|
-
sessionId?: string;
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
export { type JmpTrustBlockManifest as A, type JmpTrustSection as B, type JmpTrustStat as C, type JmpTrustSummary as D, type LeadMetadataValue as E, normalizeJmpContentManifest as F, stableJmpManifestFingerprint as G, type JmpBlogPost as J, type LeadMetadata as L, type TrackPageViewOptions as T, type JmpFaqItem as a, type JmpLandingPage as b, type JmpLandingPageDetail as c, type JmpLandingPageKind as d, type JmpLandingPageSitemapEntry as e, type JmpSiteProfile as f, type JmpTestimonial as g, type JmpTrustBundle as h, type JmpWebsiteLocation as i, type JmpWebsiteLocationDetail as j, type JmpContentWrapper as k, type JmpContentManifest as l, type JmpContentConfig as m, type JmpServerRequestLike as n, type JmpAnalyticsConfig as o, type JmpEventType as p, type TrackLeadOptions as q, type TrackServerPageViewOptions as r, type JmpBlogPostDetail as s, type JmpFaqItemDetail as t, type JmpContactExtraManifest as u, type JmpContentLocaleAlternate as v, type JmpContentRouteManifest as w, type JmpContentWrapperReportMode as x, type JmpCredential as y, type JmpPartnerLogo as z };
|