Not working in the field of matter by a button

Hello everyone,

I have created similar button code for one of my domain.
It is working properly.

But when I tried for my sub domain.

I already made the necessary changes in the code for the subdomain.

For example:
URL of http://www.mysite.com/demosite:

This is my subdomain site URL.

Is there any code to also work with sub domains?

Can someone help me.

Thanks in advanced for your help.