Jump to content

Schema:MobileWikiAppInstallReferrer

PHP logging

EventLogging::logEvent( 'MobileWikiAppInstallReferrer', 18115554, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppInstallReferrer": 18115554
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppInstallReferrer', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18115554
description"Measure app installs that are directed from web links to the Play Store with a campaign referrer parameter."
properties
referrer_url
description"The original URL from which the install of the app was initiated, i.e. the page on which the link was clicked that led to the Play Store. This can be used by the app to open the Wikipedia article that the user was originally browsing in Mobile Web, right after the app is installed."
type"string"
requiredfalse
campaign_id
description"Campaign ID that represents the campaign that led to the install of the app. This is an old (deprecated) field that might still be used in some links around the web, so we should still record it optionally for the time being."
type"string"
requiredfalse
utm_medium
description"The source medium from which the install came."
type"string"
requiredfalse
utm_campaign
description"The name of the campaign from which the install came."
type"string"
requiredfalse
utm_source
description"The specific source within the campaign from which the install came."
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