AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Manage Definition of Custom Dimensions/Metrics via API #305

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of related component: Management API

Request summary:
Background:
- At the moment custom dimensions and metrics have to be created manually & 
linearly for every property. 
- As the index cannot be set, if you want to create dimension #100 across 4 
properties you have to first create dimensions 1-99 4 times
- Setting 4 dimensions would therefore require 400x3 clicks = 1200 clicks.
- Having the ability to programatically set these dimensions and variables 
would allow us to quickly make changes to all properties and copy/paste from 
existing properties as required

Request:
- get dimension/metric name, scope and active/inactive using index
- set dimension/metric name, scope and active/inactive using index

Use Cases:
- request all dimensions/metrics from one property and apply to another
- define high indexed dimensions/metrics without having to define preceeding 
dimensions/metrics

Original issue reported on code.google.com by dun...@gumtree.com on 14 Jun 2013 at 10:46

GoogleCodeExporter commented 9 years ago
I am a programmer that has a WordPress plugin. I'd like to use Custom 
Dimensions in my plugin. But I don't want to force the user to manually create 
the Custom Dimensions during the plugin installation. It would be much better 
if the plugin could automatically create the custom dimensions via the GA API 
during the installation process. 

Original comment by jcutr...@google.com on 5 Nov 2013 at 5:58

GoogleCodeExporter commented 9 years ago
Is there any method to create custom dimensions using api?

Original comment by vishal...@secfence.com on 2 Sep 2014 at 11:57

GoogleCodeExporter commented 9 years ago
I also need to create custom dimensions using an API. Before universal 
analytics, you could just use custom variables, so didn't need to specify or 
configure them before use. 

Now with universal analytics, users need to manually configure the custom 
dimensions. This is prone to user error and is also annoying for Google 
Analytics newbies. 

Without an API to configure custom dimensions, I am hesitant to update my 
integration to Universal Analytics (much as I want to).

Original comment by da...@davidsimpson.me on 14 Jan 2015 at 9:42

GoogleCodeExporter commented 9 years ago
Release 2015-01-23 (January 23, 2015)
 adds two new collections to the Management API, Custom Dimensions and Custom Metrics.

It is now possible to create, list, get, patch, and update Custom Dimensions 
and Metrics with the Management API.

See change log for details:
https://developers.google.com/analytics/devguides/config/mgmt/v3/changelog

Original comment by mcoh...@google.com on 23 Jan 2015 at 9:56