top of page
Info Centre


5 Pro Trader Habits That Prove You’re Doing It Right
The difference between gambling and trading? Professional habits. Here's how to tell if you've graduated from amateur hour. Let's be...
Jun 305 min read
bottom of page
(function() { const utmParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content']; const urlParams = new URLSearchParams(window.location.search); let hasParams = false; utmParams.forEach(param => { const value = urlParams.get(param); if (value) { localStorage.setItem(param, value); hasParams = true; } }); if (hasParams) { console.log('%c✅ UTM-метки сохранены в localStorage.', 'color: green; font-weight: bold;'); if (typeof gtag === 'function') { const eventParams = {}; utmParams.forEach(param => { eventParams[param] = localStorage.getItem(param); }); gtag('event', 'utm_parameters_captured', eventParams); console.log('%c📊 UTM-метки отправлены в GA4 как event utm_parameters_captured', 'color: blue; font-weight: bold;'); } } console.log('%c📦 UTM в localStorage:', 'color: orange; font-weight: bold;'); utmParams.forEach(param => { console.log(`${param}: ${localStorage.getItem(param)}`); }); // Навешиваем обработчик на кнопку регистрации const registerButton = document.querySelector('.StylableButton2545352419__container'); if (registerButton) { registerButton.addEventListener('click', function(e) { e.preventDefault(); let link = registerButton.querySelector('a') ? registerButton.querySelector('a').href : null; if (!link) { console.warn('⚠️ Кнопка не содержит ссылку'); return; } const url = new URL(link); utmParams.forEach(param => { const value = localStorage.getItem(param); if (value) { url.searchParams.set(param, value); } }); console.log('%c➡️ Переход на URL с UTM:', 'color: purple; font-weight: bold;', url.toString()); window.location.href = url.toString(); }); } else { console.warn('⚠️ Кнопка регистрации не найдена'); } })();