feat: 配置 GA

This commit is contained in:
qier222 2022-04-16 13:31:05 +08:00
parent 4c625b172c
commit 97233bc750
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
3 changed files with 5 additions and 4 deletions

View file

@ -8,6 +8,9 @@ import 'virtual:svg-icons-register'
import './styles/global.scss'
import App from './App'
import pkg from '../../package.json'
import ReactGA from 'react-ga4'
ReactGA.initialize('G-KMJJCFZDKF')
Sentry.init({
dsn: 'https://7cc7879b42ba4bed9f66fb6752558475@o436528.ingest.sentry.io/6274630',