@shopify/hydrogen-react
Version:
React components, hooks, and utilities for creating custom Shopify storefronts
48 lines (47 loc) • 1.19 kB
JavaScript
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"
};
export {
AnalyticsEventName,
AnalyticsPageType,
ShopifyAppId,
ShopifySalesChannel
};
//# sourceMappingURL=analytics-constants.mjs.map