|
|
@@ -167,9 +167,6 @@ public abstract class CategoryMainPresenter<M extends CategoryMainModel, V exten
|
|
|
}
|
|
|
gotoEvent(flagContentsBean);
|
|
|
} else {
|
|
|
- if (flagContentsBean != null) {
|
|
|
- googleAnalyticsHelper.sendGA(GoogleAnalyticsHelper.Category.CONTENTS_DETAIL, GoogleAnalyticsHelper.Label.CATEGORY, flagContentsBean.getTitle());
|
|
|
- }
|
|
|
String itemNumber = model.getSelectedRecommendBean().getItemNo();
|
|
|
Log.i("APP# CategoryMainPresenter | onEventInternal", "|" + "recommended item number: " + itemNumber);
|
|
|
model.loadDetail(itemNumber);
|
|
|
@@ -208,7 +205,13 @@ public abstract class CategoryMainPresenter<M extends CategoryMainModel, V exten
|
|
|
gotoEvent(flagContentsBean);
|
|
|
} else {
|
|
|
if (flagContentsBean != null) {
|
|
|
- googleAnalyticsHelper.sendGA(GoogleAnalyticsHelper.Category.CONTENTS_DETAIL, GoogleAnalyticsHelper.Label.CATEGORY, flagContentsBean.getTitle());
|
|
|
+ String label;
|
|
|
+ if(type == R.string.fa_type_banner) {
|
|
|
+ label = GoogleAnalyticsHelper.Label.CATEGORY_BANNER;
|
|
|
+ } else {
|
|
|
+ label = GoogleAnalyticsHelper.Label.CATEGORY;
|
|
|
+ }
|
|
|
+ googleAnalyticsHelper.sendGA(GoogleAnalyticsHelper.Category.CONTENTS_DETAIL, label, flagContentsBean.getTitle());
|
|
|
}
|
|
|
setContentsHelper(flagContentsBean);
|
|
|
|
|
|
@@ -304,6 +307,9 @@ public abstract class CategoryMainPresenter<M extends CategoryMainModel, V exten
|
|
|
} else {
|
|
|
Log.w("APP# CategoryMainPresenter | onResult", "|" + " contents --> ");
|
|
|
|
|
|
+ if (model != null && model.getSelectedRecommendBean() != null) {
|
|
|
+ googleAnalyticsHelper.sendGA(GoogleAnalyticsHelper.Category.CONTENTS_DETAIL, GoogleAnalyticsHelper.Label.RECOMMEND_CONTENTS, model.getSelectedRecommendBean().getTitle());
|
|
|
+ }
|
|
|
setContentsHelper(model.getSelectedRecommendBean());
|
|
|
|
|
|
go(ScreenID.CONTENTS);
|