Jump to content

Schema:WMDEBannerInteractions

PHP logging

EventLogging::logEvent( 'WMDEBannerInteractions', 21558107, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"WMDEBannerInteractions": 21558107
			}
		}
	}
}

JavaScript logging

mw.track( 'event.WMDEBannerInteractions', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21558107
description"Stores the number of times a banner has been shown before it was interacted with."
properties
bannerName
type"string"
requiredtrue
description"Name of the banner"
bannerAction
type"string"
requiredtrue
description"Identifier of the action"
bannerImpressions
type"integer"
requiredtrue
description"The number of times the banner has been shown at the time of the action"
userID
type"integer"
requiredtrue
description"ID of the user"