This repository has been archived by the owner on Jan 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathfirefox-android-mr-2022-new-user-onboarding.toml
76 lines (57 loc) · 1.95 KB
/
firefox-android-mr-2022-new-user-onboarding.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
## EXPERIMENT SPECIFIC
[experiment]
segments = ['is_really_new']
start_date = "2022-10-18"
enrollment_period = 14
end_date = "2023-01-02"
## NEW OR CHANGED METRICS
[metrics]
weekly = ["searches_with_ads"]
[metrics.active_hours.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.serp_ad_clicks.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.organic_searches.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.search_count.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.searches_with_ads.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.tagged_follow_on_searches.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.total_uri_count.statistics.bootstrap_mean]
drop_highest = 0.0005
[metrics.days_of_use.statistics.bootstrap_mean]
# this should be a no-op
drop_highest = 0.0
[metrics.searches_with_ads]
select_expression = "{{agg_sum('search_with_ads')}}"
data_source = "mobile_search_clients_engines_sources_daily"
[metrics.searches_with_ads.statistics]
deciles = {}
## New data sources to support new metrics
## SEGMENTS
[segments]
# A segment for users that are actually new.
# Filters out non-new users that were erroneously enrolled
# as a result of technical limitations in the new mobile
# first run feature.
[segments.data_sources.baseline_clients_last_seen]
from_expression = "`moz-fx-data-shared-prod.org_mozilla_firefox.baseline_clients_last_seen`"
[segments.is_really_new]
select_expression = """
COALESCE(CAST(MAX(
CASE WHEN first_seen_date >= '2022-10-18'
AND mozfun.norm.extract_version(app_display_version, 'major') >= 106
THEN 1 ELSE 0 END
) AS BOOL), FALSE)
"""
data_source = "baseline_clients_last_seen"
[data_sources]
[data_sources.mobile_search_clients_engines_sources_daily]
from_expression = """(
SELECT *
FROM mozdata.search.mobile_search_clients_engines_sources_daily
WHERE mozfun.norm.extract_version(app_version, 'major') >= 106
)"""
experiments_column_type = "simple"