Integrate your Action

How do I integrate my Petition, Email Protest, Donation,... with any other site

There are a lot of ways to integrate with Campaignion. We won't cover all of them here, but these are the most important for supporter management and your forms:

Widgets

If you create a form of any type (doesn't matter if it's a petition or something else), you can embed this form on any other website via your very own widget. Create a widget by clicking on the "Widget" tab at your petition. Copy the provided code and paste it wherever you want to have your form displayed. This works for simple forms though, so for a multi-step form, be sure to use another way to get your supporters to submit it.

You can embed using widgets:

  • Forms with a single step
  • Forms with many steps and without AJAX. There, each form step will be loaded on your action as a new page. This might make the action somewhat slower. Be aware that AJAX is activated per default, and you might want to ask support to deactivate AJAX on the long form you want to embed.
  • Forms without any redirects --> thank you pages, of Paypal payments, for example.

We are aware of these current limitations of the widgets, and we would like to redesign the concept of embedding Campaignion webforms completely. Until then, we recommend using blocks to integrate for example a donation block on your thank you pages within Campaignion, and only embed simple forms in external websites via widgets. More details on how to create and use block can be found here.

Newsletter providers (Mailchimp, CleverReach, etc)

If you use the tool-bar to go to Manage > Advanced Settings > Site settings, you will find the section "Web services" and "Newsletter settings". Select a machine name for your connection. This needs to be unique and can only contain lower case letters, numbers and underscores. In the next field, paste your API-key from your newsletter provider. You can set up several keys if you like by clicking on "Add another key". Save your configuration with the button on the right side.  All your lists and subscribers will get updated regularly, if you want to update them right now click the button at the bottom labelled "Update Lists and Subscribers from all external sources now".

List of fields that are available

An actual list of synchronised fields for some newsletter providers is available here

 

Have more questions? Submit a request

Comments