Example #1
0
        private static void PerformAnalyticsFour()
        {
            var analyticsFour = AnalyticsClient <DimensionsFour> .GetData();

            var fctSessionHitses = Mapper.MapFour(analyticsFour);

            Dao.SaveAnalyticsFour(fctSessionHitses);
        }
Example #2
0
        private static void PerformAnalyticsTwo()
        {
            var analyticsTwo = AnalyticsClient <DimensionsTwo> .GetData();

            var fctSessions = Mapper.MapTwo(analyticsTwo);

            Dao.SaveAnalyticsTwo(fctSessions);
        }
Example #3
0
        private static void PerformAnalyticsThree()
        {
            var analyticsThree = AnalyticsClient <DimensionsThree> .GetData();

            var fctSessionChannels = Mapper.MapThree(analyticsThree);

            Dao.SaveAnalyticsThree(fctSessionChannels);
        }
Example #4
0
        private static void PerformAnalyticsOne()
        {
            var analyticsOne = AnalyticsClient <DimensionsOne> .GetData();

            var bufferDicClients = Mapper.MapOne(analyticsOne);

            Dao.SaveAnalyticsOne(bufferDicClients);
        }
Example #5
0
        private static void ProccessReportWithAccountRegDate()
        {
            //Logger.Info("Start GA ProccessReportWithAccountRegDate");

            var reportWithAccountRegDate = AnalyticsClient <DimensionsReportWithAccountRegDate> .GetData();

            var mappedReportWithAccountRegDate = UserActivityMapper.MapReportWithAccountRegDate(reportWithAccountRegDate);

            SaveReport(mappedReportWithAccountRegDate);

            //Logger.Info($"End GA ProccessReportWithAccountRegDate: count={mappedReportWithAccountRegDate.Count}.");
        }
Example #6
0
        private static void ProccessReportWithCompanyId()
        {
            //Logger.Info("Start GA ProccessReportWithCompanyId");

            var reportWithCompanyId = AnalyticsClient <DimensionsReportWithCompanyId> .GetData();

            var mappedReportWithCompanyId = UserActivityMapper.MapReportWithCompaynyId(reportWithCompanyId);

            SaveReport(mappedReportWithCompanyId);

            //Logger.Info($"End GA ProccessReportWithCompanyId: count={mappedReportWithCompanyId.Count}.");
        }
Example #7
0
        private static void ProccessReportWithConvertions()
        {
            //Logger.Info("Start GA ProccessReportWithConvertions");

            var reportWithConvertions = AnalyticsClient <DimensionsReportWithConversions> .GetData();

            var mappedReportWithConvertions = UserActivityMapper.MapReportWithConversions(reportWithConvertions);

            SaveReport(mappedReportWithConvertions);

            //Logger.Info($"End GA ProccessReportWithConvertions: count={reportWithConvertions.Count}.");
        }
Example #8
0
        private static void ProccessReportWithTariff()
        {
            //Logger.Info("Start GA ProccessReportWithTariff");

            var reportWithTariff = AnalyticsClient <DimensionsReportWithTariff> .GetData();

            var mappedReportWithTariff = UserActivityMapper.MapReportWithTariff(reportWithTariff);

            SaveReport(mappedReportWithTariff);

            //Logger.Info($"End GA ProccessReportWithTariff: count={mappedReportWithTariff.Count}.");
        }
Example #9
0
        private static void ProccessReportWithProduct()
        {
            //Logger.Info("Start GA ProccessReportWithProduct");

            var reportWithProduct = AnalyticsClient <DimensionsReportWithProduct> .GetData();

            var mappedReportWithProduct = UserActivityMapper.MapReportWithProduct(reportWithProduct);

            SaveReport(mappedReportWithProduct);

            //Logger.Info($"End GA ProccessReportWithProduct: count={mappedReportWithProduct.Count}.");
        }
Example #10
0
        private static void ProccessReportWithSessionType()
        {
            string infoStringStart = "Start GA ProccessReportWithSessionType";

            //Logger.Info(infoStringStart);
            Console.WriteLine(infoStringStart);

            var reportWithSessionType = AnalyticsClient <DimensionsReportWithSessionType> .GetData();

            var mappedReportWithSessionType = UserActivityMapper.MapReportWithSessionType(reportWithSessionType);

            SaveReport(mappedReportWithSessionType);

            string infoStringEnd = $"End GA ProccessReportWithSessionType: count={mappedReportWithSessionType.Count}.";

            //Logger.Info(infoStringEnd);
            Console.WriteLine(infoStringEnd);
        }