Skip to main content
Solved

tracking number of sessions without consent

  • January 12, 2023
  • 1 reply
  • 560 views

Tatiana
Helpful Hero
Forum|alt.badge.img+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

 

Best answer by eddie.gaona

@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.

View original
Did this topic help you find an answer to your question?

eddie.gaona
Team Member
Forum|alt.badge.img+9
  • Amplitude Support
  • January 17, 2023

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings