TriKart


TriKart { if (currentStore.config && currentStore.config.web_url_use_store == 1) { if (withSlash) { return currentStore.code + “/”; } else { return currentStore.code; } } else { if (withSlash) { return “”; } else { return “”; } } } var head = document.getElementsByTagName(‘head’)[0]; var scriptobj = document.createElement(‘script’); var scriptobj1 = document.createElement(‘script’); if (window.getStoreCode() === “qtr_en”) { scriptobj.src = “https://www.googletagmanager.com/gtag/js?id=G-KF7XZH0SWH”; scriptobj1.text = “window.dataLayer = window.dataLayer || [];n” + “function gtag() { dataLayer.push(arguments); }n” + “gtag(‘js’, new Date());n” + “gtag(‘config’, ‘G-KF7XZH0SWH’);n”; } else { scriptobj.src = “https://www.googletagmanager.com/gtag/js?id=UA-160433845-1n”; scriptobj1.text = “window.dataLayer = window.dataLayer || [];n” + “function gtag() { dataLayer.push(arguments); }n” + “gtag(‘js’, new Date());n” + “gtag(‘config’, ‘UA-160433845-1’);n”; } scriptobj.type = ‘text/javascript’; head.appendChild(scriptobj); head.appendChild(scriptobj1); /* if(window.ReactNativeWebView) { window.ReactNativeWebView.postMessage(“hello shankar”) } */ var OneSignal = window.OneSignal || []; OneSignal.push(function () { OneSignal.init({ appId: “f0c517fd-de95-418b-8669-b4a951400a66”, }); }); window.isWebApp = true; window.siteLogo = ‘https://backend.trikart.com/pub/media/logo/webstore_logo.png’;]]>You need to enable JavaScript to run this app. Source