Package com.avoka.fc.core.page
Class FormPageTrackingUtils
java.lang.Object
com.avoka.fc.core.page.FormPageTrackingUtils
Provides utility method to render 3rd party form page tracking content.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
renderContent
(Form form, jakarta.servlet.http.HttpServletRequest request) Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.static String
renderContent
(Form form, jakarta.servlet.http.HttpServletRequest request, Submission submission) Return the rendered 3rd party form page tracking content, using the forms pageTrackingContent.
-
Constructor Details
-
FormPageTrackingUtils
public FormPageTrackingUtils()
-
-
Method Details
-
renderContent
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, jakarta.servlet.http.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
-