Victus Sports


Victus Sports ({ var contentId = p.product_id if (p.sku && p.sku !== “”) { contentId = p.sku } content_id: contentId, // Commenting out as category data doesn’t exist on wishlist items // content_category: p.does_not_exist, content_name: p.name, content_type: “product_group”, currency: productCurrency, price: productPrice, value: productPrice, })); // Advanced Matching var phoneNumber = ” var email = ” if (BODL.phone) { var phoneNumber = BODL.phone; if (BODL.phone.indexOf(‘+’) === -1) { // No country code, so default to US code phoneNumber = `+1${phoneNumber}`; } } if (BODL.email) { var email = BODL.email } ttq.instance(‘CKA7RKJC77UBVFV0L5AG’).identify({ email: email, phone_number: phoneNumber}) ttq.instance(‘CKA7RKJC77UBVFV0L5AG’).track(‘AddToWishlist’, addedWishlistItem[0]); } ]]]]]]>]]]]>]]> { event.preventDefault(); const formData = new FormData(event.target); let productId, productQty; for (const pair of formData.entries()) { if (pair[0] === ‘product_id’) { productId = pair[1]; } else if (pair[0] === ‘qty[]’) { productQty = pair[1]; } } var phoneNumber = ” var email = ” if (BODL.phone) { var phoneNumber = BODL.phone; if (BODL.phone.indexOf(‘+’) === -1) { // No country code, so default to US code phoneNumber = `+1${phoneNumber}`; } } if (BODL.email) { var email = BODL.email } ttq.instance(‘CKA7RKJC77UBVFV0L5AG’).identify({ email: email, phone_number: phoneNumber}) // References: // https://developer.bigcommerce.com/theme-objects/product // https://developer.bigcommerce.com/stencil-docs/developing-further/catalog-price-object var productPrice = 0 var productCurrency = “” if (BODL.productCurrencyWithoutTax && BODL.productCurrencyWithoutTax !== “”) { productPrice = BODL.productPriceWithoutTax productCurrency = BODL.productCurrencyWithoutTax } if (BODL.productCurrencyWithTax && BODL.productCurrencyWithTax !== “”) { productPrice = BODL.productPriceWithTax productCurrency = BODL.productCurrencyWithTax } //default contentId to productId if sku_id is not found on product var contentID = BODL.productId if (BODL.skuId && BODL.skuId !== “”) { contentID = BODL.skuId } ttq.instance(‘CKA7RKJC77UBVFV0L5AG’).track(‘AddToCart’, { content_id: contentID, content_category: BODL.breadcrumbs[1] ? BODL.breadcrumbs[1].name : ”, content_type: ‘product_group’, content_name: BODL.product.title, quantity: productQty, price: productPrice, value: (productPrice * productQty), currency: productCurrency, }); })); if (BODL.cartItemAdded) { var cartItemContentId = BODL.cartItemAdded.product_id if (BODL.cartItemAdded.sku && BODL.cartItemAdded.sku !== “”) { cartItemContentId = BODL.cartItemAdded.sku } ttq.instance(‘CKA7RKJC77UBVFV0L5AG’).track(‘AddToCart’, { content_id: cartItemContentId, content_type: ‘product_group’, content_name: BODL.cartItemAdded.name, quantity: BODL.cartItemAdded.quantity, price: BODL.cartItemAdded.price.value, value: BODL.cartItemAdded.total.value, currency: BODL.cartItemAdded.price.currency, }); } ]]]]]]>]]]]>]]>

Victus Sports

If you have any question please CONTACT  Us
Email us at:  info@discountsportsinc.com
Call US : (832) 722-8074

Don’t Forget to Visit our Shop 

For reliable and quality Managed IT Services and VoIP, Contact Precise Business Solutions 

Leave a Reply

Your email address will not be published. Required fields are marked *