Solved

tracking number of sessions without consent

  • 12 January 2023
  • 1 reply
  • 224 views

Userlevel 2
Badge +1

Hello Amplitude community, 

I am looking for your advices for how to track number of sessions without having users’ consent to collect their data?. 

We do not need any context or relation of the sessions with any other data. We only need to know the absolute number of sessions of users reaching the website and the app. 
 

  1. is it possible to track number of sessions without having users’ consent to collect their data? and how?
  2. does Amplitude only track sessions if a user_id is generated/provided?
  3. would HTTP API implementation support us to track the absolute number of sessions?

​​​​​​​


looking forward for your suggestions, thanks in advance

 

icon

Best answer by eddie.gaona 17 January 2023, 23:49

View original

1 reply

Userlevel 5
Badge +9

@Tatiana To my understanding you want to track sessions but not track any events/properties when the user does not consent to cookies.

In this case when a user does not consent you can still use the SDK to track events but you will need to disable cookies and the SDK will fallback to using LocalStorage as desribed, here. The SDK will still be able to track sessions, events, and identification of the user.

Reply