Version 4 of the API lets you access the following new features:
Multiple Date Ranges
- Show both for comparison; or
- Google will automatically subtract metrics to show the delta
Histogram Buckets
"dimensions":[
{
"name":"ga:sessionCount",
"histogramBuckets":["1","10","100","200","400"]
}],
Metric Expressions
"metrics":[
{
"expression":"ga:goal1Completions/ga:goal1Starts",
"formattingType":"FLOAT",
"alias":"Metric Expression"
}]
Segment Improvements, including
- Dynamic derived using sets of complex filter expressions,
- Sequences, where sequential conditions must be met, to analyze a user’s journey, and
- Multiple Segments in a Query
More technical articles will be following this announcement which will explain and give examples on how you can use the Version 4 API to your best advantage.