Skip to content

Commit

Permalink
feat: 모니터링 이벤트 달기
Browse files Browse the repository at this point in the history
  • Loading branch information
sumi-0011 committed Dec 11, 2024
1 parent 7705624 commit ee80d2d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { wrap } from '@suspensive/react';
import { useSuspenseQuery } from '@tanstack/react-query';

import { useDialog } from '@/components/GlobalComponent/useDialog';
import { trackEvent } from '@/lib/analytics';
import { customScrollStyle } from '@/styles/scrollStyle';
import { useClientUser } from '@/utils/clientAuth';
import { getPersonaImage } from '@/utils/image';
Expand Down Expand Up @@ -50,6 +51,10 @@ const PersonaList = wrap

const totalPrice = res.success.reduce((acc, curr) => acc + curr.givenPoint, 0);

trackEvent('laboratory', {
type: '레벨, 타입 같은 펫 한번에 팔기',
});

showDialog({
title: '펫 판매 완료',
description: (
Expand Down

0 comments on commit ee80d2d

Please sign in to comment.