Learn R Programming

googleAnalyticsR (version 0.3.0)

metric_ga4: Make a metric object

Description

Make a metric object

Usage

metric_ga4(vector, metricFormat = NULL)

Arguments

vector
A character vector of GA metric names
metricFormat
Optional same length character vector of formats for the API to return

Value

a list suitable for parsing in req