Share via


FeedAnalyticsInfoReportedArgs.AnalyticsJson Property

Definition

Gets a JSON string describing the user interaction that triggered the analytics event.

public:
 property Platform::String ^ AnalyticsJson { Platform::String ^ get(); };
winrt::hstring AnalyticsJson();
public string AnalyticsJson { get; }
var string = feedAnalyticsInfoReportedArgs.analyticsJson;
Public ReadOnly Property AnalyticsJson As String

Property Value

String

Platform::String

winrt::hstring

A JSON string.

Remarks

The JSON string returned by this property uses the following format:

{
"host": "dashboard.microsoft.com",
"version": "1.0",
"feedId": "{feedDefinitionId}",
"eventKind": "visibility",
"visibilityKind": "visible",
"currentAnnouncement":
{
    "id": "{currentAnnouncementId}"
},
"missedAnnouncements":
[
    {
        "id": "{missedAnnouncementId1}"
    },
    {
        "id": "{missedAnnouncementId2}"
    }
]
}

Starting with Windows App SDK 1.6, the analytics JSON payload may contain a currentAnnouncement or missedAnnouncement objects specifying the Id property value of announcements sent from the widget provider with calls to FeedManager.TryShowAnnouncement.

Applies to