Shows donorCount, dollarsRaised, and donationCount widgets in a row stats for the referrer code
This widget is most often used to display the donations raised by visitors to the landing page on which it is displayed.
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.
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
).
-
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.
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.
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.
For more details on the parameters, look at the individual stats widgets: