Reusables do not know what page they are on.
Three ways to communicate with them:
- Custom states inside the RE. These states are accesible from the page if the RE is somewhere on the page (exception: if the RE is inside a repeating group; if so place a 2nd RE outside of the RG)
- Url parameters. They can send and can read url parameters
- Custom events. Create them inside the RE and access them through the action “trigger a reusable element’s custom event” (or something similar)
Hope this helps