<%if(action=='aud' || action=='funnels' || action == 'insideapp'){%> <%}%> <%if(action == 'audiencesegment' || action =='push' || action=="campaigns" || action=="camp" || action=="transactionalCampaigns"){%> <%}%> <%if(action=="displaypref"){%> <%}%> <%if(action == 'createAudSegment' || action == 'editSegment'){%> <%}%> <%if(action == 'otherapps'){%> <%}%> <% if(action=="camp") { %> <% } %> <% if(action=="createchatbot" || action == 'insides' || action=="transactionalCampaigns") { %> <% } %> <%if(action == 'allusers' || action=='uploads' || action =='push' || action == 'appsetting'){%> <%}%> <%if(action == 'olduninstalls'){%> <%}%> <%if(action=='usage' ){%> <%}%> <%if(action == 'customevents' || action=='aud' || action == 'insideapp'){%> <%}%> <%if(action == 'installs' || action == 'uninstalls'){%> <%}%> <%if(action=='dashboard' || action=='insight'){%> <%}%> <%if(action=='createapp' || (action== false && !userOfApps.length)){%> <%}%> <%if(action == 'users'){%> <%}%> <% if(action=="analytics" || action =="aidql") { %> <% } %>
<% if( action == 'createapp' || ((!userOfApps.length) && action == false)) { %> <% include createapp.html %> <%}%> <%if(action == 'profile'){%> <% include userprofile.html %> <%}%> <%if(action=='dashboard') {%> <% include appdashboard.html %> <%}%> <%if(action=='insight') {%> <% include app-insight.html %> <%}%> <%if(action == false) {%> <% if(typeof(currentappid) == "object") { %> <% include myapps.html %> <% } %> <%}%> <%if(action=='appsetting'){%> <% var appid=''; var appkey=''; var appmode = false;%> <% var appiceKey = devepnukey= devcert1= devcert2= devpass1= devpass2=googleUrl=iosUrl= name=category=icon=callbackurl='', httpMethod='', webhook_installs=false, webhook_events=false; var emailCfg={}, smsCfg={}, fcmCert='', fcmdb='', web_private_key='', web_public_key='', web_subject='' %> <% for (var i = 0; i < userOfApps.length; i++) { %> <% if(userOfApps[i]._id== currentappid){%> <% if(userOfApps[i].dev_epnu_key!=null){%> <% devepnukey=userOfApps[i].dev_epnu_key;%> <%}%> <% if(userOfApps[i].appiceKeys!=null){%> <% appiceKey=userOfApps[i].appiceKeys;%> <%}%> <% if(userOfApps[i].dev_ios_cert1!=null){%> <% devcert1=userOfApps[i].dev_ios_cert1; %> <%}%> <% if(userOfApps[i].dev_ios_pass1!=null){%> <% devpass1=userOfApps[i].dev_ios_pass1; %> <%}%> <% if(userOfApps[i].dev_ios_cert2!=null){%> <% devcert2=userOfApps[i].dev_ios_cert2; %> <%}%> <% if(userOfApps[i].dev_ios_cert3!=null){%> <% devcert3=userOfApps[i].dev_ios_cert3; %> <%}%> <% if(userOfApps[i].dev_ios_keyid!=null){%> <% devcert3=userOfApps[i].dev_ios_keyid; %> <%}%> <% if(userOfApps[i].dev_ios_teamid!=null){%> <% devcert3=userOfApps[i].dev_ios_teamid; %> <%}%> <% if(userOfApps[i].dev_ios_pass2!=null){%> <% devpass2=userOfApps[i].dev_ios_pass2; %> <%}%> <% appid=userOfApps[i]._id; %> <% appkey=userOfApps[i].key; %> <% if(userOfApps[i].googleUrl!=null){%> <% googleUrl=userOfApps[i].googleUrl; %> <%}%> <% if(userOfApps[i].fcmKey_dev!=null){%> <% fcmdb=userOfApps[i].fcmKey_dev; %> <%}%> <% if(userOfApps[i].fcmKey_prod!=null){%> <% fcmdb=userOfApps[i].fcmKey_prod; %> <% if(userOfApps[i].webPush_dev!=null){ web_private_key=userOfApps[i].webPush_dev.privateKey; web_public_key=userOfApps[i].webPush_dev.publicKey; web_subject=userOfApps[i].webPush_dev.subject; } if(userOfApps[i].webPush_prod!=null){ web_private_key=userOfApps[i].webPush_prod.privateKey; web_public_key=userOfApps[i].webPush_prod.publicKey; web_subject=userOfApps[i].webPush_prod.subject; } %> <%}%> <% if(userOfApps[i].iosUrl!=null){%> <% iosUrl=userOfApps[i].iosUrl; %> <%}%> <% if(userOfApps[i].name!=null){%> <% name=userOfApps[i].name; %> <%}%> <% if(userOfApps[i].icon!=null){%> <% icon=userOfApps[i].icon; %> <%}%> <% if(userOfApps[i].category!=null){%> <% category=userOfApps[i].category;%> <%}%> <% if(userOfApps[i].callbackurl) { %> <% callbackurl = userOfApps[i].callbackurl; %> <% } %> <% if(userOfApps[i].url) { %> <% url = userOfApps[i].url; %> <% } %> <% if(userOfApps[i].httpMethod) { %> <% httpMethod = userOfApps[i].httpMethod; %> <% } %> <% if(userOfApps[i].partner) { %> <% partner = userOfApps[i].partner; %> <% } %> <% if(userOfApps[i].channel) { %> <% channel = userOfApps[i].channel; %> <% } %> <% if(userOfApps[i].installs) { %> <% webhook_installs = userOfApps[i].installs; %> <% } %> <% if(userOfApps[i].events) { %> <% webhook_events = userOfApps[i].events; %> <% } %> <% if(userOfApps[i].emailCfg) { %> <% emailCfg = userOfApps[i].emailCfg; %> <% } %> <% if(userOfApps[i].smsCfg) { %> <% smsCfg = userOfApps[i].smsCfg; %> <% } %> <% if(userOfApps[i].isappmodeproduction) { %> <% appmode = userOfApps[i].isappmodeproduction; %> <% } %> <% }%> <% }%> <% include appsettings.html %> <%}%> <%if(action=='audiencesegment'){%> <% include audienceview.html %> <%}%> <%if(action=='userlist'){%> <% include userlist.html %> <%}%> <%if(action=='demographics'){%> <% include demographics.html %> <%}%> <%if(action=='uploadtestdata') {%>
<%}%> <%if(action == "customevents"){%> <% include customevents.html %> <%}%> <%if(action == "insideapp"){%> <% include insideapp.html %> <%}%> <%if(action == "usage"){%> <% include insideapp.html %> <%}%> <%if(action=="createAudSegment" || action == "editSegment"){%> <% include audience.html %> <%}%> <%if(action=="campaigns"){%> <% include campaigns.html %> <%}%> <%if(action=="transactionalCampaigns"){%> <% include campaignsTrans.html %> <%}%> <%if(action=="utmbuilder"){%> <% include utmbuilder.html %> <%}%> <%if(action=="tools" || action=="campaigns"){%> <% include engagementtools.html %> <%}%> <%if (action=="installs"){%> <% include installs.html %> <%}%> <%if (action=="uninstalls"){%> <% include uninstalls.html %> <%}%> <%if (action=="policy"){%> <% include privacypolicy.html %> <%}%> <%if (action=="funnels"){%>
<%}%> <%if (action=="aud"){%>
<%}%> <%if (action=="camp"){%>
<%}%> <%if (action=="module"){%>
<%}%> <%if (action=="otherapps"){%>
<%}%> <%if (action=="childapps"){%>
<%}%> <%if(action=='allusers'){%> <% include users.html %> <%}%> <%if(action=='addusers'){%> <% include addUser.html %> <%}%> <%if(action=='displaypref'){%> <% include displayPref.html %> <%}%> <%if(action=='users'){%>
<%}%> <%if (action=="createchatbot"){%>
<%}%> <%if (action=="insides"){%>
<%}%> <%if (action=="analytics"){%>
<%}%> <%if (action=="aidql"){%>
<%}%> <%if(action=="push"){%>

Push Manager Create and Push Direct Campaigns

Data Table - Default

Create New Campaign
<%}%>
<%if(action=='camp' ){%> <%}%> <%if(action=='dashboard' || action=='insight'){%> <%}%> <%if(action == 'tools' || action =="campaigns" || action =="transactionalCampaigns"){%> <%}%> <%if(action=='displaypref'){%> <%}%> <%if(action=='customevents' || action == 'insideapp'){%> <%}%> <%if(action=='usage' ){%> <%}%> <%if(action == 'audiencesegment' || action =='push' || action=="campaigns" || action =="transactionalCampaigns"){%> <%}%> <%if(action == 'users'){%> <%}%> <%if(action=='funnels' ){%> <%}%> <%if(action=='createchatbot' || action=='insides'){%> <%}%> <%if(action=='aud' ){%> <%}%> <%if(action=='module' ){%> <%}%> <%if(action=='otherapps' ){%> <%}%> <%if(action=='childapps' ){%> <%}%> <%if(action=='demographics'){%> <%}%> <%if(action=='userlist'){%> <%}%> <%if(action=='utmbuilder'){%> <%}%> <%if(action=='create' || action=='createapp'){%> <%}%> <%if(action=='dashboard'){%> <%}%> <%if(action=='insight'){%> <%}%> <%if(action=='oldinstalls' || action=='olduninstalls'){%> <%}%> <%if(action=='installs'){%> <%}%> <%if(action=='uninstalls'){%> <%}%> <%if( action=='allusers' || action=='push' || action =="appsetting"){%> <%}%> <%if( action =="appsetting"){%> <%}%> <%if( action =="allusers"){%> <%}%> <%if(action == 'push'){%> <%}%> <%if(action=='users'){ %> <%}%> <% if(action=="analytics" || action=='aidql') { %> <% } %>