Search in sources :

Example 1 with ShareAFactFunnel

use of org.wikipedia.analytics.ShareAFactFunnel in project apps-android-wikipedia by wikimedia.

the class ShareHandler method createFunnel.

private void createFunnel() {
    WikipediaApp app = WikipediaApp.getInstance();
    final Page page = fragment.getPage();
    final PageProperties pageProperties = page.getPageProperties();
    funnel = new ShareAFactFunnel(app, page.getTitle(), pageProperties.getPageId(), pageProperties.getRevisionId());
}
Also used : PageProperties(org.wikipedia.page.PageProperties) WikipediaApp(org.wikipedia.WikipediaApp) Page(org.wikipedia.page.Page) ShareAFactFunnel(org.wikipedia.analytics.ShareAFactFunnel)

Aggregations

WikipediaApp (org.wikipedia.WikipediaApp)1 ShareAFactFunnel (org.wikipedia.analytics.ShareAFactFunnel)1 Page (org.wikipedia.page.Page)1 PageProperties (org.wikipedia.page.PageProperties)1