Session callbacks

Adjust servers trigger a session callback on every in-app session. We trigger a new session callback when a user opens the app after 30 minutes of inactivity.

The callback parameter for session callbacks is session_callback.

Note:
Installs and reattributions are counted as sessions in Adjust, but not in raw data exports.
Important:
If you're using Branded Links or Universal Links, you must prefix the callback parameter with adj_. Use adj_session_callback for the session_callback parameter.

Recommended placeholders

PlaceholderDescriptionExample
{last_session_time}Last session timestamp1522835836
{session_count}Number of sessions recorded by the current Adjust SDK34
{lifetime_session_count}Number of sessions recorded across a user's lifetime185
Note:
If placeholder data is not available, it will be dropped from the callback.

Session callback example

Tip:
If you have not integrated with Campaign Lab, use the Encoding tool to encode your callbacks and generate the final encoded URL. If you have any questions, contact us at integration@adjust.com.
Callback URL with placeholdersUnencoded (Do not use as is)
Callback URL populated with values
https://mynetworkserver.com/mobile_attribution?gps_adid={gps_adid}&idfa={idfa}&tracker_name={link_name}&app_name={app_name}&activity_kind={activity_kind}&created_at={created_at}&last_session_time={last_session_time}&session_count={session_count}&lifetime_session_count={lifetime_session_count}