Skip to content

Commit

Permalink
πŸ“ˆ Add home-page-view event
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 14, 2024
1 parent a582a86 commit a2c2c6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -944,6 +944,7 @@ export default {
},
},
mounted() {
logRetailEvent(this, 'home-page-view');
window.addEventListener('scroll', this.handleScroll);
},
beforeDestroy() {
Expand Down

0 comments on commit a2c2c6f

Please sign in to comment.