Make a dimension object
A character vector of dimension names
Optional named list of histogram buckets vectors
a list suitable for parsing in req
If supplying histogramBuckets, the name will be used to create the buckets
dimensions = c("source", "medium")
histogramBuckets = list(source = c(1,5,10,20,200),
medium = c(0,7,14,21,999))
Warning: only makes sense to apply to dimensions that are numeric e.g. ga:hour
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.