@shware/analytics 3.6.4 → 3.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.
- package/README.md +50 -3
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/constants/storage.cjs +12 -37
- package/dist/constants/storage.cjs.map +1 -1
- package/dist/constants/storage.d.cts +10 -8
- package/dist/constants/storage.d.cts.map +1 -0
- package/dist/constants/storage.d.mts +13 -0
- package/dist/constants/storage.d.mts.map +1 -0
- package/dist/constants/storage.mjs +12 -13
- package/dist/constants/storage.mjs.map +1 -1
- package/dist/feedback/index.cjs +14 -40
- package/dist/feedback/index.cjs.map +1 -1
- package/dist/feedback/index.d.cts +4 -4
- package/dist/feedback/index.d.cts.map +1 -0
- package/dist/feedback/index.d.mts +6 -0
- package/dist/feedback/index.d.mts.map +1 -0
- package/dist/feedback/index.mjs +12 -14
- package/dist/feedback/index.mjs.map +1 -1
- package/dist/hooks/use-app-analytics.cjs +46 -65
- package/dist/hooks/use-app-analytics.cjs.map +1 -1
- package/dist/hooks/use-app-analytics.d.cts +3 -1
- package/dist/hooks/use-app-analytics.d.cts.map +1 -0
- package/dist/hooks/use-app-analytics.d.mts +5 -0
- package/dist/hooks/use-app-analytics.d.mts.map +1 -0
- package/dist/hooks/use-app-analytics.mjs +41 -36
- package/dist/hooks/use-app-analytics.mjs.map +1 -1
- package/dist/hooks/use-click-id-persistence.cjs +43 -65
- package/dist/hooks/use-click-id-persistence.cjs.map +1 -1
- package/dist/hooks/use-click-id-persistence.d.cts +3 -1
- package/dist/hooks/use-click-id-persistence.d.cts.map +1 -0
- package/dist/hooks/use-click-id-persistence.d.mts +5 -0
- package/dist/hooks/use-click-id-persistence.d.mts.map +1 -0
- package/dist/hooks/use-click-id-persistence.mjs +40 -38
- package/dist/hooks/use-click-id-persistence.mjs.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.cjs +33 -55
- package/dist/hooks/use-outbound-click-analytics.cjs.map +1 -1
- package/dist/hooks/use-outbound-click-analytics.d.cts +3 -1
- package/dist/hooks/use-outbound-click-analytics.d.cts.map +1 -0
- package/dist/hooks/{use-outbound-click-analytics.d.ts → use-outbound-click-analytics.d.mts} +3 -1
- package/dist/hooks/use-outbound-click-analytics.d.mts.map +1 -0
- package/dist/hooks/use-outbound-click-analytics.mjs +31 -29
- package/dist/hooks/use-outbound-click-analytics.mjs.map +1 -1
- package/dist/hooks/use-previous.cjs +11 -35
- package/dist/hooks/use-previous.cjs.map +1 -1
- package/dist/hooks/use-previous.d.cts +3 -1
- package/dist/hooks/use-previous.d.cts.map +1 -0
- package/dist/hooks/use-previous.d.mts +5 -0
- package/dist/hooks/use-previous.d.mts.map +1 -0
- package/dist/hooks/use-previous.mjs +9 -9
- package/dist/hooks/use-previous.mjs.map +1 -1
- package/dist/hooks/use-track-impression.cjs +24 -51
- package/dist/hooks/use-track-impression.cjs.map +1 -1
- package/dist/hooks/use-track-impression.d.cts +5 -6
- package/dist/hooks/use-track-impression.d.cts.map +1 -0
- package/dist/hooks/use-track-impression.d.mts +6 -0
- package/dist/hooks/use-track-impression.d.mts.map +1 -0
- package/dist/hooks/use-track-impression.mjs +22 -25
- package/dist/hooks/use-track-impression.mjs.map +1 -1
- package/dist/hooks/use-web-analytics.cjs +98 -109
- package/dist/hooks/use-web-analytics.cjs.map +1 -1
- package/dist/hooks/use-web-analytics.d.cts +3 -1
- package/dist/hooks/use-web-analytics.d.cts.map +1 -0
- package/dist/hooks/{use-web-analytics.d.ts → use-web-analytics.d.mts} +3 -1
- package/dist/hooks/use-web-analytics.d.mts.map +1 -0
- package/dist/hooks/use-web-analytics.mjs +93 -80
- package/dist/hooks/use-web-analytics.mjs.map +1 -1
- package/dist/index.cjs +28 -74
- package/dist/index.d.cts +11 -13
- package/dist/index.d.mts +11 -0
- package/dist/index.mjs +3 -34
- package/dist/link/index.cjs +31 -58
- package/dist/link/index.cjs.map +1 -1
- package/dist/link/index.d.cts +7 -7
- package/dist/link/index.d.cts.map +1 -0
- package/dist/link/index.d.mts +11 -0
- package/dist/link/index.d.mts.map +1 -0
- package/dist/link/index.mjs +28 -31
- package/dist/link/index.mjs.map +1 -1
- package/dist/native/fbsdk.cjs +12 -33
- package/dist/native/fbsdk.cjs.map +1 -1
- package/dist/native/fbsdk.d.cts +4 -4
- package/dist/native/fbsdk.d.cts.map +1 -0
- package/dist/native/{fbsdk.d.ts → fbsdk.d.mts} +4 -4
- package/dist/native/fbsdk.d.mts.map +1 -0
- package/dist/native/fbsdk.mjs +10 -7
- package/dist/native/fbsdk.mjs.map +1 -1
- package/dist/native/fingerprint.cjs +41 -64
- package/dist/native/fingerprint.cjs.map +1 -1
- package/dist/native/fingerprint.d.cts +22 -20
- package/dist/native/fingerprint.d.cts.map +1 -0
- package/dist/native/fingerprint.d.mts +28 -0
- package/dist/native/fingerprint.d.mts.map +1 -0
- package/dist/native/fingerprint.mjs +36 -42
- package/dist/native/fingerprint.mjs.map +1 -1
- package/dist/native/firebase.cjs +12 -39
- package/dist/native/firebase.cjs.map +1 -1
- package/dist/native/firebase.d.cts +4 -4
- package/dist/native/firebase.d.cts.map +1 -0
- package/dist/native/firebase.d.mts +6 -0
- package/dist/native/firebase.d.mts.map +1 -0
- package/dist/native/firebase.mjs +10 -13
- package/dist/native/firebase.mjs.map +1 -1
- package/dist/native/index.cjs +11 -45
- package/dist/native/index.d.cts +4 -7
- package/dist/native/index.d.mts +4 -0
- package/dist/native/index.mjs +2 -12
- package/dist/native/posthog.cjs +5 -30
- package/dist/native/posthog.cjs.map +1 -1
- package/dist/native/posthog.d.cts +3 -1
- package/dist/native/posthog.d.cts.map +1 -0
- package/dist/native/posthog.d.mts +5 -0
- package/dist/native/posthog.d.mts.map +1 -0
- package/dist/native/posthog.mjs +5 -6
- package/dist/native/posthog.mjs.map +1 -1
- package/dist/native/setup.cjs +91 -129
- package/dist/native/setup.cjs.map +1 -1
- package/dist/native/setup.d.cts +6 -6
- package/dist/native/setup.d.cts.map +1 -0
- package/dist/native/{setup.d.ts → setup.d.mts} +6 -6
- package/dist/native/setup.d.mts.map +1 -0
- package/dist/native/setup.mjs +83 -105
- package/dist/native/setup.mjs.map +1 -1
- package/dist/next/index.cjs +72 -145
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.d.cts +18 -19
- package/dist/next/index.d.cts.map +1 -0
- package/dist/next/index.d.mts +21 -0
- package/dist/next/index.d.mts.map +1 -0
- package/dist/next/index.mjs +65 -107
- package/dist/next/index.mjs.map +1 -1
- package/dist/react-router/index.cjs +80 -144
- package/dist/react-router/index.cjs.map +1 -1
- package/dist/react-router/index.d.cts +18 -19
- package/dist/react-router/index.d.cts.map +1 -0
- package/dist/react-router/index.d.mts +21 -0
- package/dist/react-router/index.d.mts.map +1 -0
- package/dist/react-router/index.mjs +75 -115
- package/dist/react-router/index.mjs.map +1 -1
- package/dist/schema/index.cjs +188 -233
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +236 -235
- package/dist/schema/index.d.cts.map +1 -0
- package/dist/schema/index.d.mts +325 -0
- package/dist/schema/index.d.mts.map +1 -0
- package/dist/schema/index.mjs +178 -222
- package/dist/schema/index.mjs.map +1 -1
- package/dist/server/index.cjs +9 -40
- package/dist/server/index.d.cts +5 -9
- package/dist/server/index.d.mts +5 -0
- package/dist/server/index.mjs +5 -12
- package/dist/server/linkedin-conversions-api.cjs +66 -95
- package/dist/server/linkedin-conversions-api.cjs.map +1 -1
- package/dist/server/linkedin-conversions-api.d.cts +45 -45
- package/dist/server/linkedin-conversions-api.d.cts.map +1 -0
- package/dist/server/linkedin-conversions-api.d.mts +56 -0
- package/dist/server/linkedin-conversions-api.d.mts.map +1 -0
- package/dist/server/linkedin-conversions-api.mjs +63 -68
- package/dist/server/linkedin-conversions-api.mjs.map +1 -1
- package/dist/server/meta-conversions-api.cjs +157 -265
- package/dist/server/meta-conversions-api.cjs.map +1 -1
- package/dist/server/meta-conversions-api.d.cts +8 -9
- package/dist/server/meta-conversions-api.d.cts.map +1 -0
- package/dist/server/meta-conversions-api.d.mts +10 -0
- package/dist/server/meta-conversions-api.d.mts.map +1 -0
- package/dist/server/meta-conversions-api.mjs +151 -243
- package/dist/server/meta-conversions-api.mjs.map +1 -1
- package/dist/server/openai-conversions-api.cjs +69 -96
- package/dist/server/openai-conversions-api.cjs.map +1 -1
- package/dist/server/openai-conversions-api.d.cts +34 -34
- package/dist/server/openai-conversions-api.d.cts.map +1 -0
- package/dist/server/openai-conversions-api.d.mts +47 -0
- package/dist/server/openai-conversions-api.d.mts.map +1 -0
- package/dist/server/openai-conversions-api.mjs +65 -68
- package/dist/server/openai-conversions-api.mjs.map +1 -1
- package/dist/server/reddit-conversions-api.cjs +64 -91
- package/dist/server/reddit-conversions-api.cjs.map +1 -1
- package/dist/server/reddit-conversions-api.d.cts +61 -61
- package/dist/server/reddit-conversions-api.d.cts.map +1 -0
- package/dist/server/reddit-conversions-api.d.mts +75 -0
- package/dist/server/reddit-conversions-api.d.mts.map +1 -0
- package/dist/server/reddit-conversions-api.mjs +59 -62
- package/dist/server/reddit-conversions-api.mjs.map +1 -1
- package/dist/setup/index.cjs +34 -63
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +30 -30
- package/dist/setup/index.d.cts.map +1 -0
- package/dist/setup/index.d.mts +41 -0
- package/dist/setup/index.d.mts.map +1 -0
- package/dist/setup/index.mjs +31 -36
- package/dist/setup/index.mjs.map +1 -1
- package/dist/setup/session.cjs +70 -106
- package/dist/setup/session.cjs.map +1 -1
- package/dist/setup/session.d.cts +26 -24
- package/dist/setup/session.d.cts.map +1 -0
- package/dist/setup/session.d.mts +31 -0
- package/dist/setup/session.d.mts.map +1 -0
- package/dist/setup/session.mjs +68 -80
- package/dist/setup/session.mjs.map +1 -1
- package/dist/tanstack/index.cjs +86 -156
- package/dist/tanstack/index.cjs.map +1 -1
- package/dist/tanstack/index.d.cts +19 -20
- package/dist/tanstack/index.d.cts.map +1 -0
- package/dist/tanstack/index.d.mts +22 -0
- package/dist/tanstack/index.d.mts.map +1 -0
- package/dist/tanstack/index.mjs +81 -127
- package/dist/tanstack/index.mjs.map +1 -1
- package/dist/third-parties/google-analytics.cjs +18 -43
- package/dist/third-parties/google-analytics.cjs.map +1 -1
- package/dist/third-parties/google-analytics.d.cts +7 -7
- package/dist/third-parties/google-analytics.d.cts.map +1 -0
- package/dist/third-parties/google-analytics.d.mts +12 -0
- package/dist/third-parties/google-analytics.d.mts.map +1 -0
- package/dist/third-parties/google-analytics.mjs +16 -17
- package/dist/third-parties/google-analytics.mjs.map +1 -1
- package/dist/third-parties/ignored-events.cjs +35 -68
- package/dist/third-parties/ignored-events.cjs.map +1 -1
- package/dist/third-parties/ignored-events.d.cts +3 -1
- package/dist/third-parties/ignored-events.d.cts.map +1 -0
- package/dist/third-parties/ignored-events.d.mts +5 -0
- package/dist/third-parties/ignored-events.d.mts.map +1 -0
- package/dist/third-parties/ignored-events.mjs +34 -43
- package/dist/third-parties/ignored-events.mjs.map +1 -1
- package/dist/third-parties/index.cjs +16 -53
- package/dist/third-parties/index.d.cts +6 -12
- package/dist/third-parties/index.d.mts +6 -0
- package/dist/third-parties/index.mjs +1 -14
- package/dist/third-parties/linkedin-insight-tag.cjs +28 -50
- package/dist/third-parties/linkedin-insight-tag.cjs.map +1 -1
- package/dist/third-parties/linkedin-insight-tag.d.cts +8 -9
- package/dist/third-parties/linkedin-insight-tag.d.cts.map +1 -0
- package/dist/third-parties/{linkedin-insight-tag.d.ts → linkedin-insight-tag.d.mts} +8 -9
- package/dist/third-parties/linkedin-insight-tag.d.mts.map +1 -0
- package/dist/third-parties/linkedin-insight-tag.mjs +25 -23
- package/dist/third-parties/linkedin-insight-tag.mjs.map +1 -1
- package/dist/third-parties/meta-pixel.cjs +45 -66
- package/dist/third-parties/meta-pixel.cjs.map +1 -1
- package/dist/third-parties/meta-pixel.d.cts +7 -8
- package/dist/third-parties/meta-pixel.d.cts.map +1 -0
- package/dist/third-parties/meta-pixel.d.mts +12 -0
- package/dist/third-parties/meta-pixel.d.mts.map +1 -0
- package/dist/third-parties/meta-pixel.mjs +41 -38
- package/dist/third-parties/meta-pixel.mjs.map +1 -1
- package/dist/third-parties/openai-pixel.cjs +63 -68
- package/dist/third-parties/openai-pixel.cjs.map +1 -1
- package/dist/third-parties/openai-pixel.d.cts +7 -8
- package/dist/third-parties/openai-pixel.d.cts.map +1 -0
- package/dist/third-parties/{openai-pixel.d.ts → openai-pixel.d.mts} +7 -8
- package/dist/third-parties/openai-pixel.d.mts.map +1 -0
- package/dist/third-parties/openai-pixel.mjs +60 -41
- package/dist/third-parties/openai-pixel.mjs.map +1 -1
- package/dist/third-parties/posthog.cjs +23 -43
- package/dist/third-parties/posthog.cjs.map +1 -1
- package/dist/third-parties/posthog.d.cts +5 -5
- package/dist/third-parties/posthog.d.cts.map +1 -0
- package/dist/third-parties/{posthog.d.ts → posthog.d.mts} +5 -5
- package/dist/third-parties/posthog.d.mts.map +1 -0
- package/dist/third-parties/posthog.mjs +20 -16
- package/dist/third-parties/posthog.mjs.map +1 -1
- package/dist/third-parties/reddit-pixel.cjs +37 -58
- package/dist/third-parties/reddit-pixel.cjs.map +1 -1
- package/dist/third-parties/reddit-pixel.d.cts +7 -8
- package/dist/third-parties/reddit-pixel.d.cts.map +1 -0
- package/dist/third-parties/reddit-pixel.d.mts +12 -0
- package/dist/third-parties/reddit-pixel.d.mts.map +1 -0
- package/dist/third-parties/reddit-pixel.mjs +33 -30
- package/dist/third-parties/reddit-pixel.mjs.map +1 -1
- package/dist/track/fbq.cjs +179 -135
- package/dist/track/fbq.cjs.map +1 -1
- package/dist/track/fbq.d.cts +234 -233
- package/dist/track/fbq.d.cts.map +1 -0
- package/dist/track/fbq.d.mts +280 -0
- package/dist/track/fbq.d.mts.map +1 -0
- package/dist/track/fbq.mjs +176 -108
- package/dist/track/fbq.mjs.map +1 -1
- package/dist/track/gtag.cjs +63 -86
- package/dist/track/gtag.cjs.map +1 -1
- package/dist/track/gtag.d.cts +682 -682
- package/dist/track/gtag.d.cts.map +1 -0
- package/dist/track/gtag.d.mts +762 -0
- package/dist/track/gtag.d.mts.map +1 -0
- package/dist/track/gtag.mjs +62 -61
- package/dist/track/gtag.mjs.map +1 -1
- package/dist/track/index.cjs +111 -136
- package/dist/track/index.cjs.map +1 -1
- package/dist/track/index.d.cts +8 -8
- package/dist/track/index.d.cts.map +1 -0
- package/dist/track/{index.d.ts → index.d.mts} +8 -8
- package/dist/track/index.d.mts.map +1 -0
- package/dist/track/index.mjs +105 -106
- package/dist/track/index.mjs.map +1 -1
- package/dist/track/lintrk.cjs +0 -19
- package/dist/track/lintrk.d.cts +12 -10
- package/dist/track/lintrk.d.cts.map +1 -0
- package/dist/track/lintrk.d.mts +14 -0
- package/dist/track/lintrk.d.mts.map +1 -0
- package/dist/track/lintrk.mjs +1 -1
- package/dist/track/oaiq.cjs +153 -146
- package/dist/track/oaiq.cjs.map +1 -1
- package/dist/track/oaiq.d.cts +65 -64
- package/dist/track/oaiq.d.cts.map +1 -0
- package/dist/track/oaiq.d.mts +112 -0
- package/dist/track/oaiq.d.mts.map +1 -0
- package/dist/track/oaiq.mjs +149 -118
- package/dist/track/oaiq.mjs.map +1 -1
- package/dist/track/rdt.cjs +66 -110
- package/dist/track/rdt.cjs.map +1 -1
- package/dist/track/rdt.d.cts +74 -73
- package/dist/track/rdt.d.cts.map +1 -0
- package/dist/track/rdt.d.mts +97 -0
- package/dist/track/rdt.d.mts.map +1 -0
- package/dist/track/rdt.mjs +63 -83
- package/dist/track/rdt.mjs.map +1 -1
- package/dist/track/types.cjs +0 -19
- package/dist/track/types.d.cts +140 -111
- package/dist/track/types.d.cts.map +1 -0
- package/dist/track/types.d.mts +171 -0
- package/dist/track/types.d.mts.map +1 -0
- package/dist/track/types.mjs +1 -1
- package/dist/utils/field.cjs +8 -32
- package/dist/utils/field.cjs.map +1 -1
- package/dist/utils/field.d.cts +3 -1
- package/dist/utils/field.d.cts.map +1 -0
- package/dist/utils/{field.d.ts → field.d.mts} +3 -1
- package/dist/utils/field.d.mts.map +1 -0
- package/dist/utils/field.mjs +7 -7
- package/dist/utils/field.mjs.map +1 -1
- package/dist/utils/stripe.cjs +25 -49
- package/dist/utils/stripe.cjs.map +1 -1
- package/dist/utils/stripe.d.cts +3 -1
- package/dist/utils/stripe.d.cts.map +1 -0
- package/dist/utils/{stripe.d.ts → stripe.d.mts} +3 -1
- package/dist/utils/stripe.d.mts.map +1 -0
- package/dist/utils/stripe.mjs +23 -23
- package/dist/utils/stripe.mjs.map +1 -1
- package/dist/visitor/index.cjs +54 -86
- package/dist/visitor/index.cjs.map +1 -1
- package/dist/visitor/index.d.cts +4 -5
- package/dist/visitor/index.d.cts.map +1 -0
- package/dist/visitor/{index.d.ts → index.d.mts} +4 -5
- package/dist/visitor/index.d.mts.map +1 -0
- package/dist/visitor/index.mjs +51 -59
- package/dist/visitor/index.mjs.map +1 -1
- package/dist/visitor/types.cjs +0 -19
- package/dist/visitor/types.d.cts +15 -14
- package/dist/visitor/types.d.cts.map +1 -0
- package/dist/visitor/types.d.mts +21 -0
- package/dist/visitor/types.d.mts.map +1 -0
- package/dist/visitor/types.mjs +1 -1
- package/dist/web/index.cjs +108 -148
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.cts +5 -6
- package/dist/web/index.d.cts.map +1 -0
- package/dist/web/index.d.mts +9 -0
- package/dist/web/index.d.mts.map +1 -0
- package/dist/web/index.mjs +101 -109
- package/dist/web/index.mjs.map +1 -1
- package/package.json +102 -49
- package/dist/constants/storage.d.ts +0 -11
- package/dist/feedback/index.d.ts +0 -6
- package/dist/hooks/use-app-analytics.d.ts +0 -3
- package/dist/hooks/use-click-id-persistence.d.ts +0 -3
- package/dist/hooks/use-previous.d.ts +0 -3
- package/dist/hooks/use-track-impression.d.ts +0 -7
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.mjs.map +0 -1
- package/dist/link/index.d.ts +0 -11
- package/dist/native/fingerprint.d.ts +0 -26
- package/dist/native/firebase.d.ts +0 -6
- package/dist/native/index.cjs.map +0 -1
- package/dist/native/index.d.ts +0 -7
- package/dist/native/index.mjs.map +0 -1
- package/dist/native/posthog.d.ts +0 -3
- package/dist/next/index.d.ts +0 -22
- package/dist/react-router/index.d.ts +0 -22
- package/dist/schema/index.d.ts +0 -324
- package/dist/server/index.cjs.map +0 -1
- package/dist/server/index.d.ts +0 -9
- package/dist/server/index.mjs.map +0 -1
- package/dist/server/linkedin-conversions-api.d.ts +0 -56
- package/dist/server/meta-conversions-api.d.ts +0 -11
- package/dist/server/openai-conversions-api.d.ts +0 -47
- package/dist/server/reddit-conversions-api.d.ts +0 -75
- package/dist/setup/index.d.ts +0 -41
- package/dist/setup/session.d.ts +0 -29
- package/dist/tanstack/index.d.ts +0 -23
- package/dist/third-parties/google-analytics.d.ts +0 -12
- package/dist/third-parties/ignored-events.d.ts +0 -3
- package/dist/third-parties/index.cjs.map +0 -1
- package/dist/third-parties/index.d.ts +0 -12
- package/dist/third-parties/index.mjs.map +0 -1
- package/dist/third-parties/meta-pixel.d.ts +0 -13
- package/dist/third-parties/reddit-pixel.d.ts +0 -13
- package/dist/track/fbq.d.ts +0 -279
- package/dist/track/gtag.d.ts +0 -762
- package/dist/track/lintrk.cjs.map +0 -1
- package/dist/track/lintrk.d.ts +0 -12
- package/dist/track/lintrk.mjs.map +0 -1
- package/dist/track/oaiq.d.ts +0 -111
- package/dist/track/rdt.d.ts +0 -96
- package/dist/track/types.cjs.map +0 -1
- package/dist/track/types.d.ts +0 -142
- package/dist/track/types.mjs.map +0 -1
- package/dist/visitor/types.cjs.map +0 -1
- package/dist/visitor/types.d.ts +0 -20
- package/dist/visitor/types.mjs.map +0 -1
- package/dist/web/index.d.ts +0 -10
package/dist/schema/index.d.ts
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
import { z, iso } from 'zod/mini';
|
|
2
|
-
|
|
3
|
-
declare const ALL_PLATFORMS: ["ios", "android", "web", "macos", "windows", "linux", "unknown"];
|
|
4
|
-
declare const ALL_ENVIRONMENTS: ["development", "production"];
|
|
5
|
-
declare const tagsSchema: z.ZodMiniObject<{
|
|
6
|
-
os: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
7
|
-
os_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
8
|
-
os_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9
|
-
browser: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
10
|
-
browser_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
11
|
-
browser_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
12
|
-
platform: z.ZodMiniEnum<{
|
|
13
|
-
ios: "ios";
|
|
14
|
-
android: "android";
|
|
15
|
-
web: "web";
|
|
16
|
-
macos: "macos";
|
|
17
|
-
windows: "windows";
|
|
18
|
-
linux: "linux";
|
|
19
|
-
unknown: "unknown";
|
|
20
|
-
}>;
|
|
21
|
-
device: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
22
|
-
device_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
23
|
-
device_type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
24
|
-
device_vendor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
25
|
-
device_pixel_ratio: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
26
|
-
screen_width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
27
|
-
screen_height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
28
|
-
screen_resolution: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`${number}x${number}`, string>>>;
|
|
29
|
-
release: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
30
|
-
language: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
31
|
-
time_zone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
32
|
-
environment: z.ZodMiniEnum<{
|
|
33
|
-
development: "development";
|
|
34
|
-
production: "production";
|
|
35
|
-
}>;
|
|
36
|
-
source_url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
37
|
-
source: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
38
|
-
web: "web";
|
|
39
|
-
app: "app";
|
|
40
|
-
offline: "offline";
|
|
41
|
-
}>>;
|
|
42
|
-
page_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
43
|
-
advertising_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
44
|
-
install_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
45
|
-
fbc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
46
|
-
fbp: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
47
|
-
fbclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
48
|
-
ad_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
49
|
-
ad_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
50
|
-
adset_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
51
|
-
adset_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
|
-
campaign_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
|
-
campaign_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
54
|
-
placement: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
55
|
-
site_source_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
56
|
-
gclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
57
|
-
gclsrc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
58
|
-
gad_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
59
|
-
gad_campaignid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
60
|
-
rdt_cid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
61
|
-
rdt_uuid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
62
|
-
dclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
63
|
-
ko_click_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
64
|
-
li_fat_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
65
|
-
msclkid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
66
|
-
sccid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
67
|
-
ttclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
68
|
-
twclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
69
|
-
wbraid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
70
|
-
yclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
71
|
-
utm_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
72
|
-
utm_medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
73
|
-
utm_campaign: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
74
|
-
utm_term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
75
|
-
utm_content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
76
|
-
utm_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
77
|
-
utm_source_platform: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
78
|
-
utm_creative_format: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
79
|
-
utm_marketing_tactic: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
80
|
-
}, z.core.$strip>;
|
|
81
|
-
declare const propertiesSchema: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull]>>>]>>>;
|
|
82
|
-
/** @deprecated */
|
|
83
|
-
declare const createTrackEventSchemaV1: z.ZodMiniArray<z.ZodMiniObject<{
|
|
84
|
-
name: z.ZodMiniString<string>;
|
|
85
|
-
visitor_id: z.ZodMiniBigInt<unknown>;
|
|
86
|
-
session_id: z.ZodMiniUUID;
|
|
87
|
-
platform: z.ZodMiniEnum<{
|
|
88
|
-
ios: "ios";
|
|
89
|
-
android: "android";
|
|
90
|
-
web: "web";
|
|
91
|
-
macos: "macos";
|
|
92
|
-
windows: "windows";
|
|
93
|
-
linux: "linux";
|
|
94
|
-
unknown: "unknown";
|
|
95
|
-
}>;
|
|
96
|
-
environment: z.ZodMiniEnum<{
|
|
97
|
-
development: "development";
|
|
98
|
-
production: "production";
|
|
99
|
-
}>;
|
|
100
|
-
timestamp: iso.ZodMiniISODateTime;
|
|
101
|
-
tags: z.ZodMiniObject<{
|
|
102
|
-
os: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
103
|
-
os_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
104
|
-
os_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
105
|
-
browser: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
106
|
-
browser_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
-
browser_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
108
|
-
platform: z.ZodMiniEnum<{
|
|
109
|
-
ios: "ios";
|
|
110
|
-
android: "android";
|
|
111
|
-
web: "web";
|
|
112
|
-
macos: "macos";
|
|
113
|
-
windows: "windows";
|
|
114
|
-
linux: "linux";
|
|
115
|
-
unknown: "unknown";
|
|
116
|
-
}>;
|
|
117
|
-
device: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
118
|
-
device_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
119
|
-
device_type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
120
|
-
device_vendor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
121
|
-
device_pixel_ratio: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
122
|
-
screen_width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
123
|
-
screen_height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
124
|
-
screen_resolution: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`${number}x${number}`, string>>>;
|
|
125
|
-
release: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
126
|
-
language: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
127
|
-
time_zone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
128
|
-
environment: z.ZodMiniEnum<{
|
|
129
|
-
development: "development";
|
|
130
|
-
production: "production";
|
|
131
|
-
}>;
|
|
132
|
-
source_url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
133
|
-
source: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
134
|
-
web: "web";
|
|
135
|
-
app: "app";
|
|
136
|
-
offline: "offline";
|
|
137
|
-
}>>;
|
|
138
|
-
page_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
139
|
-
advertising_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
140
|
-
install_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
141
|
-
fbc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
142
|
-
fbp: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
143
|
-
fbclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
144
|
-
ad_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
145
|
-
ad_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
146
|
-
adset_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
147
|
-
adset_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
-
campaign_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
149
|
-
campaign_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
150
|
-
placement: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
151
|
-
site_source_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
152
|
-
gclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
153
|
-
gclsrc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
154
|
-
gad_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
155
|
-
gad_campaignid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
156
|
-
rdt_cid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
-
rdt_uuid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
-
dclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
159
|
-
ko_click_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
160
|
-
li_fat_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
161
|
-
msclkid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
162
|
-
sccid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
163
|
-
ttclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
164
|
-
twclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
165
|
-
wbraid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
166
|
-
yclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
167
|
-
utm_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
168
|
-
utm_medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
|
-
utm_campaign: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
170
|
-
utm_term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
171
|
-
utm_content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
172
|
-
utm_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
173
|
-
utm_source_platform: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
174
|
-
utm_creative_format: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
175
|
-
utm_marketing_tactic: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
properties: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull]>>>]>>>;
|
|
178
|
-
}, z.core.$strip>>;
|
|
179
|
-
declare const createTrackEventSchema: z.ZodMiniArray<z.ZodMiniObject<{
|
|
180
|
-
name: z.ZodMiniString<string>;
|
|
181
|
-
visitor_id: z.ZodMiniUUID;
|
|
182
|
-
session_id: z.ZodMiniUUID;
|
|
183
|
-
platform: z.ZodMiniEnum<{
|
|
184
|
-
ios: "ios";
|
|
185
|
-
android: "android";
|
|
186
|
-
web: "web";
|
|
187
|
-
macos: "macos";
|
|
188
|
-
windows: "windows";
|
|
189
|
-
linux: "linux";
|
|
190
|
-
unknown: "unknown";
|
|
191
|
-
}>;
|
|
192
|
-
environment: z.ZodMiniEnum<{
|
|
193
|
-
development: "development";
|
|
194
|
-
production: "production";
|
|
195
|
-
}>;
|
|
196
|
-
timestamp: iso.ZodMiniISODateTime;
|
|
197
|
-
tags: z.ZodMiniObject<{
|
|
198
|
-
os: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
199
|
-
os_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
200
|
-
os_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
201
|
-
browser: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
202
|
-
browser_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
203
|
-
browser_version: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
204
|
-
platform: z.ZodMiniEnum<{
|
|
205
|
-
ios: "ios";
|
|
206
|
-
android: "android";
|
|
207
|
-
web: "web";
|
|
208
|
-
macos: "macos";
|
|
209
|
-
windows: "windows";
|
|
210
|
-
linux: "linux";
|
|
211
|
-
unknown: "unknown";
|
|
212
|
-
}>;
|
|
213
|
-
device: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
214
|
-
device_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
215
|
-
device_type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
216
|
-
device_vendor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
217
|
-
device_pixel_ratio: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
218
|
-
screen_width: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
219
|
-
screen_height: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
220
|
-
screen_resolution: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`${number}x${number}`, string>>>;
|
|
221
|
-
release: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
222
|
-
language: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
223
|
-
time_zone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
224
|
-
environment: z.ZodMiniEnum<{
|
|
225
|
-
development: "development";
|
|
226
|
-
production: "production";
|
|
227
|
-
}>;
|
|
228
|
-
source_url: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
229
|
-
source: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
230
|
-
web: "web";
|
|
231
|
-
app: "app";
|
|
232
|
-
offline: "offline";
|
|
233
|
-
}>>;
|
|
234
|
-
page_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
235
|
-
advertising_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
236
|
-
install_referrer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
237
|
-
fbc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
238
|
-
fbp: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
239
|
-
fbclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
240
|
-
ad_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
241
|
-
ad_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
242
|
-
adset_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
243
|
-
adset_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
244
|
-
campaign_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
245
|
-
campaign_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
246
|
-
placement: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
247
|
-
site_source_name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
248
|
-
gclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
249
|
-
gclsrc: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
250
|
-
gad_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
251
|
-
gad_campaignid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
252
|
-
rdt_cid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
253
|
-
rdt_uuid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
254
|
-
dclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
255
|
-
ko_click_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
256
|
-
li_fat_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
257
|
-
msclkid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
258
|
-
sccid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
259
|
-
ttclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
260
|
-
twclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
261
|
-
wbraid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
262
|
-
yclid: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
263
|
-
utm_source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
264
|
-
utm_medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
265
|
-
utm_campaign: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
266
|
-
utm_term: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
267
|
-
utm_content: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
268
|
-
utm_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
269
|
-
utm_source_platform: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
270
|
-
utm_creative_format: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
271
|
-
utm_marketing_tactic: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
272
|
-
}, z.core.$strip>;
|
|
273
|
-
properties: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull, z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull]>>>]>>>;
|
|
274
|
-
}, z.core.$strip>>;
|
|
275
|
-
declare const createVisitorSchema: z.ZodMiniObject<{
|
|
276
|
-
device_id: z.ZodMiniString<string>;
|
|
277
|
-
platform: z.ZodMiniEnum<{
|
|
278
|
-
ios: "ios";
|
|
279
|
-
android: "android";
|
|
280
|
-
web: "web";
|
|
281
|
-
macos: "macos";
|
|
282
|
-
windows: "windows";
|
|
283
|
-
linux: "linux";
|
|
284
|
-
unknown: "unknown";
|
|
285
|
-
}>;
|
|
286
|
-
environment: z.ZodMiniEnum<{
|
|
287
|
-
development: "development";
|
|
288
|
-
production: "production";
|
|
289
|
-
}>;
|
|
290
|
-
properties: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull]>>>;
|
|
291
|
-
}, z.core.$strip>;
|
|
292
|
-
declare const updateVisitorSchema: z.ZodMiniObject<{
|
|
293
|
-
user_id: z.ZodMiniOptional<z.ZodMiniUUID>;
|
|
294
|
-
distinct_id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
295
|
-
properties: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniBoolean<boolean>, z.ZodMiniNull]>>>;
|
|
296
|
-
}, z.core.$strip>;
|
|
297
|
-
declare const createFeedbackSchema: z.ZodMiniObject<{
|
|
298
|
-
name: z.ZodMiniString<string>;
|
|
299
|
-
email: z.ZodMiniEmail;
|
|
300
|
-
message: z.ZodMiniString<string>;
|
|
301
|
-
}, z.core.$strip>;
|
|
302
|
-
/**
|
|
303
|
-
* The schema for creating a link.
|
|
304
|
-
* @see https://support.google.com/analytics/answer/10917952
|
|
305
|
-
* */
|
|
306
|
-
declare const createLinkSchema: z.ZodMiniObject<{
|
|
307
|
-
url: z.ZodMiniURL;
|
|
308
|
-
utm_id: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
309
|
-
utm_source: z.ZodMiniString<string>;
|
|
310
|
-
utm_medium: z.ZodMiniString<string>;
|
|
311
|
-
utm_campaign: z.ZodMiniString<string>;
|
|
312
|
-
utm_term: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
313
|
-
utm_content: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
314
|
-
utm_source_platform: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
315
|
-
utm_creative_format: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
316
|
-
utm_marketing_tactic: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string | undefined, string>>>;
|
|
317
|
-
}, z.core.$strip>;
|
|
318
|
-
type CreateTrackEventDTO = z.output<typeof createTrackEventSchema>;
|
|
319
|
-
type CreateFeedbackDTO = z.output<typeof createFeedbackSchema>;
|
|
320
|
-
type CreateLinkDTO = z.output<typeof createLinkSchema>;
|
|
321
|
-
type CreateVisitorDTO = z.output<typeof createVisitorSchema>;
|
|
322
|
-
type UpdateVisitorDTO = z.output<typeof updateVisitorSchema>;
|
|
323
|
-
|
|
324
|
-
export { ALL_ENVIRONMENTS, ALL_PLATFORMS, type CreateFeedbackDTO, type CreateLinkDTO, type CreateTrackEventDTO, type CreateVisitorDTO, type UpdateVisitorDTO, createFeedbackSchema, createLinkSchema, createTrackEventSchema, createTrackEventSchemaV1, createVisitorSchema, propertiesSchema, tagsSchema, updateVisitorSchema };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/server/index.ts"],"sourcesContent":["export { sendEvents as sendMetaEvents } from './meta-conversions-api';\nexport { sendEvents as sendRedditEvents } from './reddit-conversions-api';\nexport { sendEvents as sendLinkedinEvents } from './linkedin-conversions-api';\nexport { sendEvents as sendOpenAIEvents } from './openai-conversions-api';\n\nexport type { LinkedinConversionConfig } from './linkedin-conversions-api';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA6C;AAC7C,oCAA+C;AAC/C,sCAAiD;AACjD,oCAA+C;","names":[]}
|
package/dist/server/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { sendEvents as sendMetaEvents } from './meta-conversions-api.js';
|
|
2
|
-
export { sendEvents as sendRedditEvents } from './reddit-conversions-api.js';
|
|
3
|
-
export { LinkedinConversionConfig, sendEvents as sendLinkedinEvents } from './linkedin-conversions-api.js';
|
|
4
|
-
export { sendEvents as sendOpenAIEvents } from './openai-conversions-api.js';
|
|
5
|
-
import 'facebook-nodejs-business-sdk';
|
|
6
|
-
import '../track/types.js';
|
|
7
|
-
import '../track/gtag.js';
|
|
8
|
-
import '../track/rdt.js';
|
|
9
|
-
import '../track/oaiq.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/server/index.ts"],"sourcesContent":["export { sendEvents as sendMetaEvents } from './meta-conversions-api';\nexport { sendEvents as sendRedditEvents } from './reddit-conversions-api';\nexport { sendEvents as sendLinkedinEvents } from './linkedin-conversions-api';\nexport { sendEvents as sendOpenAIEvents } from './openai-conversions-api';\n\nexport type { LinkedinConversionConfig } from './linkedin-conversions-api';\n"],"mappings":";AAAA,SAAuB,kBAAsB;AAC7C,SAAuB,cAAdA,mBAAsC;AAC/C,SAAuB,cAAdA,mBAAwC;AACjD,SAAuB,cAAdA,mBAAsC;","names":["sendEvents"]}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { TrackEvent, UserProvidedData } from '../track/types.js';
|
|
2
|
-
import '../track/gtag.js';
|
|
3
|
-
|
|
4
|
-
type UserIdType = 'SHA256_EMAIL' | 'LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID' | 'ACXIOM_ID' | 'ORACLE_MOAT_ID';
|
|
5
|
-
interface CreateLinkedinEventDTO {
|
|
6
|
-
/**
|
|
7
|
-
* For any conversion that you want to send through multiple methods, such as Insight Tag and
|
|
8
|
-
* Conversions API, you must create a conversion rule for each data source (browser and server).
|
|
9
|
-
* Then, you can implement a logic to pick up the eventId from the browser and send it with the
|
|
10
|
-
* corresponding event from your server. If we receive an Insight Tag event and a Conversions API
|
|
11
|
-
* event from the same account with the same eventId, we discard the Conversions API event and
|
|
12
|
-
* count only the Insight Tag event in campaign reporting.
|
|
13
|
-
*/
|
|
14
|
-
eventId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Replace <id> with the conversion ID extracted when creating the conversion rule
|
|
17
|
-
* (e.g. urn:lla:llaPartnerConversion:<id>).
|
|
18
|
-
*/
|
|
19
|
-
conversion: `urn:lla:llaPartnerConversion:${number}`;
|
|
20
|
-
/** Epoch timestamp in milliseconds at which the conversion event happened. */
|
|
21
|
-
conversionHappenedAt: number;
|
|
22
|
-
conversionValue: {
|
|
23
|
-
currencyCode: string;
|
|
24
|
-
amount: string;
|
|
25
|
-
};
|
|
26
|
-
user: {
|
|
27
|
-
userIds: {
|
|
28
|
-
idType: UserIdType;
|
|
29
|
-
idValue: string;
|
|
30
|
-
}[];
|
|
31
|
-
userInfo?: {
|
|
32
|
-
firstName?: string;
|
|
33
|
-
lastName?: string;
|
|
34
|
-
companyName?: string;
|
|
35
|
-
countryCode?: string;
|
|
36
|
-
title?: string;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* The maximum supported size of the list is 1 at the moment. If the list contains multiple
|
|
40
|
-
* values, only the first value will be used.
|
|
41
|
-
*/
|
|
42
|
-
externalIds?: [string, ...string[]];
|
|
43
|
-
/**
|
|
44
|
-
* This is generated when users submit the Linkedin Lead-gen form
|
|
45
|
-
* (e.g. urn:li:leadGenFormResponse:<id>).
|
|
46
|
-
*/
|
|
47
|
-
lead?: `urn:li:leadGenFormResponse:${string}`;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
interface CreateMultipleLinkedinEventsDTO {
|
|
51
|
-
elements: CreateLinkedinEventDTO[];
|
|
52
|
-
}
|
|
53
|
-
type LinkedinConversionConfig = Record<Lowercase<string>, number>;
|
|
54
|
-
declare function sendEvents(accessToken: string, config: LinkedinConversionConfig, events: TrackEvent<any>[], data?: UserProvidedData): Promise<void>;
|
|
55
|
-
|
|
56
|
-
export { type CreateLinkedinEventDTO, type CreateMultipleLinkedinEventsDTO, type LinkedinConversionConfig, sendEvents };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as facebook_nodejs_business_sdk from 'facebook-nodejs-business-sdk';
|
|
2
|
-
import { ServerEvent } from 'facebook-nodejs-business-sdk';
|
|
3
|
-
import { TrackEvent, UserProvidedData } from '../track/types.js';
|
|
4
|
-
import '../track/gtag.js';
|
|
5
|
-
|
|
6
|
-
declare function getServerEvent(event: TrackEvent<any>, data: UserProvidedData, appPackageName?: string): ServerEvent;
|
|
7
|
-
declare function sendEvent(accessToken: string, pixelId: string, event: TrackEvent<any>, data?: UserProvidedData, appPackageName?: string): Promise<facebook_nodejs_business_sdk.EventResponse | undefined>;
|
|
8
|
-
declare function sendEvents(accessToken: string, pixelId: string, events: TrackEvent<any>[], data?: UserProvidedData, appPackageName?: string): Promise<facebook_nodejs_business_sdk.EventResponse | undefined>;
|
|
9
|
-
declare function sendTestEvent(accessToken: string, pixelId: string, testEventCode: string): Promise<facebook_nodejs_business_sdk.EventResponse>;
|
|
10
|
-
|
|
11
|
-
export { getServerEvent, sendEvent, sendEvents, sendTestEvent };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventData } from '../track/oaiq.js';
|
|
2
|
-
import { TrackEvent, UserProvidedData } from '../track/types.js';
|
|
3
|
-
import '../track/gtag.js';
|
|
4
|
-
|
|
5
|
-
type ActionSource = 'web' | 'mobile_app' | 'offline' | 'physical_store' | 'phone_call' | 'email' | 'other';
|
|
6
|
-
/**
|
|
7
|
-
* User/identity fields. Email and external id must be sent as lowercase 64-char SHA-256 hex
|
|
8
|
-
* strings; geographic, IP, and user-agent fields are sent as raw values.
|
|
9
|
-
*/
|
|
10
|
-
interface OpenAIUser {
|
|
11
|
-
email_sha256?: string;
|
|
12
|
-
external_id_sha256?: string;
|
|
13
|
-
/** Two-letter ISO 3166-1 country code (e.g. "US"). */
|
|
14
|
-
country?: string;
|
|
15
|
-
city?: string;
|
|
16
|
-
zip_code?: string;
|
|
17
|
-
ip_address?: string;
|
|
18
|
-
user_agent?: string;
|
|
19
|
-
}
|
|
20
|
-
interface OpenAIEvent {
|
|
21
|
-
/** Unique event id; combined with `type` for deduplication against pixel events. */
|
|
22
|
-
id: string;
|
|
23
|
-
/** Standard event name or `custom`. */
|
|
24
|
-
type: string;
|
|
25
|
-
/** Required when `type` is `custom`. */
|
|
26
|
-
custom_event_name?: string;
|
|
27
|
-
/** Event timestamp in ms; must be within 7 days and no more than 10 minutes in the future. */
|
|
28
|
-
timestamp_ms: number;
|
|
29
|
-
/** Required for `action_source: "web"`. */
|
|
30
|
-
source_url?: string;
|
|
31
|
-
action_source?: ActionSource;
|
|
32
|
-
/** OpenAI-provided privacy-preserving identifier. */
|
|
33
|
-
oppref?: string;
|
|
34
|
-
/** When true, opts the event out of personalization. */
|
|
35
|
-
opt_out?: boolean;
|
|
36
|
-
user?: OpenAIUser;
|
|
37
|
-
data: EventData;
|
|
38
|
-
}
|
|
39
|
-
interface CreateOpenAIEventsDTO {
|
|
40
|
-
/** When true, validates the events without persisting them. */
|
|
41
|
-
validate_only?: boolean;
|
|
42
|
-
events: OpenAIEvent[];
|
|
43
|
-
}
|
|
44
|
-
declare function getServerEvent(event: TrackEvent<any>, data: UserProvidedData): OpenAIEvent;
|
|
45
|
-
declare function sendEvents(apiKey: string, pixelId: string, events: TrackEvent<any>[], data?: UserProvidedData, validateOnly?: boolean): Promise<void>;
|
|
46
|
-
|
|
47
|
-
export { type CreateOpenAIEventsDTO, type OpenAIEvent, type OpenAIUser, getServerEvent, sendEvents };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ServerStandardEvent } from '../track/rdt.js';
|
|
2
|
-
import { TrackEvent, UserProvidedData } from '../track/types.js';
|
|
3
|
-
import '../track/gtag.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* https://ads-api.reddit.com/docs/v3/operations/Post%20Conversion%20Events
|
|
7
|
-
* https://business.reddithelp.com/s/article/map-a-catalog-to-a-signal-source
|
|
8
|
-
*/
|
|
9
|
-
interface RedditEvent {
|
|
10
|
-
/** Match keys: Share user identifiers to match conversions to a Reddit ad engagement. */
|
|
11
|
-
click_id?: string;
|
|
12
|
-
/** Unix epoch timestamp in milliseconds, event_at can't be older than seven days. */
|
|
13
|
-
event_at: number;
|
|
14
|
-
action_source: 'WEBSITE' | 'APP' | (string & {});
|
|
15
|
-
type: {
|
|
16
|
-
tracking_type: ServerStandardEvent | 'CUSTOM';
|
|
17
|
-
custom_event_name?: string;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Event metadata
|
|
21
|
-
* Share as much additional information about your conversion event as you'd like. If you're
|
|
22
|
-
* using the Conversions API with the pixel, conversion_id is required for deduplication.
|
|
23
|
-
*/
|
|
24
|
-
metadata?: {
|
|
25
|
-
conversion_id?: string;
|
|
26
|
-
currency?: string;
|
|
27
|
-
item_count?: number;
|
|
28
|
-
value?: number;
|
|
29
|
-
products?: {
|
|
30
|
-
id: string;
|
|
31
|
-
name?: string;
|
|
32
|
-
category?: string;
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
user?: {
|
|
36
|
-
email?: string;
|
|
37
|
-
external_id?: string;
|
|
38
|
-
ip_address?: string;
|
|
39
|
-
phone_number?: string;
|
|
40
|
-
user_agent?: string;
|
|
41
|
-
/** The Identifier for Advertisers (IDFA) of the user's Apple device. */
|
|
42
|
-
idfa?: string;
|
|
43
|
-
/** The Android Advertising ID (AAID) of the user's Android device. */
|
|
44
|
-
aaid?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The value from the first-party Pixel _rdt_uuid cookie on your domain. Note that it is in
|
|
47
|
-
* the {timestamp}.{uuid} format. You may use the full value or just the UUID portion.
|
|
48
|
-
* Example: 1684189007728.7c73f2ae-a433-4d7b-9838-f467da98f48e
|
|
49
|
-
*/
|
|
50
|
-
uuid?: string;
|
|
51
|
-
screen_dimensions?: {
|
|
52
|
-
width: number;
|
|
53
|
-
height: number;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* A structure of data processing options to specify the processing type for the event
|
|
57
|
-
* https://business.reddithelp.com/s/article/Limited-Data-Use
|
|
58
|
-
*/
|
|
59
|
-
data_processing_options?: {
|
|
60
|
-
country: string;
|
|
61
|
-
region: string;
|
|
62
|
-
modes: string[] | ['LDU'];
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
interface CreateRedditEventDTO {
|
|
67
|
-
data: {
|
|
68
|
-
test_id?: string;
|
|
69
|
-
events: RedditEvent[];
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
declare function getServerEvent(event: TrackEvent<any>, data: UserProvidedData): RedditEvent;
|
|
73
|
-
declare function sendEvents(accessToken: string, pixelId: string, events: TrackEvent<any>[], data?: UserProvidedData, testId?: string): Promise<void>;
|
|
74
|
-
|
|
75
|
-
export { type CreateRedditEventDTO, type RedditEvent, getServerEvent, sendEvents };
|
package/dist/setup/index.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Platform, Environment, TrackTags, ThirdPartyTracker } from '../track/types.js';
|
|
2
|
-
import { ThirdPartyUserSetter, Visitor } from '../visitor/types.js';
|
|
3
|
-
import '../track/gtag.js';
|
|
4
|
-
|
|
5
|
-
interface Storage {
|
|
6
|
-
getItem: (key: string) => string | null;
|
|
7
|
-
setItem: (key: string, value: string) => void;
|
|
8
|
-
}
|
|
9
|
-
interface Options {
|
|
10
|
-
release: string;
|
|
11
|
-
storage: Storage;
|
|
12
|
-
endpoint: string;
|
|
13
|
-
platform: Platform;
|
|
14
|
-
environment: Environment;
|
|
15
|
-
getTags: () => TrackTags | Promise<TrackTags>;
|
|
16
|
-
getDeviceId: () => string | Promise<string>;
|
|
17
|
-
getHeaders?: () => Record<string, string> | Promise<Record<string, string>>;
|
|
18
|
-
thirdPartyTrackers?: ThirdPartyTracker[];
|
|
19
|
-
thirdPartyUserSetters?: ThirdPartyUserSetter[];
|
|
20
|
-
}
|
|
21
|
-
interface Config {
|
|
22
|
-
release: string;
|
|
23
|
-
endpoint: string;
|
|
24
|
-
storage: Storage;
|
|
25
|
-
platform: Platform;
|
|
26
|
-
environment: Environment;
|
|
27
|
-
getTags: () => TrackTags | Promise<TrackTags>;
|
|
28
|
-
getDeviceId: () => string | Promise<string>;
|
|
29
|
-
getHeaders: () => Record<string, string> | Promise<Record<string, string>>;
|
|
30
|
-
thirdPartyTrackers: ThirdPartyTracker[];
|
|
31
|
-
thirdPartyUserSetters: ThirdPartyUserSetter[];
|
|
32
|
-
}
|
|
33
|
-
interface Cache {
|
|
34
|
-
tags: TrackTags | null;
|
|
35
|
-
visitor: Visitor | null;
|
|
36
|
-
}
|
|
37
|
-
declare const cache: Cache;
|
|
38
|
-
declare const config: Config;
|
|
39
|
-
declare function setupAnalytics(init: Options): void;
|
|
40
|
-
|
|
41
|
-
export { type Options, type Storage, cache, config, setupAnalytics };
|
package/dist/setup/session.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
declare const SESSION_TIMEOUT: number;
|
|
2
|
-
declare class Session {
|
|
3
|
-
private id;
|
|
4
|
-
private startTime;
|
|
5
|
-
private lastActiveTime;
|
|
6
|
-
private accumulatedTime;
|
|
7
|
-
private active;
|
|
8
|
-
private visible;
|
|
9
|
-
private focused;
|
|
10
|
-
constructor();
|
|
11
|
-
getId: () => string;
|
|
12
|
-
isActive: () => boolean;
|
|
13
|
-
isVisible: () => boolean;
|
|
14
|
-
isFocused: () => boolean;
|
|
15
|
-
isExpired: () => boolean;
|
|
16
|
-
updateLastActiveTime: () => void;
|
|
17
|
-
updateActive: (active: boolean) => void;
|
|
18
|
-
refresh: () => void;
|
|
19
|
-
updateAccumulator: () => void;
|
|
20
|
-
focus: () => void;
|
|
21
|
-
blur: () => void;
|
|
22
|
-
pageshow: () => void;
|
|
23
|
-
pagehide: () => void;
|
|
24
|
-
visibilitychange: (state: DocumentVisibilityState) => void;
|
|
25
|
-
flush: () => number;
|
|
26
|
-
}
|
|
27
|
-
declare const session: Session;
|
|
28
|
-
|
|
29
|
-
export { SESSION_TIMEOUT, session };
|
package/dist/tanstack/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { PixelId } from '../track/fbq.js';
|
|
3
|
-
import { GaId, GtmId } from '../track/gtag.js';
|
|
4
|
-
import { PixelId as PixelId$1 } from '../track/rdt.js';
|
|
5
|
-
import '../track/types.js';
|
|
6
|
-
|
|
7
|
-
interface Props {
|
|
8
|
-
gaId?: GaId;
|
|
9
|
-
gaSrc?: string;
|
|
10
|
-
gtmId?: GtmId;
|
|
11
|
-
metaPixelId?: PixelId;
|
|
12
|
-
openaiPixelId?: string;
|
|
13
|
-
redditPixelId?: PixelId$1;
|
|
14
|
-
linkedInPartnerId?: `${number}`;
|
|
15
|
-
hotjarId?: `${number}`;
|
|
16
|
-
facebookAppId?: string;
|
|
17
|
-
nonce?: string;
|
|
18
|
-
debugMode?: boolean;
|
|
19
|
-
reportWebVitals?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare function Analytics({ gaId, gaSrc, nonce, debugMode, metaPixelId, openaiPixelId, redditPixelId, linkedInPartnerId, hotjarId, facebookAppId, reportWebVitals, }: Props): react.JSX.Element;
|
|
22
|
-
|
|
23
|
-
export { Analytics };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Gtag } from '../track/gtag.js';
|
|
2
|
-
import { EventName, TrackName, TrackProperties } from '../track/types.js';
|
|
3
|
-
import { UpdateVisitorDTO } from '../visitor/types.js';
|
|
4
|
-
|
|
5
|
-
declare global {
|
|
6
|
-
interface Window extends Gtag {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
declare function sendGAEvent<T extends EventName>(name: TrackName<T>, properties?: TrackProperties<T>): void;
|
|
10
|
-
declare function setGAUser({ user_id, data, properties }: UpdateVisitorDTO): void;
|
|
11
|
-
|
|
12
|
-
export { sendGAEvent, setGAUser };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/third-parties/index.ts"],"sourcesContent":["export { sendGAEvent, setGAUser } from './google-analytics';\nexport { sendFBEvent, setFBUser } from './meta-pixel';\nexport { sendLinkedinEvent, setLinkedinUser } from './linkedin-insight-tag';\nexport { sendOpenAIEvent, setOpenAIUser } from './openai-pixel';\nexport { sendRedditEvent, setRedditUser } from './reddit-pixel';\n\nexport type { LinkedinConversionConfig } from './linkedin-insight-tag';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAuC;AACvC,wBAAuC;AACvC,kCAAmD;AACnD,0BAA+C;AAC/C,0BAA+C;","names":[]}
|