Skip to content

francoisauclair911/campaign-manager

Repository files navigation

##Adra Network Campaign Manager Plugin

Wordpress plugin

It uses a shortcode like the following

[campaign-manager parameter1="value" parameter2="value2"]

It then displays a registration form allowing the user to register to a campaign via an API calls to Campaign Manager API

Some parameters are optional and some are required for the plugin to work

Shortcode Parameters

first_name

  • Placeholder text for "First Name" Input
  • Default | First Name
  • NULLABLE

last_name

  • Placeholder text for "Last Name" Input
  • Default | Last Name
  • NULLABLE

email

  • Placeholder text for "Email" Input
  • Default | Email
  • NULLABLE

communication_preference

  • Placeholder text for "Communication preference" Select Field
  • Default | Communication preference
  • NULLABLE

country

  • Placeholder text for "Country" Input
  • Default | Choose a Country
  • NULLABLE

zip_code

  • Placeholder text for "Zip Code" Input
  • Default | Zip Code
  • NULLABLE

interest

  • Placeholder text for "Interest" Select Fields
  • Default | How would you describe your interest ?
  • NULLABLE

age_consent

  • Text next to the age consent checkbox
  • Default | By signing this form I confirm I am over 13 years old.
  • NULLABLE

communication_consent

  • Text next to the communication consent checkbox
  • Default | I agree to receive communications from ADRA.
  • NULLABLE

submit_button

  • Text for submit button
  • Default | Submit
  • NULLABLE

thank_you_heading

  • Text for the "Thank You" heading after successfull registration
  • Default | Thank you for your support!
  • NULLABLE

thank_you_subheading

  • Text for the "Thank You" subheading after successfull registration
  • Default | Make sure to save your advocate link below
  • NULLABLE

country_code

  • Country code ( ISO 3166 -> Alpha3) allowing too push the country to the top of the Country Select field
  • Default | null
  • NULLABLE

campaign_token

  • Token of the campaign the user is gonna be subscribed to.
  • REQUIRED

organization_token

  • Token of the organization the user subscriptions is gonna be register under.
  • REQUIRED

event_token

  • Token of the eventthe user subscriptions is gonna be register under.
  • Default | null
  • NULLABLE

landing_url

  • URL where the form (shortcode) is present, will be used to generate the new user referral link
  • Defaut | Current page URL where the shortcode is inserted
  • REQUIRED

enable_phone

  • Enables the "Phone" input field
  • Default | False
  • NULLABLE

##Example The following shortcode

[campaign-manager email="Enter Email" first_name="Enter First Name" last_name="Enter Last Name" zip_code="Enter ZIP Code" country="Choose your Country" communication_preference="Communication preference" campaign_token="Dnjb0lUhskKqXxHcrkcA" organization_token="rg773jMkuVo1CbEubgky" submit_button="Support the cause!" landing_url="https://inschool.adra.org/" country_code="CAN" enable_phone="true" interest="What is your main interest?" communication_consent="I want ADRA to communicate with me in the future" age_consent='I certify that I am over 13 years old']

Would generate

enter image description here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published