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

Provenance: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
mNo edit summary
imported>HNordeen
(Adding Fundraising wrpov parameters)
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:


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.
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.
{{Warning|The wprov parameter is dropped when a user is redirected to the mobile version of a site ([[phab:T252227|T252227]]).}}


== Description of wprov parameter ==
== Description of wprov parameter ==
Line 9: Line 11:


== Currently reserved values ==
== Currently reserved values ==
'''sfii1:''' Share a Fact on iOS for image cards, feature version 1
* '''acww1''' Used to track [[mw:Extension:ArticleCreationWorkflow]]
 
* '''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.
'''sfti1:''' Share a Fact on iOS for text shares, feature version 1
* '''mfsw1''': Share beta feature in MobileFrontend
 
* '''nrvf1''': New Readers video in Hindi distribution on Facebook
'''sfsi1:''' Standard sharing on iOS for text shares, feature version 1
* '''nrvf2''': New Readers video in Spanish distribution on Facebook
 
* '''nrvi1''': New Readers video in Hindi distribution on Instagram
'''sfia1:''' Share a Fact on Android for image cards, feature version 1
* '''nrvi2''': New Readers video in Spanish distribution on Instagram
 
* '''nrvt1''': New Readers video in Hindi distribution on Twitter
'''sfta1:''' Share a Fact on Android for text shares, feature version 1
* '''nrvt2''': New Readers video in Spanish distribution on Twitter
 
* '''nrvy1''': New Readers video in Hindi distribution on YouTube
'''sfla1:''' Share a link to an article (from lead image toolbar, or link preview), feature version 1
* '''nrvy2''': New Readers video in Spanish distribution on Foundation YouTube
 
* '''nrvy2i''': New Readers video in Spanish distribution on Influencer YouTube
'''tssw1:''' TestSearchSatisfaction schema for Special:Search in WikimediaEvents, feature version 1
* '''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.
 
* '''sfia1:''' Share a Fact on Android for image cards, feature version 1
'''srpw1:''' Search Result Page web, feature version 1. Attached to result links in Special:Search.
* '''sfii1:''' Share a Fact on iOS for image cards, feature version 1
 
* '''sfla1:''' Share a link to an article (from lead image toolbar, or link preview), feature version 1
'''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.
* '''sfsi1:''' Standard sharing on iOS for text shares, feature version 1
 
* '''sfta1:''' Share a Fact on Android for text shares, feature version 1
'''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.
* '''sfti1:''' Share a Fact on iOS for text shares, feature version 1
 
* '''srpw1:''' Search Result Page web, feature version 1. Attached to result links in Special:Search.
'''acww1''' Used to track [[mw:Extension:ArticleCreationWorkflow]]
* '''tssw1:''' TestSearchSatisfaction schema for Special:Search in WikimediaEvents, feature version 1
 
* '''vctw1''': Vector (non-legacy) feature for Desktop Improvements Project ([[phab:T243281|T243281]])
'''nrvf1''': New Readers video in Hindi distribution on Facebook
* '''wppw1''': [[mw:Wikipedia Preview|Wikipedia Preview]] Pilot on Web v1 ([[phab:T261949|T261949]])
 
**'''wppw1t''': Wikipedia Preview events from touch-capable devices ([[phab:T297172|T297172]])
'''nrvy1''': New Readers video in Hindi distribution on YouTube
* '''yicw1''': Links from YouTube videos about certain topics like global warming ([https://www.axios.com/youtube-wikipedia-partnership-climate-change-hoax-c361740e-832b-46e3-9fb0-92b44c8bc005.html introduced] in 2018)
 
*'''arde1''': Links to https://thankyou.wikipedia.org/wiki/Recurring_donor_page/en for the Fundraising Active Recurring Donor email, first send
'''nrvt1''': New Readers video in Hindi distribution on Twitter
*'''tyza1''': Fundraising Thank You banners - South Africa - variant 1
 
*'''tyza2''': Fundraising Thank You banners - South Africa - variant 2
'''nrvi1''': New Readers video in Hindi distribution on Instagram
*'''tyin1''': Fundraising Thank You banners - India - variant 1
 
*'''tyin2''': Fundraising Thank You banners - India - variant 2
'''yicw1''': Links from YouTube videos about certain topics like global warming ([https://www.axios.com/youtube-wikipedia-partnership-climate-change-hoax-c361740e-832b-46e3-9fb0-92b44c8bc005.html introduced] in 2018)
*'''tyin3''': Fundraising Thank You banners - India - variant 3
 
*'''tyin4''': Fundraising Thank You banners - India - variant 4
'''nrvf2''': New Readers video in Spanish distribution on Facebook
*'''tybr1''': Fundraising Thank You banners - Portuguese Brazil - variant 1
 
*'''tybr2''': Fundraising Thank You banners - Portuguese Brazil  - variant 2
'''nrvy2''': New Readers video in Spanish distribution on Foundation YouTube
*'''esla1''': Fundraising Thank You banners - Spanish LatAm - variant 1
 
*'''esla2''': Fundraising Thank You banners - Spanish LatAm  - variant 2
'''nrvy2i''': New Readers video in Spanish distribution on Influencer YouTube
*'''enla1''': Fundraising Thank You banners - English LatAm - variant 1
 
*'''enla2''': Fundraising Thank You banners - English LatAm  - variant 2
'''nrvt2''': New Readers video in Spanish distribution on Twitter
 
'''nrvi2''': New Readers video in Spanish distribution on Instagram
 
'''mfsw1''': Share beta feature in MobileFrontend
 
'''vctw1''': Vector (non-legacy) feature for Desktop Improvements Project ([[phab:T243281|T243281]])
 
'''wppw1''': Wikipedia Preview Pilot on Web v1 ([[phab:|T261949]])


== 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 17:48, 15 August 2022

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

  • acww1 Used to track mw:Extension:ArticleCreationWorkflow
  • 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.
  • mfsw1: Share beta feature in MobileFrontend
  • nrvf1: New Readers video in Hindi distribution on Facebook
  • nrvf2: New Readers video in Spanish distribution on Facebook
  • nrvi1: New Readers video in Hindi distribution on Instagram
  • nrvi2: New Readers video in Spanish distribution on Instagram
  • nrvt1: New Readers video in Hindi distribution on Twitter
  • nrvt2: New Readers video in Spanish distribution on Twitter
  • nrvy1: New Readers video in Hindi distribution on YouTube
  • nrvy2: New Readers video in Spanish distribution on Foundation YouTube
  • nrvy2i: New Readers video in Spanish distribution on Influencer YouTube
  • 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.
  • sfia1: Share a Fact on Android for image cards, feature version 1
  • sfii1: Share a Fact on iOS for image cards, feature version 1
  • sfla1: Share a link to an article (from lead image toolbar, or link preview), feature version 1
  • sfsi1: Standard sharing on iOS for text shares, feature version 1
  • sfta1: Share a Fact on Android for text shares, feature version 1
  • sfti1: Share a Fact on iOS for text shares, feature version 1
  • srpw1: Search Result Page web, feature version 1. Attached to result links in Special:Search.
  • tssw1: TestSearchSatisfaction schema for Special:Search in WikimediaEvents, feature version 1
  • vctw1: Vector (non-legacy) feature for Desktop Improvements Project (T243281)
  • wppw1: Wikipedia Preview Pilot on Web v1 (T261949)
    • wppw1t: Wikipedia Preview events from touch-capable devices (T297172)
  • yicw1: Links from YouTube videos about certain topics like global warming (introduced in 2018)
  • arde1: Links to https://thankyou.wikipedia.org/wiki/Recurring_donor_page/en for the Fundraising Active Recurring Donor email, first send
  • tyza1: Fundraising Thank You banners - South Africa - variant 1
  • tyza2: Fundraising Thank You banners - South Africa - variant 2
  • tyin1: Fundraising Thank You banners - India - variant 1
  • tyin2: Fundraising Thank You banners - India - variant 2
  • tyin3: Fundraising Thank You banners - India - variant 3
  • tyin4: Fundraising Thank You banners - India - variant 4
  • tybr1: Fundraising Thank You banners - Portuguese Brazil - variant 1
  • tybr2: Fundraising Thank You banners - Portuguese Brazil - variant 2
  • esla1: Fundraising Thank You banners - Spanish LatAm - variant 1
  • esla2: Fundraising Thank You banners - Spanish LatAm - variant 2
  • enla1: Fundraising Thank You banners - English LatAm - variant 1
  • enla2: Fundraising Thank You banners - English LatAm - variant 2

See also