Currently VirtualPageView events send the title value in the REST response (https://en.wikipedia.org/api/rest_v1/page/summary/San_Francisco) and the value of `mw.config.get('wgTitle')` from the page being viewed. We need to ensure that the title can be mapped to the canonical URL which this makes difficult.
The proposal is to switch from wgTitle to wgRelevantPageName and use titles.canonical from the REST response.
== Developer notes
* Essentially we want the underscores which is the canonical name ... the name used in the URL eg. "San_Francisco" not "San Francisco"
* Page views obviously operate with URLs and page previews don't
* Analytics team are trying to make page preview virtual page views correspond with the page view equivalent
* We only need to make it work with mw. I have no idea what happens if you enable VirtualPageViews and mwApi
= Bonus points
We discussed that we should probably only allow VirtualPageViews if the gateway is rest. If you can do this as part of that change that would be splendid, otherwise on sign off we should create a task to make that happen.