Jump to content

Schema:FundraisingBannerPaymentMethod

PHP logging

EventLogging::logEvent( 'FundraisingBannerPaymentMethod', 11726813, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"FundraisingBannerPaymentMethod": 11726813
			}
		}
	}
}

JavaScript logging

mw.track( 'event.FundraisingBannerPaymentMethod', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 11726813
description"Log people clicking a payment method in a fundraising banner"
properties
banner
type"string"
description"Banner name e.g. 'B15_0401_enUS_dsk_lg_pm_new'"
paymentmethod
type"string"
description"Payment method"
amount
type"number"
description"Amount selected in local currency"
currency
type"string"
description"ISO 4217 code of currency"
recurring
type"boolean"
description"Is this a monthly donation"