diff --git a/src/sider/sokperson/SokPerson.tsx b/src/sider/sokperson/SokPerson.tsx index 1251bfcc..799ccc94 100644 --- a/src/sider/sokperson/SokPerson.tsx +++ b/src/sider/sokperson/SokPerson.tsx @@ -59,6 +59,16 @@ const texts = { error: 'Noe gikk galt under søket. Vennligst prøv igjen.', }; +function logHelpTextClick(text: string) { + Amplitude.logEvent({ + type: Amplitude.EventType.ButtonClick, + data: { + url: window.location.href, + tekst: text, + }, + }); +} + function logSokPersonEvent() { Amplitude.logEvent({ type: Amplitude.EventType.ButtonClick, @@ -89,7 +99,10 @@ function InitialerLabel() { return (