@flamingo-stack/openframe-frontend-core 0.0.483 → 0.0.484
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/{chunk-LT2PU6SK.js → chunk-3MTN5XHZ.js} +2 -2
- package/dist/{chunk-JBC5DAI5.cjs → chunk-3VZJHXPE.cjs} +15 -15
- package/dist/{chunk-JBC5DAI5.cjs.map → chunk-3VZJHXPE.cjs.map} +1 -1
- package/dist/{chunk-6U7HIZSW.js → chunk-4PVTF36S.js} +2 -2
- package/dist/{chunk-VCOL4C2W.cjs → chunk-A7IPON2V.cjs} +3 -2
- package/dist/chunk-A7IPON2V.cjs.map +1 -0
- package/dist/{chunk-ZN56E4FX.cjs → chunk-AVN6WGIV.cjs} +29 -29
- package/dist/{chunk-ZN56E4FX.cjs.map → chunk-AVN6WGIV.cjs.map} +1 -1
- package/dist/{chunk-FEQW64Q5.cjs → chunk-CGEC7YIX.cjs} +73 -73
- package/dist/{chunk-FEQW64Q5.cjs.map → chunk-CGEC7YIX.cjs.map} +1 -1
- package/dist/{chunk-AGX565ZT.js → chunk-CWQACI4Z.js} +2 -2
- package/dist/{chunk-3VMCJK7A.js → chunk-DVYTY2GK.js} +3 -3
- package/dist/{chunk-WIITTL5I.js → chunk-F3UM6ZPO.js} +6 -6
- package/dist/{chunk-Y37XYIWA.js → chunk-G2L46BDG.js} +4 -4
- package/dist/{chunk-T2S7A5IU.js → chunk-HSVQ7W5M.js} +6 -6
- package/dist/{chunk-RFMH6MLM.cjs → chunk-HTHR7KWB.cjs} +32 -32
- package/dist/{chunk-RFMH6MLM.cjs.map → chunk-HTHR7KWB.cjs.map} +1 -1
- package/dist/{chunk-KDXEKD3K.cjs → chunk-IB4YMANE.cjs} +40 -40
- package/dist/{chunk-KDXEKD3K.cjs.map → chunk-IB4YMANE.cjs.map} +1 -1
- package/dist/{chunk-HAJQWSSU.js → chunk-KHDLNPAM.js} +3 -3
- package/dist/{chunk-ZPUZPJDV.js → chunk-KLYHZRAD.js} +2 -1
- package/dist/{chunk-RDCAJDX7.js → chunk-KN7MUVNB.js} +5 -5
- package/dist/{chunk-JKRX3JHT.js → chunk-OTJMDYZ5.js} +3 -3
- package/dist/{chunk-UO7TF67V.cjs → chunk-P3Q7KMPQ.cjs} +73 -73
- package/dist/{chunk-UO7TF67V.cjs.map → chunk-P3Q7KMPQ.cjs.map} +1 -1
- package/dist/{chunk-FM5KWLKU.cjs → chunk-PECGZWQR.cjs} +3 -3
- package/dist/{chunk-FM5KWLKU.cjs.map → chunk-PECGZWQR.cjs.map} +1 -1
- package/dist/{chunk-UTIW7O7R.cjs → chunk-SAVJIRUK.cjs} +5 -5
- package/dist/{chunk-UTIW7O7R.cjs.map → chunk-SAVJIRUK.cjs.map} +1 -1
- package/dist/{chunk-UAFJX7YV.cjs → chunk-SGUKPH7Z.cjs} +7 -7
- package/dist/{chunk-UAFJX7YV.cjs.map → chunk-SGUKPH7Z.cjs.map} +1 -1
- package/dist/{chunk-RJ4OJWT5.js → chunk-SSMNDK3Z.js} +98 -2
- package/dist/chunk-SSMNDK3Z.js.map +1 -0
- package/dist/{chunk-5YFXUXOV.cjs → chunk-UFPGVLHZ.cjs} +222 -126
- package/dist/chunk-UFPGVLHZ.cjs.map +1 -0
- package/dist/{chunk-DYLIBE6I.cjs → chunk-V36NQIAO.cjs} +12 -12
- package/dist/{chunk-DYLIBE6I.cjs.map → chunk-V36NQIAO.cjs.map} +1 -1
- package/dist/{chunk-GWJNTDXR.js → chunk-WZ3YAIQQ.js} +2 -2
- package/dist/{chunk-FIRIO2NB.js → chunk-X3KQ3B35.js} +5 -5
- package/dist/{chunk-CG5OX6WF.cjs → chunk-YSA7KE2P.cjs} +40 -40
- package/dist/{chunk-CG5OX6WF.cjs.map → chunk-YSA7KE2P.cjs.map} +1 -1
- package/dist/{chunk-AZZQLEKY.cjs → chunk-ZQXNTV66.cjs} +18 -18
- package/dist/{chunk-AZZQLEKY.cjs.map → chunk-ZQXNTV66.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +136 -136
- package/dist/components/index.js +11 -11
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +17 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -2
- package/dist/utils/first-touch-attribution.d.ts +97 -0
- package/dist/utils/first-touch-attribution.d.ts.map +1 -0
- package/dist/utils/index.cjs +96 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +90 -2
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/__tests__/first-touch-attribution-persistence.test.ts +58 -0
- package/src/utils/__tests__/first-touch-attribution.test.ts +185 -0
- package/src/utils/first-touch-attribution.ts +200 -0
- package/src/utils/index.ts +1 -0
- package/dist/chunk-5YFXUXOV.cjs.map +0 -1
- package/dist/chunk-RJ4OJWT5.js.map +0 -1
- package/dist/chunk-VCOL4C2W.cjs.map +0 -1
- /package/dist/{chunk-LT2PU6SK.js.map → chunk-3MTN5XHZ.js.map} +0 -0
- /package/dist/{chunk-6U7HIZSW.js.map → chunk-4PVTF36S.js.map} +0 -0
- /package/dist/{chunk-AGX565ZT.js.map → chunk-CWQACI4Z.js.map} +0 -0
- /package/dist/{chunk-3VMCJK7A.js.map → chunk-DVYTY2GK.js.map} +0 -0
- /package/dist/{chunk-WIITTL5I.js.map → chunk-F3UM6ZPO.js.map} +0 -0
- /package/dist/{chunk-Y37XYIWA.js.map → chunk-G2L46BDG.js.map} +0 -0
- /package/dist/{chunk-T2S7A5IU.js.map → chunk-HSVQ7W5M.js.map} +0 -0
- /package/dist/{chunk-HAJQWSSU.js.map → chunk-KHDLNPAM.js.map} +0 -0
- /package/dist/{chunk-ZPUZPJDV.js.map → chunk-KLYHZRAD.js.map} +0 -0
- /package/dist/{chunk-RDCAJDX7.js.map → chunk-KN7MUVNB.js.map} +0 -0
- /package/dist/{chunk-JKRX3JHT.js.map → chunk-OTJMDYZ5.js.map} +0 -0
- /package/dist/{chunk-GWJNTDXR.js.map → chunk-WZ3YAIQQ.js.map} +0 -0
- /package/dist/{chunk-FIRIO2NB.js.map → chunk-X3KQ3B35.js.map} +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* First-touch attribution capture.
|
|
3
|
+
*
|
|
4
|
+
* THE PROBLEM. Server-side UTM extraction reads the request body and, failing that, UTM
|
|
5
|
+
* params on the `referer` header. But `referer` is the page the form was submitted FROM, and
|
|
6
|
+
* a visitor who lands on `/?utm_source=reddit` and then navigates before converting arrives
|
|
7
|
+
* with a clean referer. Measured on the live DB: waitlist rows from the last 90 days have
|
|
8
|
+
* `ip_address` on 350/350 and `utm_source` on **0/350**. The parameters are not being lost in
|
|
9
|
+
* transit; they are gone by submit time.
|
|
10
|
+
*
|
|
11
|
+
* THE FIX. Capture the landing URL's attribution ONCE, on first page view, and replay it into
|
|
12
|
+
* every submit body from then on. The server already prefers body-supplied UTMs over the
|
|
13
|
+
* referer, so nothing changes server-side.
|
|
14
|
+
*
|
|
15
|
+
* FIRST touch, not last: `capture()` never overwrites an existing record, so a visitor who
|
|
16
|
+
* lands on an ad and later arrives via a bookmark keeps the ad attribution.
|
|
17
|
+
*
|
|
18
|
+
* Built on `createLocalStorageAdapter` so there is no hand-rolled Web Storage access and no
|
|
19
|
+
* module-scope `window` — `./utils` is imported by server-safe consumers, so touching
|
|
20
|
+
* `window` at module scope would break SSR.
|
|
21
|
+
*
|
|
22
|
+
* SESSION-SCOPED, deliberately and without an opt-out. Three reasons:
|
|
23
|
+
* - first-touch attribution for a single visit is the useful signal;
|
|
24
|
+
* - a session record does not persist an identifier across visits, which keeps this out of
|
|
25
|
+
* consent-banner territory;
|
|
26
|
+
* - `sessionStorage` is per-tab, so `load()`-then-`save()` cannot race another tab.
|
|
27
|
+
* `localStorage` is shared, so two tabs opening simultaneously could both observe no
|
|
28
|
+
* record and the second write would silently replace the first — breaking the one
|
|
29
|
+
* invariant this module exists to hold. Web Storage has no compare-and-swap, so that race
|
|
30
|
+
* cannot be closed reliably; the option is therefore not offered rather than offered with
|
|
31
|
+
* a caveat. If cross-session persistence is ever needed it belongs in a server-side
|
|
32
|
+
* cookie, where it can be written atomically.
|
|
33
|
+
*
|
|
34
|
+
* NEVER STORES A RAW URL. See `sanitizeLandingUrl`.
|
|
35
|
+
*/
|
|
36
|
+
/** Attribution parameters worth carrying from the landing URL to the submit body. */
|
|
37
|
+
export interface FirstTouchAttribution {
|
|
38
|
+
utm_source?: string;
|
|
39
|
+
utm_medium?: string;
|
|
40
|
+
utm_campaign?: string;
|
|
41
|
+
utm_content?: string;
|
|
42
|
+
utm_term?: string;
|
|
43
|
+
/** Reddit Ads click id. */
|
|
44
|
+
rdt_cid?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The landing PAGE — `origin + pathname` only. Never the query string or fragment.
|
|
47
|
+
* See `sanitizeLandingUrl` for why.
|
|
48
|
+
*/
|
|
49
|
+
landing_url?: string;
|
|
50
|
+
/** ISO timestamp of first capture, for debugging stale records. */
|
|
51
|
+
captured_at?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare const FIRST_TOUCH_ATTRIBUTION_KEY = "of.first_touch_attribution";
|
|
54
|
+
/**
|
|
55
|
+
* Reduce a URL to `origin + pathname`.
|
|
56
|
+
*
|
|
57
|
+
* The raw `window.location.href` must NEVER be stored or replayed. It routinely carries
|
|
58
|
+
* things that have nothing to do with attribution and everything to do with security: OAuth
|
|
59
|
+
* `code`/`state`, magic-link and password-reset tokens, `access_token` in the fragment,
|
|
60
|
+
* email addresses and other PII in query params. This value is spread into every submit body,
|
|
61
|
+
* so anything kept here would be POSTed to our API and forwarded on to HubSpot — a token in
|
|
62
|
+
* a CRM record is a token in every integration downstream of it.
|
|
63
|
+
*
|
|
64
|
+
* The path alone answers the only question worth asking ("which page did they land on"), so
|
|
65
|
+
* the query and fragment are dropped wholesale rather than filtered. An allowlist of "safe"
|
|
66
|
+
* params would need updating every time a new auth flow adds one; dropping everything cannot
|
|
67
|
+
* go stale.
|
|
68
|
+
*/
|
|
69
|
+
export declare function sanitizeLandingUrl(url: string): string | undefined;
|
|
70
|
+
/** Parse the tracked parameters out of a URL. Returns `{}` when none are present. */
|
|
71
|
+
export declare function parseAttributionFromUrl(url: string): FirstTouchAttribution;
|
|
72
|
+
/**
|
|
73
|
+
* Record the landing URL's attribution if nothing is stored yet.
|
|
74
|
+
*
|
|
75
|
+
* Idempotent and first-touch-preserving: a later call with different parameters is ignored.
|
|
76
|
+
* Safe to call on every page view, and a no-op during SSR.
|
|
77
|
+
*
|
|
78
|
+
* @returns what is VERIFIABLY stored after the call — a pre-existing record, the new record
|
|
79
|
+
* read back from storage, or `{}` when nothing was captured or the write did not stick.
|
|
80
|
+
*/
|
|
81
|
+
export declare function captureFirstTouchAttribution(options?: {
|
|
82
|
+
url?: string;
|
|
83
|
+
}): FirstTouchAttribution;
|
|
84
|
+
/** Read the stored attribution. `{}` when nothing was captured or during SSR. */
|
|
85
|
+
export declare function getFirstTouchAttribution(): FirstTouchAttribution;
|
|
86
|
+
/**
|
|
87
|
+
* Merge stored attribution into a submit body.
|
|
88
|
+
*
|
|
89
|
+
* Values already on the body WIN — a form that collected a real value explicitly should not
|
|
90
|
+
* be overwritten by a stored one. Spread this into every submit payload:
|
|
91
|
+
*
|
|
92
|
+
* body: JSON.stringify(withFirstTouchAttribution({ email, name }))
|
|
93
|
+
*/
|
|
94
|
+
export declare function withFirstTouchAttribution<T extends Record<string, any>>(body: T): T & FirstTouchAttribution;
|
|
95
|
+
/** Clear the stored record. Exposed for tests and for a consent-withdrawal path. */
|
|
96
|
+
export declare function clearFirstTouchAttribution(): void;
|
|
97
|
+
//# sourceMappingURL=first-touch-attribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"first-touch-attribution.d.ts","sourceRoot":"","sources":["../../src/utils/first-touch-attribution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH,qFAAqF;AACrF,MAAM,WAAW,qBAAqB;IACpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mEAAmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,2BAA2B,+BAA+B,CAAA;AAkBvE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASlE;AAoBD,qFAAqF;AACrF,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAY1E;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,GAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,qBAAqB,CA0BlG;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,IAAI,qBAAqB,CAGhE;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACrE,IAAI,EAAE,CAAC,GACN,CAAC,GAAG,qBAAqB,CAO3B;AAED,oFAAoF;AACpF,wBAAgB,0BAA0B,IAAI,IAAI,CAGjD"}
|
package/dist/utils/index.cjs
CHANGED
|
@@ -2874,7 +2874,7 @@ function getStorage(backend) {
|
|
|
2874
2874
|
}
|
|
2875
2875
|
function createLocalStorageAdapter(options) {
|
|
2876
2876
|
const tag = options.logTag ?? "[local-storage]";
|
|
2877
|
-
const backend = options.backend;
|
|
2877
|
+
const backend = options.backend ?? "local";
|
|
2878
2878
|
const resolveKey = () => {
|
|
2879
2879
|
const ns = options.namespace?.();
|
|
2880
2880
|
return ns ? `${ns}.${options.key}` : options.key;
|
|
@@ -4127,6 +4127,94 @@ function toFigmaOriginalUrl(url) {
|
|
|
4127
4127
|
// src/utils/page-header-constants.ts
|
|
4128
4128
|
var SECTION_HERO_ICON_CLASS = "h-10 w-10 text-ods-accent";
|
|
4129
4129
|
|
|
4130
|
+
// src/utils/first-touch-attribution.ts
|
|
4131
|
+
var FIRST_TOUCH_ATTRIBUTION_KEY = "of.first_touch_attribution";
|
|
4132
|
+
var TRACKED_PARAMS = [
|
|
4133
|
+
"utm_source",
|
|
4134
|
+
"utm_medium",
|
|
4135
|
+
"utm_campaign",
|
|
4136
|
+
"utm_content",
|
|
4137
|
+
"utm_term",
|
|
4138
|
+
"rdt_cid"
|
|
4139
|
+
];
|
|
4140
|
+
var ALLOWED_KEYS = /* @__PURE__ */ new Set([
|
|
4141
|
+
...TRACKED_PARAMS,
|
|
4142
|
+
"landing_url",
|
|
4143
|
+
"captured_at"
|
|
4144
|
+
]);
|
|
4145
|
+
function sanitizeLandingUrl(url) {
|
|
4146
|
+
try {
|
|
4147
|
+
const parsed = new URL(url);
|
|
4148
|
+
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return void 0;
|
|
4149
|
+
return `${parsed.origin}${parsed.pathname}`;
|
|
4150
|
+
} catch {
|
|
4151
|
+
return void 0;
|
|
4152
|
+
}
|
|
4153
|
+
}
|
|
4154
|
+
function makeAdapter() {
|
|
4155
|
+
return createLocalStorageAdapter({
|
|
4156
|
+
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
4157
|
+
backend: "session",
|
|
4158
|
+
logTag: "[first-touch-attribution]",
|
|
4159
|
+
// Anything running on this origin can write to sessionStorage, and whatever `load()`
|
|
4160
|
+
// returns is spread into submit bodies. So the stored shape is validated, not assumed:
|
|
4161
|
+
// allowlisted keys only, string values only. Without this a malformed or planted record
|
|
4162
|
+
// would inject arbitrary keys into an API payload.
|
|
4163
|
+
validate: (parsed) => {
|
|
4164
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return false;
|
|
4165
|
+
return Object.entries(parsed).every(
|
|
4166
|
+
([key, value]) => ALLOWED_KEYS.has(key) && typeof value === "string"
|
|
4167
|
+
);
|
|
4168
|
+
}
|
|
4169
|
+
});
|
|
4170
|
+
}
|
|
4171
|
+
function parseAttributionFromUrl(url) {
|
|
4172
|
+
const out = {};
|
|
4173
|
+
try {
|
|
4174
|
+
const parsed = new URL(url);
|
|
4175
|
+
for (const param of TRACKED_PARAMS) {
|
|
4176
|
+
const value = parsed.searchParams.get(param);
|
|
4177
|
+
if (value && value.trim()) out[param] = value.trim();
|
|
4178
|
+
}
|
|
4179
|
+
} catch {
|
|
4180
|
+
return {};
|
|
4181
|
+
}
|
|
4182
|
+
return out;
|
|
4183
|
+
}
|
|
4184
|
+
function captureFirstTouchAttribution(options = {}) {
|
|
4185
|
+
if (typeof window === "undefined") return {};
|
|
4186
|
+
const adapter2 = makeAdapter();
|
|
4187
|
+
const existing = adapter2.load();
|
|
4188
|
+
if (existing && Object.keys(existing).length > 0) return existing;
|
|
4189
|
+
const href = options.url ?? window.location.href;
|
|
4190
|
+
const parsed = parseAttributionFromUrl(href);
|
|
4191
|
+
if (Object.keys(parsed).length === 0) return {};
|
|
4192
|
+
const landingUrl = sanitizeLandingUrl(href);
|
|
4193
|
+
const record = {
|
|
4194
|
+
...parsed,
|
|
4195
|
+
...landingUrl ? { landing_url: landingUrl } : {},
|
|
4196
|
+
captured_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4197
|
+
};
|
|
4198
|
+
adapter2.save(record);
|
|
4199
|
+
return adapter2.load() ?? {};
|
|
4200
|
+
}
|
|
4201
|
+
function getFirstTouchAttribution() {
|
|
4202
|
+
if (typeof window === "undefined") return {};
|
|
4203
|
+
return makeAdapter().load() ?? {};
|
|
4204
|
+
}
|
|
4205
|
+
function withFirstTouchAttribution(body) {
|
|
4206
|
+
const stored = getFirstTouchAttribution();
|
|
4207
|
+
const merged = { ...stored, ...body };
|
|
4208
|
+
for (const [k, v] of Object.entries(merged)) {
|
|
4209
|
+
if (v === void 0 || v === null || v === "") delete merged[k];
|
|
4210
|
+
}
|
|
4211
|
+
return merged;
|
|
4212
|
+
}
|
|
4213
|
+
function clearFirstTouchAttribution() {
|
|
4214
|
+
if (typeof window === "undefined") return;
|
|
4215
|
+
makeAdapter().clear();
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4130
4218
|
exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME;
|
|
4131
4219
|
exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX;
|
|
4132
4220
|
exports.BITE_ID_RE = BITE_ID_RE;
|
|
@@ -4145,6 +4233,7 @@ exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS;
|
|
|
4145
4233
|
exports.DESIGN_PALETTE = DESIGN_PALETTE;
|
|
4146
4234
|
exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS;
|
|
4147
4235
|
exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD;
|
|
4236
|
+
exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY;
|
|
4148
4237
|
exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS;
|
|
4149
4238
|
exports.HEX_PATTERN = HEX_PATTERN;
|
|
4150
4239
|
exports.HONEYPOT_FIELD = HONEYPOT_FIELD;
|
|
@@ -4177,10 +4266,12 @@ exports.buildListUrl = buildListUrl;
|
|
|
4177
4266
|
exports.buildOgPlaceholderUrl = buildOgPlaceholderUrl;
|
|
4178
4267
|
exports.buildSuggestionUrl = buildSuggestionUrl;
|
|
4179
4268
|
exports.canonicalContentRefType = canonicalContentRefType;
|
|
4269
|
+
exports.captureFirstTouchAttribution = captureFirstTouchAttribution;
|
|
4180
4270
|
exports.cleanEmailDomain = cleanEmailDomain;
|
|
4181
4271
|
exports.clearAnnouncementDismissals = clearAnnouncementDismissals;
|
|
4182
4272
|
exports.clearDismissCookie = clearDismissCookie;
|
|
4183
4273
|
exports.clearEmbedProxyAuth = clearEmbedProxyAuth;
|
|
4274
|
+
exports.clearFirstTouchAttribution = clearFirstTouchAttribution;
|
|
4184
4275
|
exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache;
|
|
4185
4276
|
exports.clearWalkthroughDismissal = clearWalkthroughDismissal;
|
|
4186
4277
|
exports.clickupTaskUrl = clickupTaskUrl;
|
|
@@ -4276,6 +4367,7 @@ exports.getDocSourceDefaultPath = getDocSourceDefaultPath;
|
|
|
4276
4367
|
exports.getDynamicIcon = getDynamicIcon;
|
|
4277
4368
|
exports.getEmbedProxyAuth = getEmbedProxyAuth;
|
|
4278
4369
|
exports.getFirstLastInitials = getFirstLastInitials;
|
|
4370
|
+
exports.getFirstTouchAttribution = getFirstTouchAttribution;
|
|
4279
4371
|
exports.getIconComponent = getIconComponent;
|
|
4280
4372
|
exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds;
|
|
4281
4373
|
exports.getOSIcon = getOSIcon;
|
|
@@ -4332,6 +4424,7 @@ exports.normalizeOSType = normalizeOSType;
|
|
|
4332
4424
|
exports.normalizeToolType = normalizeToolType;
|
|
4333
4425
|
exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback;
|
|
4334
4426
|
exports.orderContentRefTypes = orderContentRefTypes;
|
|
4427
|
+
exports.parseAttributionFromUrl = parseAttributionFromUrl;
|
|
4335
4428
|
exports.parseFaqHash = parseFaqHash;
|
|
4336
4429
|
exports.parseScrollAnchor = parseScrollAnchor;
|
|
4337
4430
|
exports.parseWireCommandOverride = parseWireCommandOverride;
|
|
@@ -4350,6 +4443,7 @@ exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor;
|
|
|
4350
4443
|
exports.resolveContentFetchPath = resolveContentFetchPath;
|
|
4351
4444
|
exports.resolveReleaseCover = resolveReleaseCover;
|
|
4352
4445
|
exports.rgbToHex = rgbToHex;
|
|
4446
|
+
exports.sanitizeLandingUrl = sanitizeLandingUrl;
|
|
4353
4447
|
exports.sanitizeTitleForChat = sanitizeTitleForChat;
|
|
4354
4448
|
exports.scrollElementIntoView = scrollElementIntoView;
|
|
4355
4449
|
exports.serializeJsonLd = serializeJsonLd;
|
|
@@ -4377,6 +4471,7 @@ exports.validateEmailDomain = validateEmailDomain;
|
|
|
4377
4471
|
exports.validateEmailDomainList = validateEmailDomainList;
|
|
4378
4472
|
exports.validatePhoneNumber = validatePhoneNumber;
|
|
4379
4473
|
exports.walkthroughDismissCookieName = walkthroughDismissCookieName;
|
|
4474
|
+
exports.withFirstTouchAttribution = withFirstTouchAttribution;
|
|
4380
4475
|
exports.writeDismissCookie = writeDismissCookie;
|
|
4381
4476
|
//# sourceMappingURL=index.cjs.map
|
|
4382
4477
|
//# sourceMappingURL=index.cjs.map
|