Schema:MobileWikiAppNotificationPreferences

PHP logging

EventLogging::logEvent( 'MobileWikiAppNotificationPreferences', 22083261, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppNotificationPreferences": 22083261
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppNotificationPreferences', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 22083261
description"Sent when if/when user updates their settings in Notification Preferences."
properties
type_toggles
description"JSON array of notification types and whether they are enabled or disabled. For example: '[{"welcome":true},{"edit-thank":false},{"thank-you-edit":true},{"system-noemail":true}]'"
type"string"
requiredtrue
background_fetch
description"Frequency of background polling: - 'disabled' if user keeps tapping the 'Not now' button at the prompt - 'don't ask again' if user doesn't want to be prompted - the interval if enabled (e.g. '10 min')"
type"string"
requiredfalse
app_install_id
description"Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas."
type"string"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue