@Service 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()
PageViewStatisticsgetTrackingURL in interface PageViewStatisticsnull if none configuredPageViewStatistics.getTrackingURL()public java.net.URI getTrackingURI()
PageViewStatisticsgetTrackingURI in interface PageViewStatisticsnull if none configuredPageViewStatistics.getTrackingURL()public java.lang.Object[] report(Page page) throws WCMException
PageViewStatisticsreport in interface PageViewStatisticspage - to reportnull if none at allWCMException - in case of error running reportPageViewStatistics.report(com.day.cq.wcm.api.Page)Copyright © 2010 - 2023 Adobe. All Rights Reserved