ActiveCampaign Feed Meta

Introduction

The Feed Object meta for the ActiveCampaign add-on is an associative array containing the properties which determine how the add-on should process the form submission.

$feed['meta'] = array(
	'feed_name'                               => 'Your Feed Name',
	'fields_email'                            => '1',
	'fields_first_name'                       => '2.3',
	'fields_last_name'                        => '2.6',
	'feed_condition_conditional_logic'        => true,
	'feed_condition_conditional_logic_object' => array(
		'conditionalLogic' => array(),
	),
);

Usage

We recommend accessing the $feed meta using the rgar() or rgars() functions, e.g.:

$conditional_logic_enabled = rgars( $feed, 'meta/feed_condition_conditional_logic' );

Properties

  • feed_name string

    The feed name which appears on the add-ons feeds tab.

  • list string

    The ID of the ActiveCampaign List this feed will subscribe the user to when processed.

  • fields_email string

    The ID of the field containing the user’s email address. Required.

  • fields_first_name string

    The ID of the field containing the user’s first name.

  • fields_last_name string

    The ID of the field containing the user’s last name.

  • fields_phone string

    The ID of the field containing the user’s phone number.

  • fields_orgname string

    The ID of the field containing the user’s organization name.

  • fields_tags string

    The ID of the field containing the tags. This setting was removed in ActiveCampaign 1.2.

  • custom_fields array

    A multidimensional array containing the ActiveCampaign custom fields. See Custom Field Properties.

  • tags string

    A comma seperated list of tags. Merge tags are supported. This setting was added in ActiveCampaign 1.2.

  • double_optin_form string

    The ID of the ActiveCampaign form which will be used when exporting to ActiveCampaign to send the opt-in email.

  • instant_responders boolean

    Should ActiveCampaign send any instant responders setup when the contact is added to the list. This option is not available to users on a free trial. Default is false.

  • last_message boolean

    Should ActiveCampaign send the last campaign sent out to the list to the contact being added. This option is not available to users on a free trial. Default is false.

  • feed_condition_conditional_logic boolean

    Is the feed condition (conditional logic) setting enabled. Default is false.

  • feed_condition_conditional_logic_object array

    An associative array containing the conditional logic rules. See the Conditional Logic Object for more details.

Custom Field Properties

array(
    'key'   => '1',
    'value' => 'date_created',
)

Each custom field is an associative array containing the following properties:

  • key integer

    The ActiveCampaign custom field ID.

  • value string

    The ID of the form field or entry meta item containing the value for this custom field.