From d75dd5c9de9d2ccca4a55f0b022e71fc186c11fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Fri, 23 Oct 2026 04:12:55 -0400 Subject: [PATCH] fix: correct OAuth2 comment typo and remove duplicated funnel step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Léon Avic Simmons --- google-analytics-data/quickstart_oauth2.js | 2 +- google-analytics-data/run_funnel_report.js | 11 ----------- .../run_report_with_dimension_and_metric_filters.js | 4 ++-- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/google-analytics-data/quickstart_oauth2.js b/google-analytics-data/quickstart_oauth2.js index 487f609..a864122 100644 --- a/google-analytics-data/quickstart_oauth2.js +++ b/google-analytics-data/quickstart_oauth2.js @@ -88,7 +88,7 @@ async function main(propertyId = 'YOUR-GA4-PROPERTY-ID') { } /** -* Create a new OAuth2Client, and go through the OAuth2 content workflow. +* Create a new OAuth2Client, and go through the OAuth2 consent workflow. * Return the full client to the callback. */ function getAuthenticatedClient() { diff --git a/google-analytics-data/run_funnel_report.js b/google-analytics-data/run_funnel_report.js index 8a12650..6b5cfdf 100644 --- a/google-analytics-data/run_funnel_report.js +++ b/google-analytics-data/run_funnel_report.js @@ -105,17 +105,6 @@ function main(propertyId = 'YOUR-GA4-PROPERTY-ID') { }, }, }, - { - name: 'Screen/Page view', - filterExpression: { - orGroup: { - expressions: [ - {funnelEventFilter: {eventName: 'screen_view'}}, - {funnelEventFilter: {eventName: 'page_view'}}, - ], - }, - }, - }, { name: 'Purchase', filterExpression: { diff --git a/google-analytics-data/run_report_with_dimension_and_metric_filters.js b/google-analytics-data/run_report_with_dimension_and_metric_filters.js index 29f9175..4b8e409 100644 --- a/google-analytics-data/run_report_with_dimension_and_metric_filters.js +++ b/google-analytics-data/run_report_with_dimension_and_metric_filters.js @@ -44,8 +44,8 @@ function main(propertyId = 'YOUR-GA4-PROPERTY-ID') { // Runs a report using both metric and dimension filters. A dimension filter // limits the report to include only users who made an in-app purchase using - // Android platform. A metric filter specifies that only users with session - // counts larger than 1,000 should be included. + // the Android platform. A metric filter specifies that only users with + // session counts larger than 1,000 should be included. async function runReportWithDimensionAndMetricFilters() { const [response] = await analyticsDataClient.runReport({ property: `properties/${propertyId}`,