@walkeros/web-destination-gtag 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
@@ -136,6 +136,21 @@ declare namespace env {
136
136
  export { env_init as init, env_push as push, env_simulation as simulation };
137
137
  }
138
138
 
139
+ /**
140
+ * GA4 destination bootstrap.
141
+ * Initializes gtag infrastructure and configures the GA4 measurementId.
142
+ */
143
+ declare const ga4Init: Flow.StepExample;
144
+ /**
145
+ * Google Ads destination bootstrap.
146
+ * Initializes gtag infrastructure and configures the Ads conversionId.
147
+ */
148
+ declare const adsInit: Flow.StepExample;
149
+ /**
150
+ * GTM destination bootstrap.
151
+ * Initializes the dataLayer and pushes the gtm.js start event.
152
+ */
153
+ declare const gtmInit: Flow.StepExample;
139
154
  declare const purchase: Flow.StepExample;
140
155
  declare const addToCart: Flow.StepExample;
141
156
  declare const pageView: Flow.StepExample;
@@ -171,7 +186,7 @@ declare const ga4WithIncludeAll: Flow.StepExample;
171
186
  /**
172
187
  * One event pushed to GA4 + Ads + GTM simultaneously.
173
188
  * Shows settings for all three tools in a single mapping rule.
174
- * The out is an object keyed by tool name with each tool's expected output.
189
+ * The out is a flat array of all observable calls in execution order:
175
190
  *
176
191
  * - GA4: gtag('event', eventName, { ...params, send_to })
177
192
  * - Ads: gtag('event', 'conversion', { send_to, currency, ...data })
@@ -180,15 +195,18 @@ declare const ga4WithIncludeAll: Flow.StepExample;
180
195
  declare const multipleToolsSimultaneous: Flow.StepExample;
181
196
 
182
197
  declare const step_addToCart: typeof addToCart;
198
+ declare const step_adsInit: typeof adsInit;
183
199
  declare const step_consentModeV2: typeof consentModeV2;
200
+ declare const step_ga4Init: typeof ga4Init;
184
201
  declare const step_ga4WithIncludeAll: typeof ga4WithIncludeAll;
185
202
  declare const step_googleAdsConversion: typeof googleAdsConversion;
186
203
  declare const step_gtmDataLayerPush: typeof gtmDataLayerPush;
204
+ declare const step_gtmInit: typeof gtmInit;
187
205
  declare const step_multipleToolsSimultaneous: typeof multipleToolsSimultaneous;
188
206
  declare const step_pageView: typeof pageView;
189
207
  declare const step_purchase: typeof purchase;
190
208
  declare namespace step {
191
- export { step_addToCart as addToCart, step_consentModeV2 as consentModeV2, step_ga4WithIncludeAll as ga4WithIncludeAll, step_googleAdsConversion as googleAdsConversion, step_gtmDataLayerPush as gtmDataLayerPush, step_multipleToolsSimultaneous as multipleToolsSimultaneous, step_pageView as pageView, step_purchase as purchase };
209
+ export { step_addToCart as addToCart, step_adsInit as adsInit, step_consentModeV2 as consentModeV2, step_ga4Init as ga4Init, step_ga4WithIncludeAll as ga4WithIncludeAll, step_googleAdsConversion as googleAdsConversion, step_gtmDataLayerPush as gtmDataLayerPush, step_gtmInit as gtmInit, step_multipleToolsSimultaneous as multipleToolsSimultaneous, step_pageView as pageView, step_purchase as purchase };
192
210
  }
193
211
 
194
212
  declare const index_env: typeof env;
package/dist/dev.d.ts CHANGED
@@ -136,6 +136,21 @@ declare namespace env {
136
136
  export { env_init as init, env_push as push, env_simulation as simulation };
137
137
  }
138
138
 
139
+ /**
140
+ * GA4 destination bootstrap.
141
+ * Initializes gtag infrastructure and configures the GA4 measurementId.
142
+ */
143
+ declare const ga4Init: Flow.StepExample;
144
+ /**
145
+ * Google Ads destination bootstrap.
146
+ * Initializes gtag infrastructure and configures the Ads conversionId.
147
+ */
148
+ declare const adsInit: Flow.StepExample;
149
+ /**
150
+ * GTM destination bootstrap.
151
+ * Initializes the dataLayer and pushes the gtm.js start event.
152
+ */
153
+ declare const gtmInit: Flow.StepExample;
139
154
  declare const purchase: Flow.StepExample;
140
155
  declare const addToCart: Flow.StepExample;
141
156
  declare const pageView: Flow.StepExample;
@@ -171,7 +186,7 @@ declare const ga4WithIncludeAll: Flow.StepExample;
171
186
  /**
172
187
  * One event pushed to GA4 + Ads + GTM simultaneously.
173
188
  * Shows settings for all three tools in a single mapping rule.
174
- * The out is an object keyed by tool name with each tool's expected output.
189
+ * The out is a flat array of all observable calls in execution order:
175
190
  *
176
191
  * - GA4: gtag('event', eventName, { ...params, send_to })
177
192
  * - Ads: gtag('event', 'conversion', { send_to, currency, ...data })
@@ -180,15 +195,18 @@ declare const ga4WithIncludeAll: Flow.StepExample;
180
195
  declare const multipleToolsSimultaneous: Flow.StepExample;
181
196
 
182
197
  declare const step_addToCart: typeof addToCart;
198
+ declare const step_adsInit: typeof adsInit;
183
199
  declare const step_consentModeV2: typeof consentModeV2;
200
+ declare const step_ga4Init: typeof ga4Init;
184
201
  declare const step_ga4WithIncludeAll: typeof ga4WithIncludeAll;
185
202
  declare const step_googleAdsConversion: typeof googleAdsConversion;
186
203
  declare const step_gtmDataLayerPush: typeof gtmDataLayerPush;
204
+ declare const step_gtmInit: typeof gtmInit;
187
205
  declare const step_multipleToolsSimultaneous: typeof multipleToolsSimultaneous;
188
206
  declare const step_pageView: typeof pageView;
189
207
  declare const step_purchase: typeof purchase;
190
208
  declare namespace step {
191
- export { step_addToCart as addToCart, step_consentModeV2 as consentModeV2, step_ga4WithIncludeAll as ga4WithIncludeAll, step_googleAdsConversion as googleAdsConversion, step_gtmDataLayerPush as gtmDataLayerPush, step_multipleToolsSimultaneous as multipleToolsSimultaneous, step_pageView as pageView, step_purchase as purchase };
209
+ export { step_addToCart as addToCart, step_adsInit as adsInit, step_consentModeV2 as consentModeV2, step_ga4Init as ga4Init, step_ga4WithIncludeAll as ga4WithIncludeAll, step_googleAdsConversion as googleAdsConversion, step_gtmDataLayerPush as gtmDataLayerPush, step_gtmInit as gtmInit, step_multipleToolsSimultaneous as multipleToolsSimultaneous, step_pageView as pageView, step_purchase as purchase };
192
210
  }
193
211
 
194
212
  declare const index_env: typeof env;