adjust-icon

Configure session parameters

If you register a callback URL in the Adjust dashboard, Adjust sends a GET request to your callback URL when the SDK measures a session.

Session callback parameters

You can configure callback parameters to your servers. Once you configure parameters on an event, the SDK appends them to your callback URL. You can use this information to analyze your users’ in-app behavior with your BI system.

Add session callback parameters

Method signature
public static void AddSessionCallbackParameter(string key, string value);

Add callback parameters to your event by calling the AddSessionCallbackParameter method with string key-value arguments. You can add multiple parameters by calling this method multiple times.

Adjust.AddSessionCallbackParameter("key", "value");

Remove session callback parameters

Method signature
public static void RemoveSessionCallbackParameter(string key);

You can remove specific session callback parameters if they’re no longer required. To do this, pass the parameter key to the RemoveSessionCallbackParameter method.

Adjust.RemoveSessionCallbackParameter("key");

Reset session callback parameters

Method signature
public static void ResetSessionCallbackParameters();

You can remove all session parameters if they’re no longer required. To do this, call the ResetSessionCallbackParameters method.

Adjust.ResetSessionCallbackParameters();

Session partner parameters

You can send extra information to your network partners by adding partner parameters.

Adjust sends partner parameters to external partners you’ve set up. This information is useful for more granular analysis and retargeting purposes. Adjust’s servers forward these parameters once you’ve set them up and enabled them for a partner.

Add session partner parameters

Method signature
public static void AddSessionPartnerParameter(string key, string value);

Send partner parameters with your session by calling the AddSessionPartnerParameter method with string key-value arguments. You can add multiple parameters by calling this method multiple times.

Adjust.AddSessionPartnerParameter("key", "value");

Remove session partner parameters

Method signature
public static void RemoveSessionPartnerParameter(string key);

You can remove specific session partner parameters if they’re no longer required. To do this, pass the parameter key to the RemoveSessionPartnerParameter method.

Adjust.RemoveSessionPartnerParameter("key");

Reset session partner parameters

Method signature
public static void ResetSessionPartnerParameters();

You can remove all session partner parameters if they’re no longer required. To do this, call the ResetSessionPartnerParameters method.

Adjust.ResetSessionPartnerParameters();

Delay start

The Adjust SDK starts as soon as your app opens. If you want to send data that isn’t available at launch in session parameters, you can delay the start of the SDK. To do this, assign a delay time in seconds to the DelayStart property on your config object.

adjustConfig.DelayStart = TimeSpan.FromSeconds(5.5);

After this time has elapsed, the SDK sends the information to Adjust’s servers. You can send the information before the timeout by calling the SendFirstPackages method.

Adjust.SendFirstPackages()