Solved

If event sent anonymous (via http curl) can we later set a session id ?

  • 18 August 2022
  • 2 replies
  • 103 views

Userlevel 2
Badge +1

If event sent anonymous (via http curl) can we later set a session id ? as session id for ( via http events ) are -1 by default 

icon

Best answer by eddie.gaona 18 August 2022, 23:33

View original

2 replies

Userlevel 5
Badge +9

Hello @pawan thank you for reaching out!

Currently, data that has already been ingested into Amplitude cannot be modified so you would not be able to add a Session ID to them. However, you can set the Session ID for events moving forward by following the documentation in the HTTP API v2, here.

 

However, if you have sent another time stamp to track sessions you can make that the Session ID parameter and this will apply retroactively. More information on this can be found, here.

Userlevel 2
Badge +1

hi @eddit.gaona  

so how do i merge those event with the events which are sent right after this..

 

Reply