diff --git a/package.json b/package.json index 88b739e..2686dc3 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,6 @@ "lodash-humps": "^3.1.5", "vue": "^2.6.10", "vue-cookies": "^1.5.13", - "vue-gtag": "^1.8.0", - "vue-gtm": "3.0.0-vue2", "vue-meta": "^2.4.0", "vue-router": "^3.2.0", "vue-tel-input": "^4.4.0", diff --git a/public/index.html b/public/index.html index 26a3d0e..1b68532 100644 --- a/public/index.html +++ b/public/index.html @@ -39,7 +39,7 @@ - --> - --> - + diff --git a/src/components/gate/GateLayout.vue b/src/components/gate/GateLayout.vue index 788aafd..47e0a2b 100644 --- a/src/components/gate/GateLayout.vue +++ b/src/components/gate/GateLayout.vue @@ -99,7 +99,6 @@ \ No newline at end of file diff --git a/src/routes/retailer/product_page.vue b/src/routes/retailer/product_page.vue index a880ae5..8a989db 100644 --- a/src/routes/retailer/product_page.vue +++ b/src/routes/retailer/product_page.vue @@ -57,7 +57,7 @@ import ProductDetailComponent from "@/components/retailer/product-detail/Product import ConfiguredProductDetailComponent from "@/components/retailer/product-detail/ConfiguredProductDetailComponent"; import GiftCardDetailsComponent from "@/components/retailer/product-detail/GiftCardDetailsComponent"; import FooterComponent from "@/components/layout/footer/FooterComponent"; -import { getMeta, googleAanalyticsEventPDP } from "@/services/util.service"; +import { getMeta } from "@/services/util.service"; export default { name: "ProductPage", components: { @@ -144,11 +144,11 @@ export default { }, productDetails() { if (this.productDetails.name) { - googleAanalyticsEventPDP( - this.productDetails, - "view_item", - this.categoryId - ); + // googleAanalyticsEventPDP( + // this.productDetails, + // "view_item", + // this.categoryId + // ); if ( this.productDetails.stockDetails.backorders == 0 && this.productDetails.stockDetails.qty <= 0 diff --git a/src/services/nav.js b/src/services/nav.js index 1f12455..6dfeeea 100644 --- a/src/services/nav.js +++ b/src/services/nav.js @@ -41,11 +41,11 @@ const beforeEachRoute = (to, from, next) =>{ } try { let path = to.path; - console.log("to path", to); + // console.log("to path", to); if (path.includes("shop/category")) { let routeSplit = path.split("/"); let newCategoryRoute = routeSplit.slice(3, routeSplit.length - 5).join("/"); - console.log("new route", newCategoryRoute); + // console.log("new route", newCategoryRoute); next({ path: "/" + newCategoryRoute }); } } catch (error) { diff --git a/src/stores/retailer/account.one.js b/src/stores/retailer/account.one.js index a8c8eb7..074888b 100644 --- a/src/stores/retailer/account.one.js +++ b/src/stores/retailer/account.one.js @@ -4,7 +4,7 @@ import { invalidPoBoxAddress } from '@/services/util.service'; import { doFetchQuote } from '@/services/user_cart.service'; import { getField, updateField } from 'vuex-map-fields'; import humps from 'lodash-humps'; -import { criteoUpdateUserEmail } from "@/services/util.service"; +//import { criteoUpdateUserEmail } from "@/services/util.service"; /*eslint-disable*/ const addresses = { @@ -74,7 +74,7 @@ export const accountOne = { state.countryWiseStates = countryWiseStates }, setOne(state, one) { - criteoUpdateUserEmail(one.email) + // criteoUpdateUserEmail(one.email) state.one = Object.assign({}, state.one, defaultAddress, one); let customerNumber=state.one.customAttributes .filter((customAttribute)=>customAttribute.attributeCode==="customer_number")[0] diff --git a/src/stores/retailer/user_cart.one.js b/src/stores/retailer/user_cart.one.js index 4163f54..a32fd87 100644 --- a/src/stores/retailer/user_cart.one.js +++ b/src/stores/retailer/user_cart.one.js @@ -20,7 +20,7 @@ import { import { getField, updateField } from 'vuex-map-fields'; import humps from 'lodash-humps'; import { getAuthUser } from '@/services/auth'; -import { criteoViewBasket ,listrakCartList,listrakCartListClear} from "@/services/util.service"; +//import { criteoViewBasket ,listrakCartList,listrakCartListClear} from "@/services/util.service"; /* eslint-disable no-alert, no-console , no-debugger */ export const userCartProduct = { namespaced: true, @@ -77,15 +77,15 @@ export const userCartProduct = { state.cartProductList = list // criteoViewBasket(list); }, - setCriteoViewBasket(state) { + /* setCriteoViewBasket(state) { criteoViewBasket(state.cartProductList); }, - setListrakCartList(state) { + setListrakCartList(state) { listrakCartList(state.cartProductList); }, setListrakCartListClear(){ listrakCartListClear() - }, + },*/ setCartProductDetails(state, details) { state.cartProductDetails = details }, @@ -208,7 +208,7 @@ export const userCartProduct = { commit('cartTotalAmtProgress', false); commit('setCartDrawer', false); await dispatch('cartProductList'); - dispatch('setListrakCartListClear') + // dispatch('setListrakCartListClear') } } catch (err) { @@ -367,13 +367,13 @@ export const userCartProduct = { } }, 3000); }, - setCriteoViewBasket: async({ commit ,state}) => { + /* setCriteoViewBasket: async({ commit ,state}) => { if(state.cartProductList.length > 0) { commit('setCriteoViewBasket'); } }, - setListrakCartList: async({ commit ,state}) => { + setListrakCartList: async({ commit ,state}) => { if(state.cartProductList.length > 0) { commit('setListrakCartList'); @@ -384,6 +384,6 @@ export const userCartProduct = { { commit('setListrakCartListClear'); } - }, + },*/ } } \ No newline at end of file