---
id: TASK-51.1
title: 'Phase 2: Fix external service URLs (analytics, maps sync, Twenty CRM)'
status: To Do
assignee: []
created_date: '2026-02-25 07:47'
labels:
  - infrastructure
  - domains
  - migration
dependencies: []
parent_task_id: TASK-51
priority: high
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Update hardcoded references to standalone domains used as service endpoints. Must be done BEFORE Phase 1 redirects to avoid breaking analytics, maps sync, and network module.

Files: website/index.html, website/create-space.html (collect.js), docker-compose.yml (MAPS_SYNC_URL, TWENTY_API_URL), modules/maps/mod.ts, modules/network/mod.ts.

DECISION NEEDED: Is Twenty CRM (rnetwork.online) a separate container or proxied through network module?
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 Analytics collect.js loads from relative path on rspace.online
- [ ] #2 Maps sync WebSocket connects via new URL
- [ ] #3 Network module reaches Twenty CRM without depending on rnetwork.online domain
<!-- AC:END -->
