Skip to content

Commit 43fd389

Browse files
authored
create new version of organic topsite interactions and clicks (#1227)
1 parent e6e3cac commit 43fd389

File tree

2 files changed

+31
-4
lines changed

2 files changed

+31
-4
lines changed

definitions/firefox_desktop.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,12 +1427,20 @@ description = """
14271427
Rate of Clicks per Impression Sponsored Tiles (aka Sponsored Topsites on New Tab) across all positions.
14281428
"""
14291429

1430+
[metrics.newtab_organic_topsite_ctr_v2]
1431+
depends_on=['newtab_organic_topsite_clicks_v2', 'newtab_organic_topsite_impressions_v2']
1432+
friendly_name = "Organic Tile Click Through Rate"
1433+
description = """
1434+
Rate of Clicks per Impression Organic Tiles (aka Sponsored Topsites on New Tab) across all positions.
1435+
"""
1436+
14301437
[metrics.newtab_organic_topsite_ctr]
14311438
depends_on=['newtab_organic_topsite_clicks', 'newtab_organic_topsite_impressions']
14321439
friendly_name = "Organic Tile Click Through Rate"
14331440
description = """
14341441
Rate of Clicks per Impression Organic Tiles (aka Sponsored Topsites on New Tab) across all positions.
14351442
"""
1443+
deprecated = true
14361444

14371445
[metrics.newtab_newtab_enabled]
14381446
data_source = "newtab_clients_daily"
@@ -1529,6 +1537,14 @@ friendly_name = "Newtab Non-Search Engaged Visit Count"
15291537
description = """
15301538
Count of New Tab visits with non-search engagement
15311539
"""
1540+
[metrics.newtab_organic_topsite_clicks_v2]
1541+
data_source = "newtab_clients_daily"
1542+
select_expression = "COALESCE(SUM(organic_topsite_tile_clicks), 0)"
1543+
friendly_name = "Newtab Organic Tile Clicks"
1544+
type = "scalar"
1545+
description = """
1546+
Count of New Tab organic tile clicks across all positions.
1547+
"""
15321548

15331549
[metrics.newtab_organic_topsite_clicks]
15341550
data_source = "newtab_visits_topsite_tile_interactions"
@@ -1538,6 +1554,16 @@ type = "scalar"
15381554
description = """
15391555
Count of New Tab organic tile clicks across all positions.
15401556
"""
1557+
deprecated = true
1558+
1559+
[metrics.newtab_organic_topsite_impressions_v2]
1560+
data_source = "newtab_clients_daily"
1561+
select_expression = "COALESCE(SUM(organic_topsite_tile_impressions), 0)"
1562+
friendly_name = "Newtab Organic Tile Impressions"
1563+
type = "scalar"
1564+
description = """
1565+
Count of New Tab organic tile impressions across all positions.
1566+
"""
15411567

15421568
[metrics.newtab_organic_topsite_impressions]
15431569
data_source = "newtab_visits_topsite_tile_interactions"
@@ -1547,6 +1573,7 @@ type = "scalar"
15471573
description = """
15481574
Count of New Tab organic tile impressions across all positions.
15491575
"""
1576+
deprecated = true
15501577

15511578
[metrics.wallpaper_clicks]
15521579
data_source = "newtab_clients_daily"

jetstream/outcomes/firefox_desktop/newtab_do_no_harm.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Guardrail metrics for the New Tab. Includes user experience and revenue-related
2424
[metrics.sponsored_tile_impressions.statistics.linear_model_mean]
2525

2626

27-
[metrics.newtab_organic_topsite_clicks.statistics.sum]
28-
[metrics.newtab_organic_topsite_clicks.statistics.linear_model_mean]
29-
[metrics.newtab_organic_topsite_impressions.statistics.sum]
30-
[metrics.newtab_organic_topsite_impressions.statistics.linear_model_mean]
27+
[metrics.newtab_organic_topsite_clicks_v2.statistics.sum]
28+
[metrics.newtab_organic_topsite_clicks_v2.statistics.linear_model_mean]
29+
[metrics.newtab_organic_topsite_impressions_v2.statistics.sum]
30+
[metrics.newtab_organic_topsite_impressions_v2.statistics.linear_model_mean]
3131

3232
[metrics.sponsored_pocket_clicks.statistics.sum]
3333
[metrics.sponsored_pocket_clicks.statistics.linear_model_mean]

0 commit comments

Comments
 (0)