From 054b3b2456b1ba271c78c2fd827c63a393359969 Mon Sep 17 00:00:00 2001 From: Katie Date: Thu, 13 Oct 2022 16:51:05 -0400 Subject: [PATCH 1/8] CSR-762 Temporarily lower code coverage threshold --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index ded486df9..4af0d88cc 100644 --- a/jest.config.js +++ b/jest.config.js @@ -28,7 +28,7 @@ module.exports = { testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"], coverageThreshold: { global: { - statements: 85, + statements: 80, // Got the go ahead from Mark to temporarily lower this. Taking out initialize component made the year,make,model and style coverage drop a bit. Once unit tests for license plate lookup, vin lookup and address lookup are in the coverage should go back up to 90 }, }, From cbfd62e3a827cb56c67bc6c39fe1b0ce312618b5 Mon Sep 17 00:00:00 2001 From: Katie Date: Fri, 14 Oct 2022 15:07:59 -0400 Subject: [PATCH 2/8] CSR-762 Remove pushing GA on autoselect --- src/App.vue | 42 ++----------------- .../base-input-button/base-input-button.vue | 17 ++++---- .../button-question/button-question.vue | 2 - src/helpers/analytics-helper.js | 34 +++++++++++++++ .../glass-part-question.vue | 6 +-- src/mixins/analytics-mixin.js | 4 +- src/mixins/input-button-wrapper-mixin.js | 1 - 7 files changed, 48 insertions(+), 58 deletions(-) create mode 100644 src/helpers/analytics-helper.js diff --git a/src/App.vue b/src/App.vue index c934ee244..e43e85c84 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,48 +11,12 @@ diff --git a/src/common-components/base-input-button/base-input-button.vue b/src/common-components/base-input-button/base-input-button.vue index c7c2291ce..e58e826cc 100644 --- a/src/common-components/base-input-button/base-input-button.vue +++ b/src/common-components/base-input-button/base-input-button.vue @@ -26,6 +26,10 @@ import { useField } from "vee-validate"; import { toRef } from "vue"; import { queryStrings } from "@/constants/query-strings"; +import { + handleInputFocus, + handleInputBlur, +} from "@/helpers/analytics-helper"; import inputButtonWrapperMixin from "../../mixins/input-button-wrapper-mixin"; export default { @@ -59,7 +63,6 @@ export default { isRequired: Boolean, lastValuePushedToGa: [String, Number], setLastValuePushedToGa: Function, - shouldPushClickEventToGAOnMount: Boolean, }, data() { return { @@ -68,11 +71,7 @@ export default { }, mounted() { if (this.isChecked) { - if (this.shouldPushClickEventToGAOnMount) { - this.handleEventAction(this.eventTypes.MOUNT) - } else { - this.handleChange(this.modelValue); - } + this.handleChange(this.modelValue); } }, methods: { @@ -92,7 +91,6 @@ export default { case this.eventTypes.CLICK: case this.eventTypes.ENTER: case this.eventTypes.SPACE: - case this.eventTypes.MOUNT: this.handleClick(e); this.handlePushClickEventToGACheck( this.eventTypes.CLICK @@ -130,12 +128,12 @@ export default { this.$emit("update:modelValue", this.valueToEmit); }, handleFocus() { - this.$root.handleInputFocus({ + handleInputFocus({ groupName: this.groupName, }); }, handleBlur() { - this.$root.handleInputBlur({ + handleInputBlur({ groupName: this.groupName, onFocusCallback: this.handlePushClickEventToGACheck, }); @@ -192,7 +190,6 @@ export default { ENTER: "enter", SPACE: "space", CLICK: "click", - MOUNT: "mount" }; }, }, diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index eb198c93f..1b75e8d9d 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -52,7 +52,6 @@ :selectOnKeypress="selectOnKeypress" :lastValuePushedToGa="lastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa" - :shouldPushClickEventToGAOnMount="shouldPushClickEventToGAOnMount" v-model="selectedValues" /> @@ -122,7 +121,6 @@ export default { type: Boolean, default: true, }, - shouldPushClickEventToGAOnMount: Boolean }, data() { return { diff --git a/src/helpers/analytics-helper.js b/src/helpers/analytics-helper.js new file mode 100644 index 000000000..b03d86191 --- /dev/null +++ b/src/helpers/analytics-helper.js @@ -0,0 +1,34 @@ +let lastFocusedInputGroupName = ""; +let onFocusCallback = null; + +const handleChildFocus = (e) => { + const targetType = e.target.type; + if (targetType !== "radio" && targetType !== "checkbox") { + handleInputFocus({ + groupName: null, + }); + } +} + +const handleInputFocus = (e) => { + if ( + e && + lastFocusedInputGroupName !== e.groupName && + onFocusCallback + ) { + onFocusCallback(); + } +} + +const handleInputBlur = (e) => { + if (e) { + lastFocusedInputGroupName = e.groupName; + onFocusCallback = e.onFocusCallback; + } +} + +export { + handleChildFocus, + handleInputFocus, + handleInputBlur +} \ No newline at end of file diff --git a/src/layouts/vehicle-parts/glass-part-question/glass-part-question.vue b/src/layouts/vehicle-parts/glass-part-question/glass-part-question.vue index 14f707818..d45c8cddb 100644 --- a/src/layouts/vehicle-parts/glass-part-question/glass-part-question.vue +++ b/src/layouts/vehicle-parts/glass-part-question/glass-part-question.vue @@ -27,9 +27,7 @@ isRequired :groupName="`${glassLocation}-${glassName}-${selectedTint}`" :validationRules="partValidationRules" - :shouldPushClickEventToGAOnMount=" - shouldPushClickEventToGAOnMount - " /> + /> @@ -57,7 +55,6 @@ export default { glassColorQuestion: "", glassFeatureQuestion: "", selectedTint: "", - shouldPushClickEventToGAOnMount: true, }; }, props: { @@ -224,7 +221,6 @@ export default { this.$nextTick(() => { if (this.modelValue !== undefined) { // Populate button-question model-value if parts data already exists in VueX - this.shouldPushClickEventToGAOnMount = false; this.selectedTint = this.modelValue?.color } }); diff --git a/src/mixins/analytics-mixin.js b/src/mixins/analytics-mixin.js index 6eb18e462..4ff24f968 100644 --- a/src/mixins/analytics-mixin.js +++ b/src/mixins/analytics-mixin.js @@ -48,6 +48,8 @@ export default { pushEventToGA(category, action, label, pushToLogApp = false, valueToLogType = null) { const currentPageName = getPageNameByQueryString(); const labelToLog = getValueToLog(label, valueToLogType); + + console.log("PUSHING: ", labelToLog) const eventToBePushed = { 'event': GaEvents.GENERIC_EVENT, 'category': category, @@ -140,7 +142,7 @@ export default { noSession() { return getSessionKeyValue() === 0 || getSessionIdValue() === '00000000-0000-0000-0000-000000000000'; - } + }, }, computed: { analyticsPageEvents() { diff --git a/src/mixins/input-button-wrapper-mixin.js b/src/mixins/input-button-wrapper-mixin.js index eae27c2fe..628ccec96 100644 --- a/src/mixins/input-button-wrapper-mixin.js +++ b/src/mixins/input-button-wrapper-mixin.js @@ -22,7 +22,6 @@ export default { }, lastValuePushedToGa: [String, Number], setLastValuePushedToGa: Function, - shouldPushClickEventToGAOnMount: Boolean, }, computed: { selectedValue: { From cf14826a94b54b1b6034396bc54224203abdce79 Mon Sep 17 00:00:00 2001 From: Katie Date: Fri, 14 Oct 2022 15:24:55 -0400 Subject: [PATCH 3/8] CSR-762 Prevent pushing GA click when tabbing through preloaded page with radio buttons --- src/common-components/base-input-button/base-input-button.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common-components/base-input-button/base-input-button.vue b/src/common-components/base-input-button/base-input-button.vue index e58e826cc..767d96649 100644 --- a/src/common-components/base-input-button/base-input-button.vue +++ b/src/common-components/base-input-button/base-input-button.vue @@ -143,6 +143,7 @@ export default { this.pushClickEventToGA(); } else { if ( + this.valueToEmit && !this.isValueSelectedOnClick && this.isChecked && this.lastValuePushedToGa != this.value From 9ee87f343782ec0e84ef085e4c22c27120096600 Mon Sep 17 00:00:00 2001 From: Katie Date: Fri, 14 Oct 2022 15:29:11 -0400 Subject: [PATCH 4/8] CSR-762 Fix null check --- src/common-components/base-input-button/base-input-button.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common-components/base-input-button/base-input-button.vue b/src/common-components/base-input-button/base-input-button.vue index 767d96649..fa4db2647 100644 --- a/src/common-components/base-input-button/base-input-button.vue +++ b/src/common-components/base-input-button/base-input-button.vue @@ -143,7 +143,7 @@ export default { this.pushClickEventToGA(); } else { if ( - this.valueToEmit && + this.valueToEmit !== null && !this.isValueSelectedOnClick && this.isChecked && this.lastValuePushedToGa != this.value From b2a81875d2f37d94f5191170e5176eb002679e10 Mon Sep 17 00:00:00 2001 From: Katie Date: Fri, 14 Oct 2022 15:51:55 -0400 Subject: [PATCH 5/8] CSR-762 Use shared props between base-input-button and input-button-wrapper-mixin --- .../base-input-button/base-input-button.vue | 29 ++---------------- .../button-functionality-props.js | 30 +++++++++++++++++++ src/mixins/input-button-wrapper-mixin.js | 15 ++-------- 3 files changed, 35 insertions(+), 39 deletions(-) create mode 100644 src/common-components/base-input-button/button-functionality-props.js diff --git a/src/common-components/base-input-button/base-input-button.vue b/src/common-components/base-input-button/base-input-button.vue index fa4db2647..0792333a6 100644 --- a/src/common-components/base-input-button/base-input-button.vue +++ b/src/common-components/base-input-button/base-input-button.vue @@ -30,39 +30,14 @@ import { handleInputFocus, handleInputBlur, } from "@/helpers/analytics-helper"; -import inputButtonWrapperMixin from "../../mixins/input-button-wrapper-mixin"; +import { inputButtonProps } from "@/common-components/base-input-button/button-functionality-props"; export default { name: "base-input-button", props: { - // ...inputButtonWrapperMixin.props - value: { - type: [String, Number], - required: true, - }, - modelValue: { - type: [Array, String, Number], - required: true, - }, - isMultiSelect: Boolean, - groupName: { - type: String, - required: true, - }, - validationRules: { - type: String, - default: "", - }, + ...inputButtonProps, buttonWrapperClasses: [String, Array, Object], inputClasses: [String, Array, Object], - valueToLogType: String, - selectOnKeypress: { - type: Boolean, - default: true, - }, - isRequired: Boolean, - lastValuePushedToGa: [String, Number], - setLastValuePushedToGa: Function, }, data() { return { diff --git a/src/common-components/base-input-button/button-functionality-props.js b/src/common-components/base-input-button/button-functionality-props.js new file mode 100644 index 000000000..9bc6aeb25 --- /dev/null +++ b/src/common-components/base-input-button/button-functionality-props.js @@ -0,0 +1,30 @@ +export const inputButtonProps = { + value: { + type: [String, Number], + required: true, + }, + modelValue: { + type: [Array, String, Number], + required: true, + }, + isMultiSelect: Boolean, + groupName: { + type: String, + required: true, + }, + validationRules: { + type: String, + default: "", + }, + valueToLogType: String, + isRequired: { + type: Boolean, + default: true, + }, + lastValuePushedToGa: [String, Number], + setLastValuePushedToGa: Function, + selectOnKeypress: { + type: Boolean, + default: true, + }, +} \ No newline at end of file diff --git a/src/mixins/input-button-wrapper-mixin.js b/src/mixins/input-button-wrapper-mixin.js index 628ccec96..866e5d1d6 100644 --- a/src/mixins/input-button-wrapper-mixin.js +++ b/src/mixins/input-button-wrapper-mixin.js @@ -1,9 +1,8 @@ +import { inputButtonProps } from "@/common-components/base-input-button/button-functionality-props"; + export default { props: { - modelValue: [Array, String, Number], - value: [String, Number], - isMultiSelect: Boolean, - groupName: String, + ...inputButtonProps, buttonLabel: [Number, String], buttonLabelSubCopy: String, buttonImage: String, @@ -13,15 +12,7 @@ export default { }, textPosition: String, screenReaderOnlyText: String, - valueToLogType: String, - validationRules: String, isWide: Boolean, - isRequired: { - type: Boolean, - default: true, - }, - lastValuePushedToGa: [String, Number], - setLastValuePushedToGa: Function, }, computed: { selectedValue: { From c70bbf665cc75a78b20e4b3b69b491da5cd75eb9 Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 17 Oct 2022 08:27:25 -0400 Subject: [PATCH 6/8] CSR-762 Cleanup --- .../base-input-button/base-input-button.spec.js | 2 -- src/common-components/button-question/button-question.vue | 1 - .../vehicle-damage/side-door-options/side-door-options.vue | 2 +- .../windshield-options/windshield-options.vue | 6 +++--- src/store/index.js | 7 ++----- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/common-components/base-input-button/base-input-button.spec.js b/src/common-components/base-input-button/base-input-button.spec.js index 37e553391..ed76b319d 100644 --- a/src/common-components/base-input-button/base-input-button.spec.js +++ b/src/common-components/base-input-button/base-input-button.spec.js @@ -473,8 +473,6 @@ describe.skip("baseInputButton.vue", () => { }); }); -// TODO KO look at how I tested groups of these in SFA (making sure selecting one radio changes the value, etc, that this acts like a regular input aside from a different emitted event) - function setupMocks({ mockData = {}, shouldShallowMount = true }) { const baseInputButtonWrapper = { components: { baseInputButton }, diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index 1b75e8d9d..45616f849 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -177,7 +177,6 @@ export default { } }, buttonsInfo() { - // TODO KO temporary. It should always just be an array return (Array.isArray(this.answers) ? this.answers : [])?.map( (answer) => ({ buttonLabel: answer.buttonLabel ?? answer.Text ?? answer, diff --git a/src/layouts/vehicle-damage/side-door-options/side-door-options.vue b/src/layouts/vehicle-damage/side-door-options/side-door-options.vue index 9af96c117..99f644d6f 100644 --- a/src/layouts/vehicle-damage/side-door-options/side-door-options.vue +++ b/src/layouts/vehicle-damage/side-door-options/side-door-options.vue @@ -57,7 +57,7 @@ export default ({ name: "sideDoorOptions", props: { groupName: String, - modelValue: [Array, Object], // TODO Does this take an array? + modelValue: Object, selectedDamageLocations: Array, cmsWidgetName: String, }, diff --git a/src/layouts/vehicle-damage/windshield-options/windshield-options.vue b/src/layouts/vehicle-damage/windshield-options/windshield-options.vue index 31b008760..8081bb2b2 100644 --- a/src/layouts/vehicle-damage/windshield-options/windshield-options.vue +++ b/src/layouts/vehicle-damage/windshield-options/windshield-options.vue @@ -57,8 +57,8 @@ defineRule("windshield-replace-options-required", required(errorMessages.WINSHIE defineRule("check-for-repair-and-replace", (selectedWindshieldDamageType, selectedDamageLocations) => { return selectedWindshieldDamageType.toString() != damageLocationsSelected.REPAIR || - (!selectedDamageLocations.includes(damageLocationsSelected.WINDSHIELD) && !selectedDamageLocations[0]?.includes(damageLocationsSelected.WINDSHIELD)) || - (selectedDamageLocations.length === 1 && selectedDamageLocations[0].length === 1); + (!selectedDamageLocations.includes(damageLocationsSelected.WINDSHIELD) && !selectedDamageLocations[0]?.includes(damageLocationsSelected.WINDSHIELD)) || + (selectedDamageLocations[0].length === 1); }); defineRule("repair-only", (value) => { return value.toString() === damageLocationsSelected.REPAIR; @@ -83,7 +83,7 @@ export default ({ }, props: { - modelValue: [Object, String], // TODO Does this take a string? + modelValue: Object, selectedDamageLocations: Array, hasRepairReplaceConflict: Boolean, hasSplitSingleConflict: Boolean, diff --git a/src/store/index.js b/src/store/index.js index 1d6e68482..8d2f6b309 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1044,11 +1044,8 @@ export const actions = { ); const isWindshieldRepairTheSame = isWindshieldRepair === context.state.order.damage.isRepair; - const isChipCountTheSame = Array.isArray(selectedWindshieldChipCount) //TODO: fix the underlying components so this is never an array - ? selectedWindshieldChipCount[0] === - context.state.order.damage.numberOfChips - : selectedWindshieldChipCount === - context.state.order.damage.numberOfChips; + + const isChipCountTheSame = selectedWindshieldChipCount === context.state.order.damage.numberOfChips; const isDamageChanging = !isGlassToReplaceTheSame || From bdefe442359f9f073fc4479508f11018eb109860 Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 17 Oct 2022 08:44:48 -0400 Subject: [PATCH 7/8] CSR-762 Fix back glass bug --- .../replace-options-question/replace-options-question.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue b/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue index d4da8cd1b..503c30cb8 100644 --- a/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue +++ b/src/layouts/vehicle-damage/replace-options-question/replace-options-question.vue @@ -25,7 +25,7 @@ export default ({ name: "replaceOptionsQuestion", data(){ return { - replaceOptions: [], + replaceOptions: this.isMultiSelect ? [] : "", } }, props: { @@ -46,7 +46,7 @@ export default ({ updateSelectedValues() { // UPDATE SELECTEDVALUES IF ONLY ONE ANSWER if(Array.isArray(this.answersToDisplay) && this.answersToDisplay.length === 1) { - this.selectedValues = [this.answersToDisplay[0].Name]; + this.selectedValues = this.isMultiSelect ? [this.answersToDisplay[0].Name] : this.answersToDisplay[0].Name; } }, }, @@ -91,7 +91,7 @@ export default ({ }, shouldDisplayReplaceOptionsQuestion(shouldDisplayReplaceOptionsQuestion) { if (!shouldDisplayReplaceOptionsQuestion) { - this.selectedValues = []; + this.selectedValues = this.isMultiSelect ? [] : ""; } } }, From 0e3b1d79b830ca15b05cd335a22c7fd273ea11aa Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 17 Oct 2022 09:36:19 -0400 Subject: [PATCH 8/8] CSR-762 Remove redundant property' --- .../base-input-button/base-input-button.vue | 11 ++++------- .../base-input-button/button-functionality-props.js | 4 ++-- .../button-question/button-question.vue | 5 ----- .../vehicle-make/make-question/make-question.vue | 1 - .../vehicle-model/model-question/model-question.vue | 1 - .../vehicle-style/style-question/style-question.vue | 1 - .../vehicle-year/year-question/year-question.vue | 1 - src/mixins/analytics-mixin.js | 1 - 8 files changed, 6 insertions(+), 19 deletions(-) diff --git a/src/common-components/base-input-button/base-input-button.vue b/src/common-components/base-input-button/base-input-button.vue index 0792333a6..71da03d85 100644 --- a/src/common-components/base-input-button/base-input-button.vue +++ b/src/common-components/base-input-button/base-input-button.vue @@ -26,10 +26,7 @@ import { useField } from "vee-validate"; import { toRef } from "vue"; import { queryStrings } from "@/constants/query-strings"; -import { - handleInputFocus, - handleInputBlur, -} from "@/helpers/analytics-helper"; +import { handleInputFocus, handleInputBlur } from "@/helpers/analytics-helper"; import { inputButtonProps } from "@/common-components/base-input-button/button-functionality-props"; export default { @@ -72,9 +69,9 @@ export default { ); break; case this.eventTypes.CHANGE: - this.selectOnKeypress - ? this.handleClick(e) - : this.handleSelectionChange(e); + this.selectingInitiatesLoad + ? this.handleSelectionChange(e) + : this.handleClick(e); break; } } diff --git a/src/common-components/base-input-button/button-functionality-props.js b/src/common-components/base-input-button/button-functionality-props.js index 9bc6aeb25..b9a63c925 100644 --- a/src/common-components/base-input-button/button-functionality-props.js +++ b/src/common-components/base-input-button/button-functionality-props.js @@ -23,8 +23,8 @@ export const inputButtonProps = { }, lastValuePushedToGa: [String, Number], setLastValuePushedToGa: Function, - selectOnKeypress: { + selectingInitiatesLoad: { type: Boolean, - default: true, + default: false, }, } \ No newline at end of file diff --git a/src/common-components/button-question/button-question.vue b/src/common-components/button-question/button-question.vue index 45616f849..56ab5abd7 100644 --- a/src/common-components/button-question/button-question.vue +++ b/src/common-components/button-question/button-question.vue @@ -49,7 +49,6 @@ :isWide="isWide" :validationRules="validationRules" :textPosition="textPosition" - :selectOnKeypress="selectOnKeypress" :lastValuePushedToGa="lastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa" v-model="selectedValues" @@ -117,10 +116,6 @@ export default { suppressError: Boolean, useTextForValue: Boolean, valueToLogType: String, - selectOnKeypress: { - type: Boolean, - default: true, - }, }, data() { return { diff --git a/src/layouts/vehicle-make/make-question/make-question.vue b/src/layouts/vehicle-make/make-question/make-question.vue index c2a7cd2d2..28246814f 100644 --- a/src/layouts/vehicle-make/make-question/make-question.vue +++ b/src/layouts/vehicle-make/make-question/make-question.vue @@ -8,7 +8,6 @@ groupName="ChooseVehicleMake" textPosition="text-start" v-model="selectedValue" - :selectOnKeypress="false" isRequired /> diff --git a/src/layouts/vehicle-model/model-question/model-question.vue b/src/layouts/vehicle-model/model-question/model-question.vue index 393df6fc9..bc20bdc6a 100644 --- a/src/layouts/vehicle-model/model-question/model-question.vue +++ b/src/layouts/vehicle-model/model-question/model-question.vue @@ -8,7 +8,6 @@ groupName="ChooseVehicleModel" textPosition="text-start" v-model="selectedValue" - :selectOnKeypress="false" isRequired /> diff --git a/src/layouts/vehicle-style/style-question/style-question.vue b/src/layouts/vehicle-style/style-question/style-question.vue index bf8fd3d07..806f7ac41 100644 --- a/src/layouts/vehicle-style/style-question/style-question.vue +++ b/src/layouts/vehicle-style/style-question/style-question.vue @@ -8,7 +8,6 @@ groupName="ChooseVehicleStyle" textPosition="text-start" v-model="selectedValue" - :selectOnKeypress="false" isRequired /> diff --git a/src/layouts/vehicle-year/year-question/year-question.vue b/src/layouts/vehicle-year/year-question/year-question.vue index 06af5ce64..6851f282c 100644 --- a/src/layouts/vehicle-year/year-question/year-question.vue +++ b/src/layouts/vehicle-year/year-question/year-question.vue @@ -8,7 +8,6 @@ groupName="ChooseVehicleYear" textPosition="text-start" v-model="selectedValue" - :selectOnKeypress="false" isRequired /> diff --git a/src/mixins/analytics-mixin.js b/src/mixins/analytics-mixin.js index 4ff24f968..e773c6a01 100644 --- a/src/mixins/analytics-mixin.js +++ b/src/mixins/analytics-mixin.js @@ -49,7 +49,6 @@ export default { const currentPageName = getPageNameByQueryString(); const labelToLog = getValueToLog(label, valueToLogType); - console.log("PUSHING: ", labelToLog) const eventToBePushed = { 'event': GaEvents.GENERIC_EVENT, 'category': category,