(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('⚠️ Кнопка регистрации не найдена'); } })();
top of page

Rock-West 信息中心

此語言尚未有已發佈之文章
文章發佈後將於此處顯示。
RW_cat_gold.png

立即下载 Rock-West 应用

今天就开始安全交易

Download on the App Store
Download on the App Store

如有更多问题,请在此提交您的工单

我们的支持专员每天为您提供服务,
服务时间为每天 08:00 – 22:00(GMT+4),包括节假日。

如您有疑问,建议先访问我们的 [常见问题(FAQ)] 页面,
获取快速解答。

若您未能找到所需信息,或需要进一步帮助,
欢迎随时通过邮件与我们联系。

bottom of page