Interface AnalyticsPageNameResolver
The
AnalyticsPageNameResolver service can be used to generate the
Analytics pageName based on Framework mappings or other context data.
It's mostly used by back-end processes that need the pageName to run reports
against Analytics.-
Method Summary
Modifier and TypeMethodDescriptiongetPageName(AnalyticsPageNameContext context) Called when pageName for a resource is requested.getResource(AnalyticsPageNameContext context) Called when theResourcefor a given pageName is requested.
-
Method Details
-
getPageName
Called when pageName for a resource is requested. SeeAnalyticsPageNameProviderfor providing your own pageName resolution- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the generated pageName
-
getResource
Called when theResourcefor a given pageName is requested. SeeAnalyticsPageNameProviderfor providing your own pageName resolution- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the resource that matches the pageName provided viaAnalyticsPageNameContext
-