how to merge -1 session id events with others
I had a similar question a while ago ( on pathfinder with no end session events) and here’s the response I got from the support team which might help you :
“Since the events don't have a session ID (session ID = -1), the Pathfinder chart returns results as if all of the events belong to one giant super session. So, the returned paths may span more than one actual user session. Pathfinder adds Start Session & End Session events to the start and end of the paths that it returns because with an absent session ID, it cannot determine where these events should be placed. So with Pathfinder and events with session ID = -1, results will populate, and the result may not be accurate.”
Hey pawan
Since these events are coming with -1 as session id, they are out-of-session events. From what I understand, you want to include and merge them as in-session events?
You can try to use the custom session property option and see if that suits your use case.
hey thanks but i like to keep the session definition of amplitude as it is,
my question is if i send events with same user_id after those -1 session events then will it show in same journey path (under one user_id path) right ?
Hi pawan ! If you are referring to the Pathfinder chart, then yes Pathfinder returns results as if all of the events belong to one giant super session. So, the returned paths may span more than 1 actual user session. As mentioned in our documentation, Pathfinder results will not be accurate if session_id is -1 especially if you are looking for session-based analysis.
If your session ID is -1, then this is how it will impact the following charts:
If you are referring to a Funnel chart and holding session id constant, then yes, if you send events with same user_id and -1 session id then all of the -1 session id events will be counted in the same funnel path under that user_id.
Thanks for detailed explanation, see this is my scenario i have an event called video_played which i send when i play video
now business question is - How many videos does an individual play (in a session and across sessions)
now which chart will be most relevant for this ?
I think the User Session chart’s Count Events performed within sessions should help in that -
https://analytics.amplitude.com/demo/chart/new/tpj28b9
Why session Id is added as -1? How should i bring the correct session_id to tag the user events on specific session?could some one help here to implement
I am running into a loop when attempting to import data from BigQuery. At origin, my data is already in milliseconds since epoch. If I query: event_time as time, I get the error: 1.'time' column should be a TIMESTAMP_NTZ column (Snowflake) or a TIMESTAMP column (BigQuery). example for the type of 'time' column is…
How do I transfer data from one amplitude account to another? It seems all the community chats about this have completely broken links. Easy to export, no way to import, very frustrating. :(
When using @amplitude/plugin-web-vitals-browser with Create React App v4 (react-scripts@4.0.3), the build fails with: ./node_modules/@amplitude/plugin-web-vitals-browser/node_modules/web-vitals/dist/web-vitals.js<br /><br />SyntaxError:…
Hello, I'm using SpringBoot and Kotlin to integrate with the Amplitude Export API. The official Amplitude documentation (https://amplitude.com/docs/apis/analytics/export) states that "data is available to export at a minimum within 2 hours of when the servers received it." However, there's no clear information about the…
Hello, Is there a way to make a query like: “Give me all the users that have the user property X equal to 10”, by using just any of the APIs, without making a cohort first through the Amplitude’s UI? Thank you!