Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google-analytics-data/quickstart_oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
11 changes: 0 additions & 11 deletions google-analytics-data/run_funnel_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down
Loading