Custom domains and *.myshopify.com

pawelsobota
Tourist
5 0 0

Hello,

I'm creating an app that uses ReCaptcha. In Google settings I have to define on what domains ReCaptcha can work. I put there .myshopify.com, but what if my client has a custom domain, will it work or not?

The question is how custom domains are treated, are they equivalent to *.myshopify.com domains?

0 Likes
power777
Tourist
9 0 4

You can get the custom domain of the store from the shop JSON. You probably need to set that for your purposes as the myshopify subdomain is typically not used on the store front.

 

0 Likes