Add: seperate ads page from start page and apply Google Analytics code
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user