Add after-hours callbacks and persistent ad attribution to all four landings
- The callback dialog switches its copy outside business hours (shared/business-hours.ts); such leads get a "нерабочее время" tag, a marker in the deal name and a line in the note in amoCRM. - utm_*, yclid and gclid are read on page load and kept for 30 days (src/lib/attribution.ts), last tagged visit wins, and are sent with every lead. - The callback dialog is rebuilt: focus trap, focus return, phone masking and a full-number check. - fitnes drops the floating MobileCta; header and mobile bars follow the new dialog state in the other three. - Add the latest design mockups under legacy/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
56ff5839b8
commit
a61d53962a
145 files changed
+9242
-523
No files matched your search
@@ -0,0 +1,27 @@
|
||||
EXO Hotel — server codebase v7
|
||||
|
||||
Upload the contents of this folder to the target web directory while preserving the structure:
|
||||
- index.html
|
||||
- styles.css
|
||||
- script.js
|
||||
- assets/
|
||||
|
||||
Lead form endpoint used by the page: /api/leads/hotels
|
||||
Phone: +7 927 789-60-71
|
||||
|
||||
|
||||
v8 changes:
|
||||
- Area range updated to 12–36 m².
|
||||
- Added anchor scroll offsets for fixed header.
|
||||
- Improved CTA text contrast.
|
||||
- Refined mobile heading sizes and narrow-screen header spacing.
|
||||
|
||||
|
||||
## Обновление UTM v1
|
||||
|
||||
Добавлен файл `attribution.js`. Для обновления обязательно загрузите его вместе с `index.html` и `script.js`. Стили и assets не изменены.
|
||||
Метки захватываются при открытии, хранятся до 30 дней и передаются в корне JSON всеми существующими лид-формами. Полная инструкция: `UTM_INTEGRATION.md`. Серверный обработчик/CRM в комплект не входят.
|
||||
|
||||
|
||||
## After-hours callback
|
||||
Рабочее время для прямого звонка: Пн–Пт 09:00–18:00, Europe/Samara. Вне этого времени любые tel:-ссылки открывают форму обратного звонка; заявки получают lead_type=callback_after_hours. Настройки находятся в business-hours.js.
|
||||
Reference in new issue
Block a user