HomePhabricator

Make pageview definition aware of preview parameter

Authored by Nuria.

Description

Make pageview definition aware of preview parameter

If x-analytics header includes tag preview
the request should not be counted as pageview.

To make this change backwards compatible
and allow for a variable number of arguments
the isPageViewUDF and isAppPageviewUDF need to extend GenericUDF

Both UDFs should have deterministic annotation

Change-Id: I54190f72755810bd2287a05ce7bfc8cfe40f6a42
TT: T109383

Details

Committed
NuriaSep 16 2015, 6:37 PM
Parents
rANRS77d02447c04f: Update ua-parser version to 1.3.0-wmf2 and tests
Branches
Unknown
Tags
Unknown
References
refs/changes/74/237274/8
ChangeId
I54190f72755810bd2287a05ce7bfc8cfe40f6a42