(function(){
var COOKIE_NAME = 'menthorq_utm_params';
var LS_KEY = 'menthorq_utm_params';
var UTM_KEYS = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','utm_id'];
var CLICK_ID_KEYS = ['gclid','fbclid','msclkid','ttclid'];
var COOKIE_DAYS = 30;// Read UTM parameters and click IDs from current URL
var params = new URLSearchParams(window.location.search);
var trackingData = {};
var hasData = false;
var allKeys = UTM_KEYS.concat(CLICK_ID_KEYS);
for (var i = 0; i < allKeys.length; i++) {
var val = params.get(allKeys[i]);
if (val) {
trackingData[allKeys[i]] = val;
hasData = true;
}
}if (hasData) {
// Fresh tracking data found in URL — store it (overwrites previous attribution)
trackingData.captured_at = new Date().toISOString();
setCookie(COOKIE_NAME, JSON.stringify(trackingData), COOKIE_DAYS);
try { localStorage.setItem(LS_KEY, JSON.stringify(trackingData)); } catch(e) {}
return;
}// No tracking params in URL — check if cookie exists
if (getCookie(COOKIE_NAME)) return;// Cookie is missing (expired or first visit) — try to restore from localStorage
try {
var stored = localStorage.getItem(LS_KEY);
if (stored) {
var parsed = JSON.parse(stored);
if (parsed && (parsed.utm_source || parsed.gclid || parsed.fbclid || parsed.msclkid || parsed.ttclid)) {
setCookie(COOKIE_NAME, stored, COOKIE_DAYS);
}
}
} catch(e) {}// Helper: set cookie
function setCookie(name, value, days) {
var expires = new Date(Date.now() + days * 864e5).toUTCString();
var cookie = name + '=' + encodeURIComponent(value) + ';expires=' + expires + ';path=/;SameSite=Lax';
if (location.protocol === 'https:') cookie += ';Secure';
document.cookie = cookie;
}// Helper: get cookie value (returns empty string if not found)
function getCookie(name) {
var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
return match ? decodeURIComponent(match[1]) : '';
}
})();
var breeze_prefetch = {"local_url":"https://menthorq.com","ignore_remote_prefetch":"1","ignore_list":["/account/","/login/","/thank-you/","/wp-json/openid-connect/userinfo","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
This product training course is designed to help you master the use of Menthor Q’s data and put it into practice for successful trading. Through a series of hands-on lessons, you’ll learn how to navigate our platform, interpret actionable insights, and apply them to real-world trading scenarios. Whether you’re new to Menthor Q or looking to maximize its potential, this course provides the tools and techniques needed to elevate your investment strategies and achieve your financial goals. Join us and unlock the full power of Menthor Q’s data to enhance your trading performance.
var menthorq_gtm = {"system":{"ajax_url":"https:\/\/menthorq.com\/wp-admin\/admin-ajax.php","nonce":"369163c911","site_url":"https:\/\/menthorq.com","home_url":"https:\/\/menthorq.com","timestamp":1773390401,"environment":"production"},"debug":{"enabled":true,"environment":"production"},"user":[],"container_id":"GTM-599ZCR89"};