@walkeros/web-destination-meta 3.3.1 → 3.4.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/dist/dev.d.mts CHANGED
@@ -103,7 +103,7 @@ interface Env extends DestinationWeb.Env {
103
103
  };
104
104
  }
105
105
 
106
- declare const init: Env | undefined;
106
+ declare const init$1: Env | undefined;
107
107
  declare const push: Env;
108
108
  /**
109
109
  * Simulation tracking paths
@@ -111,13 +111,19 @@ declare const push: Env;
111
111
  */
112
112
  declare const simulation: string[];
113
113
 
114
- declare const env_init: typeof init;
115
114
  declare const env_push: typeof push;
116
115
  declare const env_simulation: typeof simulation;
117
116
  declare namespace env {
118
- export { env_init as init, env_push as push, env_simulation as simulation };
117
+ export { init$1 as init, env_push as push, env_simulation as simulation };
119
118
  }
120
119
 
120
+ /**
121
+ * Destination bootstrap.
122
+ * Given the canonical settings, init loads the Meta Pixel script and calls
123
+ * fbq('init', pixelId). Reproduce by passing the same settings to
124
+ * `startFlow` as the destination config.
125
+ */
126
+ declare const init: Flow.StepExample;
121
127
  declare const purchase: Flow.StepExample;
122
128
  declare const addToCart: Flow.StepExample;
123
129
  declare const viewContent: Flow.StepExample;
@@ -127,12 +133,13 @@ declare const customEventWithTrackCustom: Flow.StepExample;
127
133
 
128
134
  declare const step_addToCart: typeof addToCart;
129
135
  declare const step_customEventWithTrackCustom: typeof customEventWithTrackCustom;
136
+ declare const step_init: typeof init;
130
137
  declare const step_initiateCheckout: typeof initiateCheckout;
131
138
  declare const step_pageView: typeof pageView;
132
139
  declare const step_purchase: typeof purchase;
133
140
  declare const step_viewContent: typeof viewContent;
134
141
  declare namespace step {
135
- export { step_addToCart as addToCart, step_customEventWithTrackCustom as customEventWithTrackCustom, step_initiateCheckout as initiateCheckout, step_pageView as pageView, step_purchase as purchase, step_viewContent as viewContent };
142
+ export { step_addToCart as addToCart, step_customEventWithTrackCustom as customEventWithTrackCustom, step_init as init, step_initiateCheckout as initiateCheckout, step_pageView as pageView, step_purchase as purchase, step_viewContent as viewContent };
136
143
  }
137
144
 
138
145
  declare const index_env: typeof env;
package/dist/dev.d.ts CHANGED
@@ -103,7 +103,7 @@ interface Env extends DestinationWeb.Env {
103
103
  };
104
104
  }
105
105
 
106
- declare const init: Env | undefined;
106
+ declare const init$1: Env | undefined;
107
107
  declare const push: Env;
108
108
  /**
109
109
  * Simulation tracking paths
@@ -111,13 +111,19 @@ declare const push: Env;
111
111
  */
112
112
  declare const simulation: string[];
113
113
 
114
- declare const env_init: typeof init;
115
114
  declare const env_push: typeof push;
116
115
  declare const env_simulation: typeof simulation;
117
116
  declare namespace env {
118
- export { env_init as init, env_push as push, env_simulation as simulation };
117
+ export { init$1 as init, env_push as push, env_simulation as simulation };
119
118
  }
120
119
 
120
+ /**
121
+ * Destination bootstrap.
122
+ * Given the canonical settings, init loads the Meta Pixel script and calls
123
+ * fbq('init', pixelId). Reproduce by passing the same settings to
124
+ * `startFlow` as the destination config.
125
+ */
126
+ declare const init: Flow.StepExample;
121
127
  declare const purchase: Flow.StepExample;
122
128
  declare const addToCart: Flow.StepExample;
123
129
  declare const viewContent: Flow.StepExample;
@@ -127,12 +133,13 @@ declare const customEventWithTrackCustom: Flow.StepExample;
127
133
 
128
134
  declare const step_addToCart: typeof addToCart;
129
135
  declare const step_customEventWithTrackCustom: typeof customEventWithTrackCustom;
136
+ declare const step_init: typeof init;
130
137
  declare const step_initiateCheckout: typeof initiateCheckout;
131
138
  declare const step_pageView: typeof pageView;
132
139
  declare const step_purchase: typeof purchase;
133
140
  declare const step_viewContent: typeof viewContent;
134
141
  declare namespace step {
135
- export { step_addToCart as addToCart, step_customEventWithTrackCustom as customEventWithTrackCustom, step_initiateCheckout as initiateCheckout, step_pageView as pageView, step_purchase as purchase, step_viewContent as viewContent };
142
+ export { step_addToCart as addToCart, step_customEventWithTrackCustom as customEventWithTrackCustom, step_init as init, step_initiateCheckout as initiateCheckout, step_pageView as pageView, step_purchase as purchase, step_viewContent as viewContent };
136
143
  }
137
144
 
138
145
  declare const index_env: typeof env;