Passing parameters to myAPP.com/?myvar=value

Hi everyone,
I’m working on a web app that need to receive some parameters by GET o POST, this means:

External system (Redirect to MyApp+ MyVars)-> Open MyApp

My problems is how to get MyVar inside of MyApp, by the moment, I use the URL to passing myVar and in my Home Component I’m getting the value with: console.log(navCtrl.config.get(“myVar”));

this works fine but only with parameter by the URL and using the prefix ionic like this:
myAPP.com/?ionicmyvar=value

If someone know a better way to do it, or do it by POST message, please let me know.

Thanks, regards.