Interface ExperienceLogConfig


@ProviderType public interface ExperienceLogConfig
Provides information about the experience log configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the URL of the tracking script used to log the experience.
    boolean
    Returns true if experience log functionality is enabled or false otherwise.
  • Method Details

    • isEnabled

      boolean isEnabled(SlingHttpServletRequest request)
      Returns true if experience log functionality is enabled or false otherwise.
      Parameters:
      request - SlingHttpServletRequest
      Returns:
      true if the tracking is enabled for the given request, false otherwise
    • getTrackingScript

      String getTrackingScript()
      Returns the URL of the tracking script used to log the experience.
      Returns:
      the URL of the tracking script.