StoreServicesEngagementManager.ParseArgumentsAndTrackAppLaunch(String) Method

Definition

Notifies Partner Center that your app was launched in response to a targeted push notification from Partner Center, and returns the original launch arguments for your app.

public:
 virtual Platform::String ^ ParseArgumentsAndTrackAppLaunch(Platform::String ^ launchArguments) = ParseArgumentsAndTrackAppLaunch;
winrt::hstring ParseArgumentsAndTrackAppLaunch(winrt::hstring const& launchArguments);
public string ParseArgumentsAndTrackAppLaunch(string launchArguments);
function parseArgumentsAndTrackAppLaunch(launchArguments)
Public Function ParseArgumentsAndTrackAppLaunch (launchArguments As String) As String

Parameters

launchArguments
String

Platform::String

winrt::hstring

The launch arguments that were passed to your app, including an opaque tracking ID that is used by Partner Center to track the launch of your app.

Returns

String

Platform::String

winrt::hstring

The original launch arguments that were passed to your app, stripped of the opaque tracking ID that helps Partner Center track the launch of the app.

Remarks

If you select the Track app launch rate option for a targeted push notification that you create in Partner Center, use the ParseArgumentsAndTrackAppLaunch method to notify Partner Center that your app was launched in response to a push notification.

Before you can use this method in your code, you must first install the Microsoft Store Services SDK and add a reference to the Microsoft Engagement Framework to your project. For more guidance about how to use this method, including a code example, see Configure your app for targeted push notifications.

Applies to

See also