Class: ListSignupFormDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- ListSignupFormDrop
- Includes:
- GdprCheckboxDropConcerns
- Defined in:
- app/drops/list_signup_form_drop.rb
Overview
Represents the form produced from a list signup theme setting.
Instance Method Summary collapse
-
#fields ⇒ Array<FormFieldDrop>
Returns the fields that you've selected for rendering.
-
#fields_count ⇒ Integer
Returns the number of fields that you've selected for rendering.
- #list_name ⇒ String
- #needs_gdpr_consent? ⇒ Boolean
-
#split_test_page_id ⇒ String
deprecated
Deprecated.
-
use AppDrop#split_test_page_id
-
-
#tracking_params ⇒ Hash<String, String>
Returns a hash of tracking params that you can iterate over using for loops.
-
#url ⇒ String
Returns the URL that the signup form should submit to.
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#fields ⇒ Array<FormFieldDrop>
Returns the fields that you've selected for rendering
#fields_count ⇒ Integer
Returns the number of fields that you've selected for rendering
#list_name ⇒ String
#needs_gdpr_consent? ⇒ Boolean
#split_test_page_id ⇒ String
-
use AppDrop#split_test_page_id
#tracking_params ⇒ Hash<String, String>
Returns a hash of tracking params that you can iterate over using for loops. The key will be the name of the tracking param (e.g keyword, source, medium, etc) and the value would be the current value for that param.
You can use this to add hidden input fields to a list signup form so the tracking params are sent in case the form submits to a different domain.
#url ⇒ String
Returns the URL that the signup form should submit to