You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Provenance: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>MaxSem
imported>HaeB
(clarify purpose and use a bit more)
Line 1: Line 1:
In order to validate the effectiveness of social sharing and other similar efforts for Wikimedia projects, a parameter "wprov" will be appended to URLs on a case-by-case basis. This article exists to keep track of reserved values.
In order to evaluate the effectiveness of social sharing and other similar efforts for Wikimedia projects, a parameter "wprov" can be appended to URLs on a case-by-case basis. This page exists to keep track of reserved values.
 
The value of this parameter will be recorded in the [[X-Analytics]] field of the [[Analytics/Data Lake/Traffic/Webrequest|webrequest table]] (as <code>x_analytics_map['wprov']</code>). Requests with different "wprov" values will not be cached separately (as it would be the case with other, arbitrary parameter names), thus avoiding cache fragmentation.


== Description of wprov parameter ==
== Description of wprov parameter ==
Line 28: Line 30:


'''acww1''' Used to track [[mw:Extension:ArticleCreationWorkflow]]
'''acww1''' Used to track [[mw:Extension:ArticleCreationWorkflow]]
'''nrvf1''': New Readers video in Hindi distribution on Facebook
'''nrvy1''': New Readers video in Hindi distribution on YouTube
'''nrvt1''': New Readers video in Hindi distribution on Twitter
'''nrvi1''': New Readers video in Hindi distribution on Instagram


== See also==
== See also==
* [https://github.com/wikimedia/puppet/blob/production/modules/varnish/templates/analytics.inc.vcl.erb#L127 Related Varnish VCL code]
* [https://github.com/wikimedia/puppet/blob/production/modules/varnish/templates/analytics.inc.vcl.erb#L127 Related Varnish VCL code]

Revision as of 05:05, 25 August 2018

In order to evaluate the effectiveness of social sharing and other similar efforts for Wikimedia projects, a parameter "wprov" can be appended to URLs on a case-by-case basis. This page exists to keep track of reserved values.

The value of this parameter will be recorded in the X-Analytics field of the webrequest table (as x_analytics_map['wprov']). Requests with different "wprov" values will not be cached separately (as it would be the case with other, arbitrary parameter names), thus avoiding cache fragmentation.

Description of wprov parameter

The format of the parameter name is ?wprov=<3_char_feature><platform_one_char><major_version_of_feature_uint>.

See the Analytics mailing list thread and Phabricator task T90606 for further background.

Currently reserved values

sfii1: Share a Fact on iOS for image cards, feature version 1

sfti1: Share a Fact on iOS for text shares, feature version 1

sfsi1: Standard sharing on iOS for text shares, feature version 1

sfia1: Share a Fact on Android for image cards, feature version 1

sfta1: Share a Fact on Android for text shares, feature version 1

sfla1: Share a link to an article (from lead image toolbar, or link preview), feature version 1

tssw1: TestSearchSatisfaction schema for Special:Search in WikimediaEvents, feature version 1

srpw1: Search Result Page web, feature version 1. Attached to result links in Special:Search.

sdlw1: Search Deep Link web, feature version 1. Users selected by the TestSearchSatisfaction schema have this added to all article links when arriving at a page with either the srpw1 or sdlw1 wprov.

iwsw1: Interwiki Search web, feature version 1. Queries that have been chosen to participate in the interwiki search test will have wprov=iwsw1 for any cross wiki search results. This is limited to "inline" search results, and not the sidebar as used in itwiki.

acww1 Used to track mw:Extension:ArticleCreationWorkflow

nrvf1: New Readers video in Hindi distribution on Facebook

nrvy1: New Readers video in Hindi distribution on YouTube

nrvt1: New Readers video in Hindi distribution on Twitter

nrvi1: New Readers video in Hindi distribution on Instagram

See also