(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
The Foreign Exchange market represents the world’s largest and most liquid financial market, with daily trading volumes exceeding six trillion dollars across major currency pairs and emerging market crosses. Forex trading offers unique advantages including near-continuous market access, high liquidity, and the ability to profit from both rising and falling currencies through pair trading dynamics. MenthorQ extends its quantitative analysis framework to forex markets, providing options-based insights including gamma levels and implied volatility analysis for major currency pairs. Our tools help forex traders understand how large options positioning at key strikes can create gravitational price zones, while our volatility analytics identify opportunities when currency options are mispriced relative to realized market movements.