@funnelsgrove/analytics 0.1.102 → 0.1.103

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.
@@ -66,8 +66,7 @@ export const mapAnalyticsEventToMetaPixelEvent = (event) => {
66
66
  eventId: event.eventId,
67
67
  customData: buildCommerceCustomData(event.metadata),
68
68
  };
69
- case 'checkout_completed':
70
- case 'payment_checkout_succeeded':
69
+ case 'add_payment_info':
71
70
  return {
72
71
  eventName: 'AddPaymentInfo',
73
72
  eventId: event.eventId,
@@ -140,7 +140,7 @@ const buildFeatureFlagProperties = (featureFlags) => {
140
140
  const META_SERVER_EVENT_TYPES = new Set([
141
141
  'email_captured',
142
142
  'checkout_started',
143
- 'checkout_completed',
143
+ 'add_payment_info',
144
144
  ]);
145
145
  const buildEventMetadata = (eventType, metadata) => {
146
146
  if (!META_SERVER_EVENT_TYPES.has(eventType)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelsgrove/analytics",
3
- "version": "0.1.102",
3
+ "version": "0.1.103",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/The-Solid-Grove/funnelsgrove.git",