Class FormPageTrackingUtils

java.lang.Object
com.avoka.fc.core.page.FormPageTrackingUtils

public class FormPageTrackingUtils extends Object
Provides utility method to render 3rd party form page tracking content.
  • Constructor Details

    • FormPageTrackingUtils

      public FormPageTrackingUtils()
  • Method Details

    • renderContent

      public static String renderContent(Form form, HttpServletRequest request)
      Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.
      Parameters:
      form - the form entity (required)
      request - the servlet request (required)
      Returns:
      the rendered 3rd party form page tracking content, or null if not defined or not enabled
    • renderContent

      public static String renderContent(Form form, HttpServletRequest request, Submission submission)
      Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.
      Parameters:
      form - the form entity (required)
      request - the servlet request (required)
      submission - the form submission (optional)
      Returns:
      the rendered 3rd party form page tracking content, or null if not defined or not enabled
      Since:
      4.1.0