Skip to content

Commit 3285513

Browse files
Change react-ga to react-ga4
Update the trackingId to GA4
1 parent 2650c69 commit 3285513

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

client/package-lock.json

+9-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/components/analytics/GoogleAnalytics.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class GoogleAnalytics extends React.Component {
5454
},
5555
profileNames
5656
)
57-
ReactGA.send({ hitType: 'pageview', page: page, title: 'Custom Title' });
57+
ReactGA.send({hitType: 'pageview', page: page})
5858
}
5959

6060
render() {

helm/onestop-search/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ config: |-
3030
ui:
3131
googleAnalytics:
3232
profiles:
33-
- trackingId: '358541492'
33+
- trackingId: 'G-KEMM0XXW30'
3434
gaOptions:
35-
name: 358541492
35+
name: KEMM0XXW30
3636
reactGaOptions:
3737
alwaysSendToDefaultTracker: false
3838
features:

0 commit comments

Comments
 (0)