Skip to content

Commit

Permalink
fjern sidevisning metrikk (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjas authored Aug 14, 2023
1 parent 9f3e87b commit d035688
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
14 changes: 0 additions & 14 deletions src/metrics/PageViewMetricCollector.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/metrics/amplitude-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export const logAmplitudeEvent = (eventName: string, data?: { [key: string]: Eve
});
};

export const loggSidevisning = (pathname: string): void => {
logAmplitudeEvent('sidevisning', { path: pathname });
};

export const loggKlikk = (eventType: string, verdi?: string, status?: string) => {
logAmplitudeEvent('klikk', { eventType, verdi, status });
};
2 changes: 0 additions & 2 deletions src/view/AppBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Outlet } from 'react-router';
import { v4 as uuidv4 } from 'uuid';

import loggEvent from '../felleskomponenter/logging';
import { PageViewMetricCollector } from '../metrics/PageViewMetricCollector';
import { Bruker, OppfolgingData } from '../utils/Typer';
import { useUserInfoContext } from './BrukerProvider';
import { DialogHeader } from './dialog/DialogHeader';
Expand Down Expand Up @@ -63,7 +62,6 @@ const AppBody = () => {
<Outlet />
</div>
</div>
<PageViewMetricCollector />
<EventHandler />
</div>
);
Expand Down

0 comments on commit d035688

Please sign in to comment.