Package com.avoka.fc.core.page
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 Summary
Constructors Constructor Description FormPageTrackingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
renderContent(Form form, HttpServletRequest request)
Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.static String
renderContent(Form form, HttpServletRequest request, Submission submission)
Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.
-
-
-
Method Detail
-
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
-
-