Prevent MT4 from modifying the URL in link property when user click it

 

Hi all.

Is there a way to prevent MT4 from modifying the URL specified in the link property (#property link) when the user click it through the indicator's About tab? It messes up the URL by adding some parameters behind the URL.

Thanks.

 
spectra9:

Hi all.

Is there a way to prevent MT4 from modifying the URL specified in the link property (#property link) when the user click it through the indicator's About tab? It messes up the URL by adding some parameters behind the URL.

Thanks.

It adds the 'source' parameter. How does this mess up your URL? Please provide an example.
 
spectra9:

Hi all.

Is there a way to prevent MT4 from modifying the URL specified in the link property (#property link) when the user click it through the indicator's About tab? It messes up the URL by adding some parameters behind the URL.

Thanks.

You have to as directly to Metaquotes : Write to ServiceDesk.

However, I doubt they will change it, anyway, why it bothers you ?

 

Thanks for the response.

I was trying to put a link to my Paypal donate account, and the added parameters mess up the URL. I know I can put the link somewhere else, but it just seem convenient for the user to just click on that link.

However, I also find out that other site may also be affected by this, for example http://www.kaskus.co.id. With the added parameters it'll become http://www.kaskus.co.id/?utm_campaign=MetaTrader%204%20Terminal&utm_medium=special&utm_source=mt4terminal%20indicator%20properties and as you can see it end up in a 404 error instead of the proper page.

Why does Metatrader do this anyway, anyone know what's the purpose of the added parameters? I suppose I can try writing to service desk, but like you, I doubt they'll do anything about it.

 
spectra9:

Thanks for the response.

I was trying to put a link to my Paypal donate account, and the added parameters mess up the URL. I know I can put the link somewhere else, but it just seem convenient for the user to just click on that link.

However, I also find out that other site may also be affected by this, for example http://www.kaskus.co.id. With the added parameters it'll become http://www.kaskus.co.id/?utm_campaign=MetaTrader%204%20Terminal&utm_medium=special&utm_source=mt4terminal%20indicator%20properties and as you can see it end up in a 404 error instead of the proper page.

Why does Metatrader do this anyway, anyone know what's the purpose of the added parameters? I suppose I can try writing to service desk, but like you, I doubt they'll do anything about it.

I presume they decided to include all these parameters for your "convenience", as an owner of the site. It is supposed that you can handle all the parameters on server-side and, more importantly, can pass them to Google analytical software - please see -  https://support.google.com/analytics/answer/1033867?hl=en. Nowadays, it seems a very common standard. So you can track all clicks and gather statistics automatically.

You should post a task in the service desk. I think they'll answer you, and may be suggest a workaround. 

URL builder
  • support.google.com
When you enter your URL, you need to escape special characters. For example, if your URL contains a string like , you need to escape the ampersand, and enter that portion of the URL like this:
 
marketeer:

I presume they decided to include all these parameters for your "convenience", as an owner of the site. It is supposed that you can handle all the parameters on server-side and, more importantly, can pass them to Google analytical software - please see -  https://support.google.com/analytics/answer/1033867?hl=en. Nowadays, it seems a very common standard. So you can track all clicks and gather statistics automatically.

You should post a task in the service desk. I think they'll answer you, and may be suggest a workaround. 

Yes, I guess that would make sense. However I think an option should be provided to just the leave the URL intact because one may not have access to the web server pointed to by the URL or simply just do not have the needs/skills to handle these additional parameters at the server side.

I've opened a new request for this through Service Desk and awaiting their response.

Thanks all for your replies and suggestions. 

 
I think it is not of property link fault. It happens with www.kaskus.co.id but not to www.yahoo.com, www.google.co.id, and www.detik.co.id as I already made simulation.
 
belido:
I think it is not of property link fault. It happens with www.kaskus.co.id but not to www.yahoo.com, www.google.co.id, and www.detik.co.id as I already made simulation.
Yes, off course it depends on how the server is handling the request. Unfortunately, Paypal donate URL is one of them. I still think it's reasonable to have the option to leave the URL intact, maybe even as the default. After all, if you're specifying http://www.abcd.com you wouldn't expect it to change to http://www.abcd.com/whatever when clicked
 

I have been using workaround like this:

 

#property link      "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XYEACQ6XYEUK4"

 change to:

#property link      "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XYEACQ6XYEUK4&garbage=" 

Error - Cookies are turned off - PayPal
  • www.paypal.com
PayPal is the safer, easier way to pay online without revealing your credit card number.
 

Nice workaround!. It seems to work for Paypal, although not working still for http://www.kaskus.co.id, probably because it doesn't have any parameters to begin with.

Thanks Ovo, this solves my problem for now :) 

 
spectra9:

Nice workaround!. It seems to work for Paypal, although not working still for http://www.kaskus.co.id, probably because it doesn't have any parameters to begin with.

Thanks Ovo, this solves my problem for now :) 

You may try a hash-tag, for example -  http://www.kaskus.co.id/#fake.
Kaskus - The Largest Indonesian Community
Kaskus - The Largest Indonesian Community
  • KASKUS
  • www.kaskus.co.id
Kaskus Forum - Online community #1 for Indonesian Community
Reason: