OverviewServicesGetAnalyticsTrafficData Method
|
Retrieves summary of traffic source information on Analytics data of specific publishing target
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<PubTargetAnalyticsData> GetAnalyticsTrafficData(
string pubTargetId
)
Public Function GetAnalyticsTrafficData (
pubTargetId As String
) As XHRServiceResponseGeneric(Of PubTargetAnalyticsData)
public:
virtual XHRServiceResponseGeneric<PubTargetAnalyticsData^>^ GetAnalyticsTrafficData(
String^ pubTargetId
) sealed
abstract GetAnalyticsTrafficData :
pubTargetId : string -> XHRServiceResponseGeneric<PubTargetAnalyticsData>
override GetAnalyticsTrafficData :
pubTargetId : string -> XHRServiceResponseGeneric<PubTargetAnalyticsData>
Parameters
- pubTargetId
- Type: SystemString
Id of publishing target to retrieve Analytic data for
Return Value
Type:
XHRServiceResponseGenericPubTargetAnalyticsDataAnalytics traffic numbers
Examples Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"Error": null,
"Id": "PublishingTargets/1",
"Info": [
{
"Name": "Pageviews",
"Value": "10,741"
},
{
"Name": "Uniques Views",
"Value": "9,295"
},
{
"Name": "Entrances",
"Value": "5,641"
},
{
"Name": "Bounce Rate",
"Value": "68.4%"
},
{
"Name": "Average Session Duration",
"Value": "70.88s"
}
],
"Name": "Production"
}
}
Remarks If publishing target doesn't exist, error will be returned.
If publishing target doesn't have analytics enabled, all values will be 0
See Also