View source: R/ga_v4_objects.R
order_type | R Documentation |
Make an OrderType object
order_type(
field,
sort_order = c("ASCENDING", "DESCENDING"),
orderType = c("VALUE", "DELTA", "SMART", "HISTOGRAM_BUCKET", "DIMENSION_AS_INTEGER")
)
field |
One field to sort by |
sort_order |
ASCENDING or DESCENDING |
orderType |
Type of ordering |
For multiple order sorting, create separate OrderType objects to pass
A order_type_ga4 object for use in GAv4 fetch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.