@funnelsgrove/runtime 0.1.51 → 0.1.53
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.
|
@@ -38,6 +38,7 @@ export declare const RUNTIME_ENV_KEYS: {
|
|
|
38
38
|
readonly googleTagManagerId: "NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID";
|
|
39
39
|
readonly googleTagEventTarget: "NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET";
|
|
40
40
|
readonly googleTagLeadSendTo: "NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO";
|
|
41
|
+
readonly googleTagLeadValue: "NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE";
|
|
41
42
|
readonly googleTagPurchaseSendTo: "NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO";
|
|
42
43
|
readonly funnelCustomDomain: "FUNNEL_CUSTOM_DOMAIN";
|
|
43
44
|
readonly claimbeeWeeklyPriceId: "NEXT_PUBLIC_CLAIMBEE_WEEKLY_PRICE_ID";
|
|
@@ -49,6 +49,7 @@ export const RUNTIME_ENV_KEYS = {
|
|
|
49
49
|
googleTagManagerId: 'NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID',
|
|
50
50
|
googleTagEventTarget: 'NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET',
|
|
51
51
|
googleTagLeadSendTo: 'NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO',
|
|
52
|
+
googleTagLeadValue: 'NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE',
|
|
52
53
|
googleTagPurchaseSendTo: 'NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO',
|
|
53
54
|
funnelCustomDomain: 'FUNNEL_CUSTOM_DOMAIN',
|
|
54
55
|
claimbeeWeeklyPriceId: 'NEXT_PUBLIC_CLAIMBEE_WEEKLY_PRICE_ID',
|
|
@@ -108,6 +109,7 @@ const RUNTIME_ENV_VALUES = {
|
|
|
108
109
|
NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID: readRuntimeEnv(() => process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID),
|
|
109
110
|
NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET: readRuntimeEnv(() => process.env.NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET),
|
|
110
111
|
NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO: readRuntimeEnv(() => process.env.NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO),
|
|
112
|
+
NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE: readRuntimeEnv(() => process.env.NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE),
|
|
111
113
|
NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO: readRuntimeEnv(() => process.env.NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO),
|
|
112
114
|
NEXT_PUBLIC_CLAIMBEE_WEEKLY_PRICE_ID: readRuntimeEnv(() => process.env.NEXT_PUBLIC_CLAIMBEE_WEEKLY_PRICE_ID),
|
|
113
115
|
NEXT_PUBLIC_CLAIMBEE_MONTHLY_PRICE_ID: readRuntimeEnv(() => process.env.NEXT_PUBLIC_CLAIMBEE_MONTHLY_PRICE_ID),
|
|
@@ -38,6 +38,7 @@ export declare const PROJECT_ENV_STANDARD_KEYS: {
|
|
|
38
38
|
readonly googleTagManagerId: "NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID";
|
|
39
39
|
readonly googleTagEventTarget: "NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET";
|
|
40
40
|
readonly googleTagLeadSendTo: "NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO";
|
|
41
|
+
readonly googleTagLeadValue: "NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE";
|
|
41
42
|
readonly googleTagPurchaseSendTo: "NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO";
|
|
42
43
|
};
|
|
43
44
|
export type ProjectEnvStandardKey = keyof typeof PROJECT_ENV_STANDARD_KEYS;
|
|
@@ -38,6 +38,7 @@ export const PROJECT_ENV_STANDARD_KEYS = {
|
|
|
38
38
|
googleTagManagerId: 'NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID',
|
|
39
39
|
googleTagEventTarget: 'NEXT_PUBLIC_GOOGLE_TAG_EVENT_TARGET',
|
|
40
40
|
googleTagLeadSendTo: 'NEXT_PUBLIC_GOOGLE_TAG_LEAD_SEND_TO',
|
|
41
|
+
googleTagLeadValue: 'NEXT_PUBLIC_GOOGLE_TAG_LEAD_VALUE',
|
|
41
42
|
googleTagPurchaseSendTo: 'NEXT_PUBLIC_GOOGLE_TAG_PURCHASE_SEND_TO',
|
|
42
43
|
};
|
|
43
44
|
export const normalizeProjectEnvValue = (value) => {
|
|
@@ -111,6 +112,7 @@ const buildProjectStandardValues = (envMap) => {
|
|
|
111
112
|
googleTagManagerId: getProjectEnvValue(envMap, PROJECT_ENV_STANDARD_KEYS.googleTagManagerId),
|
|
112
113
|
googleTagEventTarget: getProjectEnvValue(envMap, PROJECT_ENV_STANDARD_KEYS.googleTagEventTarget),
|
|
113
114
|
googleTagLeadSendTo: getProjectEnvValue(envMap, PROJECT_ENV_STANDARD_KEYS.googleTagLeadSendTo),
|
|
115
|
+
googleTagLeadValue: getProjectEnvValue(envMap, PROJECT_ENV_STANDARD_KEYS.googleTagLeadValue),
|
|
114
116
|
googleTagPurchaseSendTo: getProjectEnvValue(envMap, PROJECT_ENV_STANDARD_KEYS.googleTagPurchaseSendTo),
|
|
115
117
|
};
|
|
116
118
|
};
|
package/dist/steps/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const FUNNEL_STEP_TYPES: readonly ["intro_hero", "value_prop_story", "single_step_choice", "single_step_choice_emoji", "multi_select_choice", "form_input", "social_proof", "progress_interstitial", "paywall_offer", "upsell_offer", "checkout", "subscription_management", "subscription_handoff", "cancellation_offer", "summary_confirmation"];
|
|
1
|
+
export declare const FUNNEL_STEP_TYPES: readonly ["intro_hero", "value_prop_story", "single_step_choice", "single_step_choice_emoji", "multi_select_choice", "form_input", "social_proof", "progress_interstitial", "paywall_offer", "upsell_offer", "checkout", "subscription_management", "subscription_handoff", "cancellation_offer", "summary_confirmation", "complete_registration"];
|
|
2
2
|
export type FunnelStepType = (typeof FUNNEL_STEP_TYPES)[number];
|
|
3
3
|
export type FunnelStepActionBar = {
|
|
4
4
|
hidden?: boolean;
|
package/dist/steps/types.js
CHANGED