Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Oct 3, 2024
1 parent 095f459 commit fdbec73
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cookie-manager/react/src/lib/app/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,14 @@ export function useUpdatePathGA(forceConfig?: UseUpdatePathGAProps): (pathname:
return (pathname: string) => {
if (pathname) {
if (!googleAnalytics4Id && !googleAnalyticsUniversalId && currentService) {
// eslint-disable-next-line no-console
console.log('currentService.id', currentService.id)
updatePathGA(currentService.id, pathname)
} else {
if (
googleAnalyticsUniversalId &&
isServiceEnabled(SupportedService.GoogleAnalyticsUniversal)
) {
// eslint-disable-next-line no-console
console.log('googleAnalyticsUniversalId', googleAnalyticsUniversalId)
updatePathGA(googleAnalyticsUniversalId, pathname)
} else if (googleAnalytics4Id && isServiceEnabled(SupportedService.GoogleAnalytics4)) {
// eslint-disable-next-line no-console
console.log('googleAnalytics4Id', googleAnalytics4Id)
updatePathGA(googleAnalytics4Id, pathname)
}
}
Expand Down

0 comments on commit fdbec73

Please sign in to comment.