Skip to content

Commit

Permalink
Implementing GA4 for production
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpmoraes committed Feb 6, 2025
1 parent 45a27be commit 20d0a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/auth/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { trackEvent } from '../components/ga4'

export const oktaAuth = new OktaAuth({
issuer: 'https://nubank.okta.com/oauth2/default',
clientId: '0oa20ehmjv97g8jZP0h8',
clientId: '0oa20d6n6jb6nG5Mn0h8',
redirectUri: window.location.origin + '/login/callback',
pkce: true,
scopes: ['openid', 'profile', 'email'],
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/ga4.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ReactGA from 'react-ga4';

const initializeGA = () => {
ReactGA.initialize('G-ZVKMSGZ7J4');
ReactGA.initialize('G-P254VPC8VX');
};

const trackPageView = () => {
Expand Down

0 comments on commit 20d0a92

Please sign in to comment.