How can I add a country code capture in my wix leads forms?

Hi, this is basically I want to know where the leads have come from, I run google ads in different countries and want to track where the lead has been captured.

Is there any particular tracking code that I can install? I have already connected to google analytics but it’s not helping me in tracking the leads I get.

Please let me know any solution to this.

You can use the locale from the wix-window API to get the user’s language and country.

Maybe this will help: About measuring geographic performance .

You should contact Google Ads help /support for additional options and further clarification.

Thanks but is there any way that locale function can help me? I have tried google ads but its difficult to track with them.

Thanks man!! will check the code, but how to get the data once install the API for the Wix form