Jump to content

Schema:MobileWebBrowse

PHP logging

EventLogging::logEvent( 'MobileWebBrowse', 12119641, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWebBrowse": 12119641
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWebBrowse', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 12119641
description"Logs a user's interactions with the Browse prototype."
properties
action
type"string"
requiredtrue
enum
"tags_impression"
"tag_click"
"article_click"
description"Which particular interaction triggered this event. * tags_impression - the user saw the tags * tag_click - the user clicked a tag * article click - the user clicked an article in the list of tagged articles"
tag
type"string"
requiredfalse
description"The tag that was clicked. Required for the 'tag_click' and 'article_click' actions."
article
type"string"
requiredfalse
description"The article that was clicked. Required for the 'article_click' action."
articleIndex
type"integer"
requiredfalse
description"The 1-based index of the article that was clicked in the list of tagged articles. Required for the 'article_click' action."
mobileMode
type"string"
requiredtrue
enum
"stable"
"beta"
"alpha"
description"Whether the user is seeing the stable, beta, or alpha version of the mobile site."