Uncategorized
By Sumaiya | Published | No Comments
function loadGtagEvents(isGoogleCampaignActive) { if (!isGoogleCampaignActive) { return; } var id = document.getElementById('toi-plus-google-campaign'); if (id) { return; } (function(f, b, e, v, n, t, s) { t = b.createElement(e); t.async = !0; t.defer = !0; t.src = v; t.id = 'toi-plus-google-campaign'; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s); })(f, b, e, ' n, t, s); };
window.TimesApps = window.TimesApps || {};
var TimesApps = window.TimesApps;
TimesApps.toiPlusEvents = function(config) {
var isConfigAvailable = "toiplus_site_settings" in f && "isFBCampaignActive" in f.toiplus_site_settings && "isGoogleCampaignActive" in f.toiplus_site_settings;
var isPrimeUser = window.isPrime;
if (isConfigAvailable && !isPrimeUser) {
loadGtagEvents(f.toiplus_site_settings.isGoogleCampaignActive);
loadFBEvents(f.toiplus_site_settings.isFBCampaignActive);
} else {
var JarvisUrl="
window.getFromClient(JarvisUrl, function(config){
if (config) {
loadGtagEvents(config?.isGoogleCampaignActive);
loadFBEvents(config?.isFBCampaignActive);
}
})
}
};
})(
window,
document,
'script',
);
Follow Us on Google News
Meet Sumaiya, a dedicated blog writer and tech maven with a Bachelor's degree in Computer Science. Her journey in the world of technology is a captivating exploration of code, creativity, and cutting-edge concepts.Armed with a B.Tech in Computer Science, Sumaiya dives into the intricacies of the digital realm with a passion for unraveling complex ideas. Through her blogs, she effortlessly blends technical expertise with a flair for storytelling, making even the most intricate topics accessible to a wide audience.