Skip to content

Commit 2d6006c

Browse files
authored
Update remaining references from 'conversions' to 'keyEvents' (#2)
1 parent b35fc9a commit 2d6006c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google-analytics-data/src/run_realtime_report_with_multiple_metrics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function run_realtime_report_with_multiple_metrics(string $propertyId)
5151
->setDimensions([new Dimension(['name' => 'unifiedScreenName'])])
5252
->setMetrics([
5353
new Metric(['name' => 'screenPageViews']),
54-
new Metric(['name' => 'conversions']),
54+
new Metric(['name' => 'keyEvents']),
5555
]);
5656
$response = $client->runRealtimeReport($request);
5757

google-analytics-data/src/run_report_with_pagination.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function run_report_with_pagination(string $propertyId)
6464
])
6565
->setMetrics([
6666
new Metric(['name' => 'sessions']),
67-
new Metric(['name' => 'conversions']),
67+
new Metric(['name' => 'keyEvents']),
6868
new Metric(['name' => 'totalRevenue']),
6969
])
7070
->setLimit(100000)

0 commit comments

Comments
 (0)