@chordcommerce/analytics
Version:
Chord Commerce event tracking
73 lines (72 loc) • 4.87 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.eventSchemas = void 0;
var tracking_plan_js_1 = require("./tracking-plan.js");
var custom_js_1 = require("./custom.js");
var eventSchemas = {
'Cart Shared': [tracking_plan_js_1.cartSharedSchema],
'Cart Viewed': [tracking_plan_js_1.cartViewedSchema],
'Checkout Abandoned': [tracking_plan_js_1.checkoutAbandonedSchema],
'Checkout Started': [tracking_plan_js_1.checkoutStartedSchema],
'Checkout Step Completed': [tracking_plan_js_1.checkoutStepCompletedSchema],
'Checkout Step Viewed': [tracking_plan_js_1.checkoutStepViewedSchema],
'Collection Clicked': [tracking_plan_js_1.collectionClickedSchema],
'Coupon Applied': [tracking_plan_js_1.couponAppliedSchema],
'Coupon Denied': [tracking_plan_js_1.couponDeniedSchema],
'Coupon Entered': [tracking_plan_js_1.couponEnteredSchema],
'Coupon Removed': [tracking_plan_js_1.couponRemovedSchema],
'Email Captured': [tracking_plan_js_1.emailCapturedSchema],
'Gift Card Applied': [tracking_plan_js_1.giftCardAppliedSchema],
'Gift Card Denied': [tracking_plan_js_1.giftCardDeniedSchema],
'Gift Card Entered': [tracking_plan_js_1.giftCardEnteredSchema],
'Gift Card Removed': [tracking_plan_js_1.giftCardRemovedSchema],
'Item Restocked': [tracking_plan_js_1.itemRestockedSchema],
'Login Started': [tracking_plan_js_1.loginStartedSchema],
'Navigation Clicked': [tracking_plan_js_1.navigationClickedSchema],
'Order Cancelled': [tracking_plan_js_1.orderCancelledSchema],
'Order Completed': [tracking_plan_js_1.orderCompletedSchema],
'Order Refunded': [tracking_plan_js_1.orderRefundedSchema],
'Order Updated': [tracking_plan_js_1.orderUpdatedSchema],
'Password Reset Completed': [tracking_plan_js_1.passwordResetCompletedSchema],
'Password Reset Started': [tracking_plan_js_1.passwordResetStartedSchema],
'Payment Info Entered': [tracking_plan_js_1.paymentInfoEnteredSchema],
'Product Added': [tracking_plan_js_1.productAddedSchema, custom_js_1.productInProductsSchema],
'Product Added to Wishlist': [tracking_plan_js_1.productAddedToWishlistSchema],
'Product Clicked': [tracking_plan_js_1.productClickedSchema],
'Product Details Clicked': [tracking_plan_js_1.productDetailsClickedSchema],
'Product List Filtered': [tracking_plan_js_1.productListFilteredSchema],
'Product List Viewed': [tracking_plan_js_1.productListViewedSchema],
'Product Removed': [tracking_plan_js_1.productRemovedSchema],
'Product Removed from Wishlist': [tracking_plan_js_1.productRemovedFromWishlistSchema],
'Product Reviewed': [tracking_plan_js_1.productReviewedSchema],
'Product Shared': [tracking_plan_js_1.productSharedSchema],
'Product Viewed': [tracking_plan_js_1.productViewedSchema],
'Products Searched': [tracking_plan_js_1.productsSearchedSchema],
'Promotion Clicked': [tracking_plan_js_1.promotionClickedSchema],
'Promotion Viewed': [tracking_plan_js_1.promotionViewedSchema],
'Shipment Delivered': [tracking_plan_js_1.shipmentDeliveredSchema],
'Shipment Shipped': [tracking_plan_js_1.shipmentShippedSchema],
'Signed In': [tracking_plan_js_1.signedInSchema],
'Signed Out': [tracking_plan_js_1.signedOutSchema],
'Signed Up': [tracking_plan_js_1.signedUpSchema],
'Stock Request Created': [tracking_plan_js_1.stockRequestCreatedSchema],
'Subscription Address Updated': [tracking_plan_js_1.subscriptionAddressUpdatedSchema],
'Subscription Auto-Renewed': [tracking_plan_js_1.subscriptionAutoRenewedSchema],
'Subscription Cancelled': [tracking_plan_js_1.subscriptionCancelledSchema],
'Subscription Created': [tracking_plan_js_1.subscriptionCreatedSchema],
'Subscription Payment Info Entered': [tracking_plan_js_1.paymentInfoEnteredSchema],
'Subscription Expired': [tracking_plan_js_1.subscriptionExpiredSchema],
'Subscription Order Skipped': [tracking_plan_js_1.subscriptionOrderSkippedSchema],
'Subscription Paused': [tracking_plan_js_1.subscriptionPausedSchema],
'Subscription Payment Failed': [tracking_plan_js_1.subscriptionPaymentFailedSchema],
'Subscription Reminder Sent': [tracking_plan_js_1.subscriptionReminderSentSchema],
'Subscription Resumed': [tracking_plan_js_1.subscriptionResumedSchema],
'User Address Added': [tracking_plan_js_1.userAddressAddedSchema],
'User Address Removed': [tracking_plan_js_1.userAddressRemovedSchema],
'User Address Updated': [tracking_plan_js_1.userAddressUpdatedSchema],
'User Created': [tracking_plan_js_1.userCreatedSchema],
'User Updated': [tracking_plan_js_1.userUpdatedSchema],
'Variant Clicked': [tracking_plan_js_1.variantClickedSchema],
'Wishlist Product Added to Cart': [tracking_plan_js_1.wishlistProductAddedToCartSchema],
};
exports.eventSchemas = eventSchemas;