/**
 * Created by vivek on 20/6/17.
 */
export const pageview = {
  eventFields: (action) => ({
    hitType: 'pageview',
    page: action.payload,
  }),
};

export const authentication = {
  eventFields: (action) => ({
    hitType: 'event',
    eventCategory: 'redux',
    eventAction: action.type,
  }),
};
