public class PageViewStatisticsImpl extends java.lang.Object implements PageViewStatistics
URL
to be called for tracking page-views. Contains
convenience for the running of the impression statistics. Is a hook to add
possible access to remote reports.PageViewStatistics
Constructor and Description |
---|
PageViewStatisticsImpl() |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getTrackingURI()
Get the URI that is supposed to receive tracking data from this instance.
|
java.net.URL |
getTrackingURL()
Get the URL that is supposed to receive tracking data from this instance
|
java.lang.Object[] |
report(Page page)
Run a report for the given page
|
public java.net.URL getTrackingURL()
PageViewStatistics
getTrackingURL
in interface PageViewStatistics
null
if none configuredPageViewStatistics.getTrackingURL()
public java.net.URI getTrackingURI()
PageViewStatistics
getTrackingURI
in interface PageViewStatistics
null
if none configuredPageViewStatistics.getTrackingURL()
public java.lang.Object[] report(Page page) throws WCMException
PageViewStatistics
report
in interface PageViewStatistics
page
- to reportnull
if none at allWCMException
- in case of error running reportPageViewStatistics.report(com.day.cq.wcm.api.Page)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"