Add: seperate ads page from start page and apply Google Analytics code

This commit is contained in:
2018-11-21 09:28:38 +09:00
parent 0f77430e9e
commit 07d8b46b38
7 changed files with 111 additions and 10 deletions
+4 -1
View File
@@ -83,7 +83,10 @@ GameAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppName(this.appInfo.AppName);
sessionStorageManager.setPlayingAppKoreanName(this.appInfo.KoreanName);
location.href = '../../web/client/start.html';
if(isExperiencePlayerAccount())
location.href = '../../web/client/ads.html';
else
location.href = '../../web/client/start.html';
}
+4 -1
View File
@@ -105,7 +105,10 @@ TypingAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppName(this.appInfo.AppName);
sessionStorageManager.setPlayingAppKoreanName(this.appInfo.KoreanName);
location.href = '../../web/client/start.html';
if(isExperiencePlayerAccount())
location.href = '../../web/client/ads.html';
else
location.href = '../../web/client/start.html';
}