Name of related component: Tracking Code (Javascript / ga.js)
Request summary:
I'd like to see some extra getters on the Javascript API. Some ideas:
* _getUtmSource <- Currently available on __utmz
* _getUtmMedium <- Currently available on __utmz
* _getUtmCampaign <- Currently available on __utmz
* _getUtmKeyword <- Currently available on __utmz
* _getUtmContent <- Currently available on __utmz
* _getCurrentPageDepth <- Currently available on __utma
* _getCustomVar() <- Works for all vars not only Visitor
Use Cases:
The most obvious use case is to push that data to CRM systems.
People are already getting this data from parsing GA cookies. I feel like an
API will give analysts more confidence to use this data and make sure it won't
break in the future.
Also google won't have to worry about breaking code in the future if it decides
to change cookie formats.
Original issue reported on code.google.com by eduardocereto on 24 Aug 2011 at 5:32
Original issue reported on code.google.com by
eduardocereto
on 24 Aug 2011 at 5:32