Problem/Motivation

All datapoinins in Views currenlty avaliable only in raw format (74.62311557788944 for percents, 20141009 for dates, etc).

Proposed resolution

Add proper views handlers for all datapoins.
Convert GA date in unix timestamps.

Remaining tasks

Write a patch.

User interface changes

Users will be able to configure datapoins in Views UI.

API changes

Date datapoins will be converted in unix timestamps.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Plazik’s picture

Status: Active » Needs review
FileSize
157.32 KB
  1. Added datatypes to each datapoint.
  2. Added support for translation for ga:userType (New Visitor, Returning Visitor), ga:userGender (Male, Female).
  3. ga:date and ga:yearMonth converted to timestamps.
  4. Added views_handler_field_date field handler for date and time datatypes.
  5. Added views_handler_field_numeric fiedl hanlder for integer, float, percent, currency.
Plazik’s picture

Improve performance.

  • Plazik committed 639ec8f on 7.x-3.x
    Issue #2368159 by Plazik: Add support for datapoints types
    
Plazik’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.