Hello Kentico Team,You all helped me put together a tool recently that can track total page views in the last month and the last year using the WebAnalytics API:@%# CMS.WebAnalytics.HitsInfoProvider.GetObjectHitCount(
CMS.SiteProvider.SiteContext.CurrentSiteID,
EvalInteger(@NodeID@),
CMS.WebAnalytics.HitsIntervalEnum.Month,
@pageviews@,
DateTime.Now.AddDays(-60),
DateTime.Now) %@
However, this same code does not return any information when applied to CMSFile items. Is there a similar API I can use in a transformation to get the number of downloads for a file in the tree? Total downloads is fine, but being able to adjust it by a date range like in the example above would be ideal.Thanks in advance.-mike
↧