AbdFatah / analytics-issues

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

Give more control on customvar override (=> "no override with empty value" option) #328

Open GoogleCodeExporter opened 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: Core Reporting API

Request summary:
Give more control on customvar override (=> no override with empty value)

Use Cases:
Session and visitor scope customvar get overriden everytime we send a value, 
and even if this value is empty.
This complexifies GTM settings because preventing override when no value is to 
be sent requires to set a specific rule&tag, and block the generic tag as well.
=> I would love to have a setting "Do not override this customvar when we 
provide an empty value" (or another value defined by admin...)

Original issue reported on code.google.com by mickaelr...@gmail.com on 30 Aug 2013 at 4:45

GoogleCodeExporter commented 9 years ago
Component is TrackingCode not CoreReportingAPI. This can actually be done using 
getVisitorCustomVar : 
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSAp
iBasicConfiguration#_gat.GA_Tracker_._getVisitorCustomVar

In Universal Analytics, an option to read the current visitor or session value 
of a custom dimension could be useful, or add server-side configuration to 
refine processing.

Original comment by anto...@wavonomics.com on 1 Jul 2014 at 10:05