Skip to content

Commit

Permalink
disable amplitude cookie og ip tracking
Browse files Browse the repository at this point in the history
dette mht ny ekomlovgivning
  • Loading branch information
kenglxn committed Dec 20, 2024
1 parent 340d4a5 commit 566b83b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/utils/amplitude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ const createAmpltiudeInstance = (): AmplitudeInstance => {
.init(getApiKey(), undefined, {
serverUrl: 'https://amplitude.nav.no/collect',
useBatch: false,
autocapture: {
attribution: true,
fileDownloads: false,
formInteractions: false,
pageViews: true,
sessions: true,
elementInteractions: false,
autocapture: false,
identityStorage: 'localStorage',
trackingOptions: {
ipAddress: false,
},
})
.promise.catch((error) => {
Expand Down

0 comments on commit 566b83b

Please sign in to comment.