blob: cc20864db248bf53a06264175d2ec61d69f10553 [file] [log] [blame]
// +build ignore,OMIT
package sample // OMIT
func BrowserHeightBucket(s *session.Event) string {
size := sizeFromSession(s)
h := size.GetHeight()
switch {
case h <= 0: // HL
return "null"
case h <= 480: // HL
return "small"
case h <= 640: // HL
return "medium"
default: // HL
return "large"
}
}