Class: ListSignupFormDrop

Inherits:
Liquid::Simplero::Drop show all
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

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#fieldsArray<FormFieldDrop>

Returns the fields that you've selected for rendering

Returns:

#fields_countInteger

Returns the number of fields that you've selected for rendering

Returns:

  • (Integer)

#list_nameString

Returns:

  • (String)

#needs_gdpr_consent?Boolean

Returns:

  • (Boolean)

#split_test_page_idString

Deprecated.
  • use AppDrop#split_test_page_id

Returns:

  • (String)

#tracking_paramsHash<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.

Returns:

  • (Hash<String, String>)

#urlString

Returns the URL that the signup form should submit to

Returns:

  • (String)