Skip to content

Commit 311404b

Browse files
authored
Update remaining references from 'conversions' to 'keyEvents' (#2)
1 parent a62b83a commit 311404b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

google-analytics-data/run_realtime_report_with_multiple_metrics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function main(propertyId = 'YOUR-GA4-PROPERTY-ID') {
9494
name: 'screenPageViews',
9595
},
9696
{
97-
name: 'conversions',
97+
name: 'keyEvents',
9898
},
9999
],
100100
});

google-analytics-data/run_report_with_pagination.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function main(propertyId = 'YOUR-GA4-PROPERTY-ID') {
7070
name: 'sessions',
7171
},
7272
{
73-
name: 'conversions',
73+
name: 'keyEvents',
7474
},
7575
{
7676
name: 'totalRevenue',
@@ -109,7 +109,7 @@ function main(propertyId = 'YOUR-GA4-PROPERTY-ID') {
109109
name: 'sessions',
110110
},
111111
{
112-
name: 'conversions',
112+
name: 'keyEvents',
113113
},
114114
{
115115
name: 'totalRevenue',

0 commit comments

Comments
 (0)