FeedAnalyticsInfoReportedArgs.AnalyticsJson Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.