Problem
content/en/real_user_monitoring/guide/monitor-your-nextjs-app-with-rum.md hardcodes site: 'datadoghq.com' and the US1 CDN URL (https://www.datadoghq-browser-agent.com/us1/v6/datadog-rum.js) in all code examples, regardless of which Datadog Site is selected in the page selector.
This might lead to errors when copy-pasting the init block, even with the proper Datadog Site selected in the UI.
Affected code blocks (6 total across App Router and Pages Router sections):
- npm tabs:
site: "datadoghq.com" hardcoded
- CDN async tabs: hardcoded
site: + US1 CDN URL
- CDN sync tabs: hardcoded
site: + US1 CDN URL
Proposed fix
Convert the file from .md to .mdoc.md format, consistent with proxy-rum-data.mdoc.md and client.mdoc.md. This allows using {% region-param key="dd_site" /%} directly inside code blocks, keeping a single code block per tab instead of duplicating content across all 7 regions.