Embed a campaign to your own website

Collect donations easily on your own website, in your newsletter or elsewhere. You can integrate your fundraising campaigns in a variety of ways and without any programming knowledge in different places. So you can collect donations without your visitors having to leave your website.

Integration as donation button

Include a donation button at relevant positions on your website. The donation page will open in a new window. This way the donor does not have to leave your website.

  1. Open/edit your campaign and click on 'Embed in website > As donation-button' below the title.
  2. Under 'Options for the donation page' you can change the behavior of your page. You can do this here: 
    1. Define the preselected donation amount
    2. Set the pre-selected interval
    3. Select the language of the campaign 
  1. Click on the button in the right half of the window to view your change.

  2. Copy the HTML code.

  3. Paste the HTML code into your web page in the HTML editor.

Further technical possibilities for integration via modal window can be found on our developer platform.

Seamless integration into your site as iFrame

You can integrate the entire donation form into your website.

  1. Open/edit your campaign and click on 'Embed in website > As complete campaign (iFrame)' below the title.

  2. Under 'Options for the donation page' you can change the behavior of your page. You can do it here:

    1. Determine the preselected donation amount
    2. Set the pre-selected interval

    3. Select the language of the campaign

  1. Copy the HTML code.

  2. Paste the HTML code into your web page in the HTML editor. 

Further technical support for integration via iFrame can be found on our developer platform.

Extended integration options

You have the possibility to integrate the campaign in many ways by defining URL parameters by yourself. You can create your own widgets and link to the campaign. The URL parameters are available for all views. (Direct call, integration as iFrame, modal window). 

So you can link to the campaigns in many different ways. For example, you can create your own widget on your website to select the amount and the subscription period and guide the user to the donation page using the URL parameters. 

The following table gives an overview of the available URL parameters.

URL Parameters

Effect

invoice_amount=50

The amount of 50 is selected and cannot be changed.

[Values: Amount, amount with decimal point (e.g., 10.50)].

donation[preselect_amount]=50

The amount of 50 is proposed. Can be changed by the donor.

[Values: Amount, amount with decimal point (e.g. 10.50)].

donation[interval]=one_time

Interval is selected. Can no longer be changed.

[Values: one_time, weekly, monthly, quarterly, yearly]

donation[preselect_interval]=weekly

Interval is proposed. Can still be changed by the donor.

[Values: one_time, weekly, monthly, quarterly, yearly]

donation[preselect_purpose]=1

The purpose of the donation is pre-selected and can be changed by the donor.

[Values: 1,2,3,...]

hide_description=1

Campaign description is hidden.

[Values: 0.1]

invoice_currency=CHF

Currency is selected

[Values: CHF, EUR, ...]

Do you need additional parameters or support in integrating the campaign? Please contact us.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.