basic pattern for storing google analytics events