(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 Help center

Untuk Sebarang Pertanyaan Lanjut, Hantar Tiket Anda Di Sini

Pakar sokongan kami bersedia membantu anda dari 08:00 pagi hingga 10:00 malam (GMT+4) setiap hari, termasuk hari cuti umum.

Sila semak halaman Soalan Lazim (FAQ) kami untuk mendapatkan jawapan kepada soalan anda.

Jika anda tidak menemui maklumat yang anda perlukan atau memerlukan bantuan lanjut, sila hantarkan e-mel kepada kami.

Rock-West Help center
Rock-West Cat
Get Rock-West App Now

Start trading securely today

Rock-West Android Application
Rock-West iOS Application
Rock-West Help center

Chat with us

bottom of page