Embed PowerApp in SharePoint Online page and get URL

I’m considering creating a single PowerApp application and embed it in a SharePoint Site. The SHarePoint site will be provisioned through a workflow and the PowerApp will be added to the site through the workflow also.

I want the PowerApp to pickup the SharePoint Site URL its embedded on and then filter data accordingly but I cannot find a way to get PowerAPp to read the URL. Reading an old blog (2019) it states its not possible – https://powerusers.microsoft.com/t5/Building-Power-Apps/Get-SharePoint-Online-Site-Page-URL-in-PowerApp/td-p/412612

Is this still the case and are there any workarounds?

Thanks in advance.