From a2c2c6f86cd901db6aec1896139a248522b7ee38 Mon Sep 17 00:00:00 2001 From: William Chong Date: Thu, 14 Nov 2024 05:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20Add=20home-page-view=20event?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index 5a468ddd5..cc36f398b 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -756,7 +756,7 @@ import { Swiper, SwiperSlide } from 'vue-awesome-swiper'; import bookstoreMixin from '~/mixins/bookstore'; -import { logTrackerEvent } from '~/util/EventLogger'; +import { logTrackerEvent, logRetailEvent } from '~/util/EventLogger'; import { fisherShuffle } from '~/util/misc'; const SIGNATURE_BANNER_NAMES = [ @@ -944,6 +944,7 @@ export default { }, }, mounted() { + logRetailEvent(this, 'home-page-view'); window.addEventListener('scroll', this.handleScroll); }, beforeDestroy() {