> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: siteWindow.getRouterData() # Method Link: https://dev.wix.com/docs/sdk/frontend-modules/window/get-router-data.md # Method Description: Retrieves the data sent by a router to a page as part of its response. When you define a router and its functionality in the router() method, you can include data in the router's response. This data can then be accessed in the code of the routed page by calling the getRouterData() method. If you call this method from a non-router page or a router page that wasn't sent any data, the method returns `null`. # Method Permissions: # Method Permissions Scopes IDs: undefined # Method Code Examples: ## Get the data sent by a router ```javascript import { window } from '@wix/site-window'; // ... let routerData = await window.getRouterData(); ```