File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
google-analytics-data/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function run_realtime_report_with_multiple_metrics(string $propertyId)
51
51
->setDimensions ([new Dimension (['name ' => 'unifiedScreenName ' ])])
52
52
->setMetrics ([
53
53
new Metric (['name ' => 'screenPageViews ' ]),
54
- new Metric (['name ' => 'conversions ' ]),
54
+ new Metric (['name ' => 'keyEvents ' ]),
55
55
]);
56
56
$ response = $ client ->runRealtimeReport ($ request );
57
57
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function run_report_with_pagination(string $propertyId)
64
64
])
65
65
->setMetrics ([
66
66
new Metric (['name ' => 'sessions ' ]),
67
- new Metric (['name ' => 'conversions ' ]),
67
+ new Metric (['name ' => 'keyEvents ' ]),
68
68
new Metric (['name ' => 'totalRevenue ' ]),
69
69
])
70
70
->setLimit (100000 )
You can’t perform that action at this time.
0 commit comments