Register for a Free Account
Name
Email
Choose Password
Confirm Password

Building a Give Link with a Campaign and Amount Filled In

This guide shows how to build a link that takes supporters straight to the checkout page with a specific campaign and amount already filled in. Use it when you want to send supporters a link, for example in an email, that saves them from finding the campaign and typing the amount themselves.

Build the link

You do this by adding extra arguments to the URL you send. The URL should be in this format:

https://{domain}/p/Contributions/Contributions/addToCart?campaign_id=73&amount=50

Replace {domain} with your website's domain. This example sends the supporter to the checkout page with a specific campaign, in this case campaign ID 73, and a set amount of $50.

Supported arguments

Separate each argument from the next with &.

  • campaign_id=
  • external_id=
  • recurring=yes
  • amount=
  • notes= (string)
  • recurring_start_date= (YYYY-MM-DD). Requires recurring=yes.
  • extra_data= (if extra data is displayed)

Find the campaign ID

  1. In the admin, open Contributions > Campaigns.
  2. Make sure the ID column is shown in the table. If it is not, click the arrow next to any column label, hover over Columns, and check ID.
  3. Find your campaign and note the number in the ID column. Use that number as the campaign_id in your link.

Contributions > Campaigns list with the ID column shown first

Related guides