Docs Home > All

All

Shows donorCount, dollarsRaised, and donationCount widgets in a row stats for the referrer code


How it works

This widget is most often used to display the donations raised by visitors to the landing page on which it is displayed.

  • It will not by default display donations made by visitors to other pages, such as fundraisers.
  • It will not display other donations raised by projects that happen to be featured on the page, such as donations made by donors who went directly to a project page without visiting the landing page.

Assign your landing page a unique conversion code/referrer code in the Forestry page editor’s lefthand column. This tags all donations made through the page with the conversion code/referrer code.

If you want to display stats from another page, or combine stats from several other pages, you can do so by specifying the refCodes of those other pages, as documented below.

If you’d like to “reset” the widget to restart at $0, update the refCode on the Forestry page left sidebar. The widget will then display donations associated with that new refCode by default. You will need to update the Line Item and Conversion Code rules accordingly, and you may see the old fundraising stats until the cached version is cleared.

Shows Donor/donation/dollars raised stats in a row

Receipts where either the conversion code or the referrer code match will contribute to the total. The referrer code is taken from the page front matter (i.e. allStatsWidget).

{% include stats/all %}

donations

0

donors

0

-

Select Widgets/order to display in

By default, all 3 widgets are shown in the order dollarsRaised, donationCount, donorCount. The order and which widgets are shown can be modified with the widgets parameter.

NOTE: While it is possibly to include the pageStats widget, because of it’s large height, it is not recomended.

{% include stats/all widgets='donationCount dollarsRaised donorCount' %}
{% include stats/all widgets='donorCount dollarsRaised' %}
{% include stats/all widgets='donationCount dollarsRaised' %}

donations

0

donors

0

donors

0

donations

0
##

Other widgets can be used

Its also possible to render topCountries and topProjects and projectCount widgets. If mixing either of of the topXXX widgets, it is recommended to set the listLimit to 5 to keep the widgets at about the same height.

{% include stats/all widgets='projectCount dollarsRaised topProjects topCountries' listLimit='5' refCode='wmgives' %}

total projects funded

340

top locations funded

  • United States
    $22,708
  • Puerto Rico
    $5,513
  • Philippines
    $4,805
  • Malaysia
    $4,625
  • Australia
    $4,171
##

Passing options

Any options you can pass to the individual widgets (e.g. refCode, backgroundColor, foregroundColor, base) can be passed through the all widget as well.

NOTE: The same limitations apply to setting the backgroundColor or foregroundColor. i.e. setting the background color on one widget will affect all widgets on the page.

{% include stats/all refCode='wmgives' %}

donations

3,413

donors

2,742

For more details on the parameters, look at the individual stats widgets:

  • Dollars Raised - Render the Number of dollars raised for a given referrer code. dollars-raised
  • Donation Count - Shows the number of donations made using a specific referrer code donation-count
  • Page Stats - Shows the number of donors, donations, and related country and project stats for the referrer code page-stats
  • Project Count - Shows a count of the projects funded by referrer code project-count
  • Donor Count - Shows the number of donors related to a specific referrer code donor-count
  • Top Countries - Shows the ranked countries funded by this referrer code top-countries
  • Top Projects - Shows the projects funded by this referrer code top-projects
WARNING: Javascript is currently disabled or is not available in your browser. GlobalGiving makes extensive use of Javascript and will not function properly with Javascript disabled. Please enable Javascript and refresh this page.