Is there a way to transfer a parameter from one WIX site to another WIX site?

Assume I’m in WIX site “A” and I use the wixLocation to 'WIX site “B”, but I also want to transfer from site A" a parameter to site “B”. Is there a way to do that?

You can pass a value to your “Site B” by adding a query to the URL in wixLocation.to() , something like this:
https://www.site-b.com/page?key=value

On the page in “Site B”, you can get the value using the query property:
let query = wixLocation.query; // {“key”: “value”}

Tanks a lot in advance. I will check it and let you know if it’s wok.