@shopify/hydrogen-react
Version:
React components, hooks, and utilities for creating custom Shopify storefronts
48 lines (47 loc) • 1.36 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const AnalyticsEventName = {
PAGE_VIEW: "PAGE_VIEW",
ADD_TO_CART: "ADD_TO_CART",
PAGE_VIEW_2: "PAGE_VIEW_2",
COLLECTION_VIEW: "COLLECTION_VIEW",
PRODUCT_VIEW: "PRODUCT_VIEW",
SEARCH_VIEW: "SEARCH_VIEW"
};
const AnalyticsPageType = {
article: "article",
blog: "blog",
captcha: "captcha",
cart: "cart",
collection: "collection",
customersAccount: "customers/account",
customersActivateAccount: "customers/activate_account",
customersAddresses: "customers/addresses",
customersLogin: "customers/login",
customersOrder: "customers/order",
customersRegister: "customers/register",
customersResetPassword: "customers/reset_password",
giftCard: "gift_card",
home: "index",
listCollections: "list-collections",
forbidden: "403",
notFound: "404",
page: "page",
password: "password",
product: "product",
policy: "policy",
search: "search"
};
const ShopifySalesChannel = {
hydrogen: "hydrogen",
headless: "headless"
};
const ShopifyAppId = {
hydrogen: "6167201",
headless: "12875497473"
};
exports.AnalyticsEventName = AnalyticsEventName;
exports.AnalyticsPageType = AnalyticsPageType;
exports.ShopifyAppId = ShopifyAppId;
exports.ShopifySalesChannel = ShopifySalesChannel;
//# sourceMappingURL=analytics-constants.js.map