Skip to content

Commit

Permalink
[feat] gta -> ga 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
euije committed Mar 15, 2024
1 parent b6396b7 commit a7cbd71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/event/university/Booth/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
GOOGLE_PLAY_URL,
LANDING_PAGE_URL,
} from '@/util/string';
import { sendGTMEvent } from '@next/third-parties/google';
import { sendGTMEvent, sendGAEvent } from '@next/third-parties/google';
import { useSearchParams } from 'next/navigation';
import React, { Suspense, useEffect } from 'react';
import { isAndroid, isIOS } from 'react-device-detect';
Expand Down Expand Up @@ -38,8 +38,7 @@ const GTMComponent = () => {
platform = 'others';
redirectTo = LANDING_PAGE_URL;
}
sendGTMEvent({
event: 'redirect',
sendGAEvent('event', 'redirect', {
id: params.get('id'),
platform: platform,
from: document.referrer,
Expand Down

0 comments on commit a7cbd71

Please sign in to comment.